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

@@ -54,7 +54,7 @@ int do_truncate(struct user_namespace *mnt_userns, struct dentry *dentry,
}
/* Remove suid, sgid, and file capabilities on truncate too */
ret = dentry_needs_remove_privs(mnt_userns, dentry);
ret = dentry_needs_remove_privs(dentry);
if (ret < 0)
return ret;
if (ret)