aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2022-10-17 17:06:35 +0200
committerChristian Brauner (Microsoft) <brauner@kernel.org>2022-10-18 10:09:46 +0200
commite243e3f94c804ecca9a8241b5babe28f35258ef4 (patch)
treefc09ac739fbc79f29e93facad741477ec38b84be /scripts/generate_rust_analyzer.py
parentattr: add in_group_or_capable() (diff)
downloadlinux-rng-e243e3f94c804ecca9a8241b5babe28f35258ef4.tar.xz
linux-rng-e243e3f94c804ecca9a8241b5babe28f35258ef4.zip
fs: move should_remove_suid()
Move the helper from inode.c to attr.c. This keeps the the core of the set{g,u}id stripping logic in one place when we add follow-up changes. It is the better place anyway, since should_remove_suid() returns ATTR_KILL_S{G,U}ID flags. Reviewed-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Christian Brauner (Microsoft) <brauner@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions