[PATCH v3 2/4] fs: Introduce task path helpers

sashiko-bot at kernel.org sashiko-bot at kernel.org
Sat Oct 10 10:30:17 UTC 2026


> From: Chen Linxuan <me at black-desk.cn>
> 
> Introduce helpers that acquire a referenced struct path for a task's
> executable, root, and working directory. Reuse them for procfs task
> links and AppArmor executable-path handling instead of duplicating file
> and path reference handling at each call site.
> 
> Assisted-by: LLM
> Signed-off-by: Chen Linxuan <me at black-desk.cn>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261010-pidfd-get-paths-v3-0-f245440b2b30@black-desk.cn?part=2




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