Home
last modified time | relevance | path

Searched refs:CAP_CHOWN (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/fs/
Dattr.c40 if (capable_wrt_inode_uidgid(mnt_userns, inode, CAP_CHOWN)) in chown_ok()
43 ns_capable(inode->i_sb->s_user_ns, CAP_CHOWN)) in chown_ok()
71 if (capable_wrt_inode_uidgid(mnt_userns, inode, CAP_CHOWN)) in chgrp_ok()
74 ns_capable(inode->i_sb->s_user_ns, CAP_CHOWN)) in chgrp_ok()
/linux-6.1.9/include/uapi/linux/
Dcapability.h113 #define CAP_CHOWN 0 macro
/linux-6.1.9/include/linux/
Dcapability.h69 # define CAP_FS_MASK_B0 (CAP_TO_MASK(CAP_CHOWN) \
/linux-6.1.9/fs/ocfs2/
Drefcounttree.c4361 if (!uid_eq(current_fsuid(), inode->i_uid) && !capable(CAP_CHOWN)) in ocfs2_vfs_reflink()
4363 if (!in_group_p(inode->i_gid) && !capable(CAP_CHOWN)) in ocfs2_vfs_reflink()