Lines Matching refs:kill
1960 int kill = 0; in should_remove_suid() local
1964 kill = ATTR_KILL_SUID; in should_remove_suid()
1971 kill |= ATTR_KILL_SGID; in should_remove_suid()
1973 if (unlikely(kill && !capable(CAP_FSETID) && S_ISREG(mode))) in should_remove_suid()
1974 return kill; in should_remove_suid()
2004 struct dentry *dentry, int kill) in __remove_privs() argument
2008 newattrs.ia_valid = ATTR_FORCE | kill; in __remove_privs()
2021 int kill; in __file_remove_privs() local
2026 kill = dentry_needs_remove_privs(dentry); in __file_remove_privs()
2027 if (kill < 0) in __file_remove_privs()
2028 return kill; in __file_remove_privs()
2030 if (kill) { in __file_remove_privs()
2034 error = __remove_privs(file_mnt_user_ns(file), dentry, kill); in __file_remove_privs()