Home
last modified time | relevance | path

Searched refs:capable_wrt_inode_uidgid (Results 1 – 13 of 13) sorted by relevance

/linux-5.19.10/fs/
Dattr.c40 if (capable_wrt_inode_uidgid(mnt_userns, inode, CAP_CHOWN)) in chown_ok()
73 if (capable_wrt_inode_uidgid(mnt_userns, inode, CAP_CHOWN)) in chgrp_ok()
145 !capable_wrt_inode_uidgid(mnt_userns, inode, CAP_FSETID)) in setattr_prepare()
261 !capable_wrt_inode_uidgid(mnt_userns, inode, CAP_FSETID)) in setattr_copy()
Dposix_acl.c703 !capable_wrt_inode_uidgid(mnt_userns, inode, CAP_FSETID)) in posix_acl_update_mode()
Dnamei.c411 if (capable_wrt_inode_uidgid(mnt_userns, inode, in generic_permission()
414 if (capable_wrt_inode_uidgid(mnt_userns, inode, in generic_permission()
425 if (capable_wrt_inode_uidgid(mnt_userns, inode, in generic_permission()
434 if (capable_wrt_inode_uidgid(mnt_userns, inode, in generic_permission()
2913 return !capable_wrt_inode_uidgid(mnt_userns, inode, CAP_FOWNER); in __check_sticky()
Dinode.c2251 !capable_wrt_inode_uidgid(mnt_userns, dir, CAP_FSETID)) in inode_init_owner()
/linux-5.19.10/kernel/
Dcapability.c505 bool capable_wrt_inode_uidgid(struct user_namespace *mnt_userns, in capable_wrt_inode_uidgid() function
513 EXPORT_SYMBOL(capable_wrt_inode_uidgid);
/linux-5.19.10/fs/fuse/
Dacl.c102 !capable_wrt_inode_uidgid(&init_user_ns, inode, CAP_FSETID)) in fuse_set_acl()
/linux-5.19.10/include/linux/
Dcapability.h253 bool capable_wrt_inode_uidgid(struct user_namespace *mnt_userns,
/linux-5.19.10/fs/f2fs/
Dacl.c223 !capable_wrt_inode_uidgid(mnt_userns, inode, CAP_FSETID)) in f2fs_acl_update_mode()
Dfile.c878 if (!in_group_p(kgid) && !capable_wrt_inode_uidgid(mnt_userns, inode, CAP_FSETID)) in __setattr_copy()
/linux-5.19.10/security/
Dcommoncap.c557 if (!capable_wrt_inode_uidgid(mnt_userns, inode, CAP_SETFCAP)) in cap_convert_nscap()
1051 if (!capable_wrt_inode_uidgid(mnt_userns, inode, CAP_SETFCAP)) in cap_inode_removexattr()
/linux-5.19.10/fs/overlayfs/
Dsuper.c1055 !capable_wrt_inode_uidgid(&init_user_ns, inode, CAP_FSETID)) { in ovl_posix_acl_xattr_set()
/linux-5.19.10/fs/xfs/
Dxfs_ioctl.c1372 !capable_wrt_inode_uidgid(mnt_userns, VFS_I(ip), CAP_FSETID)) in xfs_fileattr_set()
/linux-5.19.10/fs/ceph/
Dfile.c662 !capable_wrt_inode_uidgid(&init_user_ns, dir, CAP_FSETID)) in ceph_finish_async_create()