[PATCH 12/13] ptrace: use cred_ids_allow_control()

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


> __ptrace_may_access() picks the filesystem or the real uid and gid of the
> caller by its mode and wants them to be all three of the uids and gids of
> the target. Say which ids it is and 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=12




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