summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2022-10-18 10:13:47 +0200
committerChristian Brauner (Microsoft) <brauner@kernel.org>2022-10-18 10:13:47 +0200
commitb4dd412d4a6231de100ae8ce2a9e1ed649f9e748 (patch)
tree0f6c78c0bbc33fd39541976939755919f3d3bb56 /include/linux
parent9abf2313adc1ca1b6180c508c25f22f9395cc780 (diff)
parent23a8ce16419a3066829ad4a8b7032a75817af65b (diff)
Merge branch 'fs.ovl.setgid' into for-next
* fs.ovl.setgid: ovl: remove privs in ovl_fallocate() ovl: remove privs in ovl_copyfile() attr: use consistent sgid stripping checks attr: add setattr_should_drop_sgid() fs: move should_remove_suid() attr: add in_group_or_capable()
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index e654435f1651..b39c5efca180 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -3104,7 +3104,7 @@ extern void __destroy_inode(struct inode *);
extern struct inode *new_inode_pseudo(struct super_block *sb);
extern struct inode *new_inode(struct super_block *sb);
extern void free_inode_nonrcu(struct inode *inode);
-extern int should_remove_suid(struct dentry *);
+extern int setattr_should_drop_suidgid(struct user_namespace *, struct inode *);
extern int file_remove_privs(struct file *);
/*