[PATCH 07/13] sys: use cred_ids_allow_sched() for setpriority()

sashiko-bot at kernel.org sashiko-bot at kernel.org
Sun Oct 18 17:34:48 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.
> 
> 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=7




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