[PATCH 02/13] cred: add KUnit tests for the id rules

sashiko-bot at kernel.org sashiko-bot at kernel.org
Sun Oct 18 17:34:21 UTC 2026


> Hold each of the new functions against the expression it is about to
> replace, word for word as it stands where it is used, for every
> combination of a few ids, 0 among them: 729 combinations of three uids
> each for subject and object, and 4096 of the twelve ids that
> cred_ids_allow_control() can look at.
> 
> That the conversions which follow change nothing then does not have to be
> taken on trust.
> 
> Assisted-by: LLM
> Signed-off-by: Josef Bacik <josef at toxicpanda.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261018-b4-cred-ids-v1-0-7bdf2db4ea9f@toxicpanda.com?part=2




More information about the Linux-security-module-archive mailing list