Revert "FROMLIST: Add flags option to get xattr method paired to..."

Revert submission 1881578

Reason for revert: broken build in CI
Reverted Changes:
Id2c6fa6ee:FROMLIST: Add flags option to get xattr method pai...
Ifa966dabd:FROMLIST: overlayfs: inode_owner_or_capable called...
I46e6c74ff:FROMLIST: overlayfs: override_creds=off option byp...
I0b8fe9f1f:FROMLIST: overlayfs: handle XATTR_NOSECURITY flag ...

Change-Id: Ic4f9a8dd92dc492ed0a474c783497ec525f1c762
Signed-off-by: David Anderson <dvander@google.com>
This commit is contained in:
David Anderson
2021-11-19 18:00:53 +00:00
parent df1cc768a5
commit e884438aa5
59 changed files with 119 additions and 179 deletions

View File

@@ -1403,10 +1403,9 @@ int security_inode_removexattr(struct user_namespace *mnt_userns,
return evm_inode_removexattr(mnt_userns, dentry, name);
}
int security_inode_need_killpriv(struct user_namespace *mnt_userns,
struct dentry *dentry)
int security_inode_need_killpriv(struct dentry *dentry)
{
return call_int_hook(inode_need_killpriv, 0, mnt_userns, dentry);
return call_int_hook(inode_need_killpriv, 0, dentry);
}
int security_inode_killpriv(struct user_namespace *mnt_userns,