[PATCH v2 07/13] sys: use cred_ids_allow_sched() for setpriority()
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Wed Nov 4 14:28:01 UTC 2026
> set_one_prio_perm() makes the two comparisons of check_same_owner(),
> written the other way around. Use the library.
>
> No functional change.
>
> 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=7
More information about the Linux-security-module-archive
mailing list