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

sashiko-bot at kernel.org sashiko-bot at kernel.org
Wed Nov 4 14:28:12 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.
> 
> 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/20261104-b4-cred-ids-v2-0-956213608f16@toxicpanda.com?part=2




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