Home
last modified time | relevance | path

Searched refs:S_ISGID (Results 1 – 25 of 25) sorted by relevance

/linux/tools/perf/trace/beauty/
H A Dmode_t.c11 #define S_IALLUGO (S_ISUID|S_ISGID|S_ISVTX|S_IRWXUGO)
/linux/tools/testing/selftests/capabilities/
H A Dtest_execve.c246 if (chmod("validate_cap_sgidroot", S_ISGID | 0710) != 0) in do_tests()
253 if (chmod("validate_cap_sgidnonroot", S_ISGID | 0710) != 0) in do_tests()
/linux/include/uapi/linux/
H A Dstat.h18 #define S_ISGID 0002000 macro
/linux/tools/include/uapi/linux/
H A Dstat.h18 #define S_ISGID 0002000 macro
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dstat.h18 #define S_ISGID 0002000 macro
/linux/fs/configfs/
H A Dinode.c81 mode &= ~S_ISGID; in configfs_setattr()
/linux/fs/orangefs/
H A Dorangefs-utils.c128 perm_mode |= S_ISGID; in orangefs_inode_perms()
545 S_ISGID, S_ISUID in ORANGEFS_util_translate_mode()
/linux/fs/f2fs/
H A Dacl.c224 mode &= ~S_ISGID; in f2fs_acl_update_mode()
/linux/fs/smb/client/
H A Dinode.c697 #define SFBITS_MASK (S_ISVTX | S_ISGID | S_ISUID) /* SETFILEBITS valid bits */
788 mode |= (wire & POSIX_SET_GID) ? S_ISGID : 0; in wire_perms_to_posix()
2138 if (parent->i_mode & S_ISGID)
2139 mode |= S_ISGID;
2153 if (parent->i_mode & S_ISGID)
2178 if (inode->i_mode & S_ISGID)
H A Ddir.c404 if (dir->i_mode & S_ISGID)
443 if (dir->i_mode & S_ISGID)
/linux/fs/xfs/
H A Dxfs_inode.h554 (xfs_has_grpid((pip)->i_mount) || (VFS_I(pip)->i_mode & S_ISGID))
/linux/fs/xfs/scrub/
H A Dorphanage.c76 inode->i_mode &= ~(S_ISUID | S_ISGID | S_ISVTX); in xrep_chown_orphanage()
H A Dinode_repair.c1748 VFS_I(sc->ip)->i_mode &= ~(S_ISUID | S_ISGID); in xrep_inode_ids()
/linux/fs/kernfs/
H A Ddir.c736 if (parent->mode & S_ISGID) { in kernfs_new_node()
745 mode |= S_ISGID; in kernfs_new_node()
/linux/security/tomoyo/
H A Dcondition.c895 value = S_ISGID; in tomoyo_condition()
/linux/fs/
H A Dposix_acl.c719 mode &= ~S_ISGID; in posix_acl_update_mode()
H A Dnamei.c1326 if ((mode & (S_ISGID | S_IXGRP)) == (S_ISGID | S_IXGRP)) in safe_hardlink_source()
/linux/fs/nfs/
H A Dinternal.h716 if (unlikely((mode & S_ISGID) && (mode & S_IXGRP))) in nfs_should_remove_suid()
H A Dinode.c862 inode->i_mode &= ~S_ISGID; in nfs_setattr_update_inode()
/linux/tools/testing/selftests/bpf/progs/
H A Dprofiler.inc.h32 #define S_ISGID 0002000 macro
/linux/fs/ocfs2/
H A Dfile.c1407 if ((inode->i_mode & S_ISGID) && (inode->i_mode & S_IXGRP)) in __ocfs2_write_remove_suid()
1408 inode->i_mode &= ~S_ISGID; in __ocfs2_write_remove_suid()
/linux/fs/udf/
H A Dinode.c1685 ((flags & ICBTAG_FLAG_SETGID) ? S_ISGID : 0) | in udf_convert_permissions()
1915 ((inode->i_mode & S_ISGID) ? ICBTAG_FLAG_SETGID : 0) | in udf_update_inode()
/linux/fs/ceph/
H A Dfile.c721 if (dir->i_mode & S_ISGID) { in ceph_finish_async_create()
726 mode |= S_ISGID; in ceph_finish_async_create()
/linux/fs/btrfs/
H A Dtree-checker.c1187 u32 valid_mask = (S_IFMT | S_ISUID | S_ISGID | S_ISVTX | 0777); in check_inode_item()
/linux/fs/proc/
H A Dbase.c2055 inode->i_mode &= ~(S_ISUID | S_ISGID); in pid_update_inode()