| /linux/tools/perf/trace/beauty/ |
| H A D | mode_t.c | 13 #define S_IALLUGO (S_ISUID|S_ISGID|S_ISVTX|S_IRWXUGO)
|
| /linux/tools/testing/selftests/capabilities/ |
| H A D | test_execve.c | 246 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 D | stat.h | 18 #define S_ISGID 0002000 macro
|
| /linux/tools/include/uapi/linux/ |
| H A D | stat.h | 18 #define S_ISGID 0002000 macro
|
| /linux/tools/perf/trace/beauty/include/uapi/linux/ |
| H A D | stat.h | 18 #define S_ISGID 0002000 macro
|
| /linux/fs/9p/ |
| H A D | vfs_inode_dotl.c | 40 * new file system object. This checks the S_ISGID to determine the owning 48 if (dir_inode->i_mode & S_ISGID) { in v9fs_get_fsgid_for_create() 366 if (dir->i_mode & S_ISGID) in v9fs_vfs_mkdir_dotl() 367 omode |= S_ISGID; in v9fs_vfs_mkdir_dotl()
|
| H A D | vfs_inode.c | 66 if ((mode & S_ISGID) == S_ISGID) in unixmode2p9mode() 92 res |= S_ISGID; in p9mode2perm()
|
| /linux/fs/configfs/ |
| H A D | inode.c | 81 mode &= ~S_ISGID; in configfs_setattr()
|
| /linux/fs/ |
| H A D | inode.c | 2727 if (dir && dir->i_mode & S_ISGID) { 2730 /* Directories are special, and always inherit S_ISGID */ in inode_dio_wait() 2732 mode |= S_ISGID; in inode_dio_wait() 3057 * If the @mode of the new file has both the S_ISGID and S_IXGRP bit in dump_inode() 3058 * raised and @dir has the S_ISGID bit raised ensure that the caller is in dump_inode() 3061 * In all other cases, strip the S_ISGID bit from @mode. 3068 if ((mode & (S_ISGID | S_IXGRP)) != (S_ISGID | S_IXGRP)) 3070 if (S_ISDIR(mode) || !dir || !(dir->i_mode & S_ISGID)) 3074 return mode & ~S_ISGID; [all...] |
| H A D | posix_acl.c | 719 mode &= ~S_ISGID; in posix_acl_update_mode()
|
| /linux/fs/orangefs/ |
| H A D | orangefs-utils.c | 128 perm_mode |= S_ISGID; in orangefs_inode_perms() 545 S_ISGID, S_ISUID in ORANGEFS_util_translate_mode()
|
| /linux/fs/xfs/ |
| H A D | xfs_pnfs.c | 108 VFS_I(ip)->i_mode &= ~S_ISGID; in xfs_fs_map_blocks()
|
| H A D | xfs_inode.h | 553 * For multiple groups support: if S_ISGID bit is set in the parent 555 * new subdirectory gets S_ISGID bit from parent. 558 (xfs_has_grpid((pip)->i_mount) || (VFS_I(pip)->i_mode & S_ISGID))
|
| H A D | xfs_ioctl.c | 835 if ((VFS_I(ip)->i_mode & (S_ISUID|S_ISGID)) && in xfs_fileattr_set() 837 VFS_I(ip)->i_mode &= ~(S_ISUID|S_ISGID); in xfs_fileattr_set()
|
| /linux/fs/f2fs/ |
| H A D | acl.c | 238 mode &= ~S_ISGID; in __f2fs_set_acl()
|
| /linux/fs/smb/client/ |
| H A D | inode.c | 714 #define SFBITS_MASK (S_ISVTX | S_ISGID | S_ISUID) /* SETFILEBITS valid bits */ in cifs_sfu_mode() 805 mode |= (wire & POSIX_SET_GID) ? S_ISGID : 0; in wire_filetype_to_posix() 2158 if (parent->i_mode & S_ISGID) 2159 mode |= S_ISGID; 2173 if (parent->i_mode & S_ISGID) 2198 if (inode->i_mode & S_ISGID)
|
| H A D | dir.c | 410 if (dir->i_mode & S_ISGID) 449 if (dir->i_mode & S_ISGID)
|
| /linux/fs/xfs/scrub/ |
| H A D | orphanage.c | 76 inode->i_mode &= ~(S_ISUID | S_ISGID | S_ISVTX); in xrep_chown_orphanage()
|
| H A D | inode_repair.c | 1752 VFS_I(sc->ip)->i_mode &= ~(S_ISUID | S_ISGID); in xrep_clamp_timestamp()
|
| /linux/fs/kernfs/ |
| H A D | dir.c | 739 if (parent->mode & S_ISGID) { in kernfs_new_node() 748 mode |= S_ISGID; in kernfs_new_node()
|
| /linux/security/tomoyo/ |
| H A D | condition.c | 895 value = S_ISGID; in tomoyo_condition()
|
| /linux/fs/nfs/ |
| H A D | internal.h | 720 if (unlikely((mode & S_ISGID) && (mode & S_IXGRP))) in nfs_should_remove_suid()
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | profiler.inc.h | 32 #define S_ISGID 0002000 macro
|
| /linux/fs/ocfs2/ |
| H A D | file.c | 1412 if ((inode->i_mode & S_ISGID) && (inode->i_mode & S_IXGRP)) in __ocfs2_write_remove_suid() 1413 inode->i_mode &= ~S_ISGID; in __ocfs2_write_remove_suid()
|
| /linux/fs/udf/ |
| H A D | inode.c | 1685 ((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()
|