Home
last modified time | relevance | path

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

/linux-6.6.21/fs/
Dattr.c105 if (capable_wrt_inode_uidgid(idmap, inode, CAP_CHOWN)) in chown_ok()
108 ns_capable(inode->i_sb->s_user_ns, CAP_CHOWN)) in chown_ok()
136 if (capable_wrt_inode_uidgid(idmap, inode, CAP_CHOWN)) in chgrp_ok()
139 ns_capable(inode->i_sb->s_user_ns, CAP_CHOWN)) in chgrp_ok()
/linux-6.6.21/include/uapi/linux/
Dcapability.h114 #define CAP_CHOWN 0 macro
/linux-6.6.21/include/linux/
Dcapability.h57 # define CAP_FS_MASK (BIT_ULL(CAP_CHOWN) \
/linux-6.6.21/fs/ocfs2/
Drefcounttree.c4362 if (!uid_eq(current_fsuid(), inode->i_uid) && !capable(CAP_CHOWN)) in ocfs2_vfs_reflink()
4364 if (!in_group_p(inode->i_gid) && !capable(CAP_CHOWN)) in ocfs2_vfs_reflink()