[RFC PATCH 1/2] security: Add hook for unresolved pathname opens

sashiko-bot at kernel.org sashiko-bot at kernel.org
Fri Nov 20 10:00:31 UTC 2026


> Check the copied pathname against the selected base before traversal or
> file changes, including O_PATH and O_TMPFILE.
> 
> Pass lookup flags so policy can request a referenced retry. Recheck the
> base after each restart and cover kernel opens with an explicit root.
> 
> Signed-off-by: Anastasios Papagiannis <tasos.papagiannnis at gmail.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261120094820.11929-1-tasos.papagiannnis@gmail.com?part=1




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