S_ISGID 78 fs/9p/vfs_inode.c if ((mode & S_ISGID) == S_ISGID) S_ISGID 123 fs/9p/vfs_inode.c res |= S_ISGID; S_ISGID 50 fs/attr.c attr->ia_mode &= ~S_ISGID; S_ISGID 94 fs/attr.c mode &= ~S_ISGID; S_ISGID 151 fs/attr.c if ((mode & (S_ISGID | S_IXGRP)) == (S_ISGID | S_IXGRP)) { S_ISGID 156 fs/attr.c attr->ia_mode &= ~S_ISGID; S_ISGID 109 fs/bfs/dir.c inode->i_gid = (dir->i_mode & S_ISGID) ? dir->i_gid : current->fsgid; S_ISGID 829 fs/cifs/connect.c vol->file_mode = (S_IRWXUGO | S_ISGID) & (~S_IXGRP); S_ISGID 239 fs/cifs/dir.c if (inode->i_mode & S_ISGID) S_ISGID 275 fs/cifs/dir.c if (inode->i_mode & S_ISGID) S_ISGID 348 fs/cifs/inode.c #define SFBITS_MASK (S_ISVTX | S_ISGID | S_ISUID) /* SETFILEBITS valid bits */ S_ISGID 1090 fs/cifs/inode.c if (inode->i_mode & S_ISGID) S_ISGID 1091 fs/cifs/inode.c mode |= S_ISGID; S_ISGID 1103 fs/cifs/inode.c if (inode->i_mode & S_ISGID) S_ISGID 1144 fs/cifs/inode.c if (inode->i_mode & S_ISGID) S_ISGID 110 fs/configfs/inode.c mode &= ~S_ISGID; S_ISGID 1071 fs/exec.c if ((mode & (S_ISGID | S_IXGRP)) == (S_ISGID | S_IXGRP)) { S_ISGID 556 fs/ext2/ialloc.c else if (dir->i_mode & S_ISGID) { S_ISGID 559 fs/ext2/ialloc.c mode |= S_ISGID; S_ISGID 545 fs/ext3/ialloc.c else if (dir->i_mode & S_ISGID) { S_ISGID 548 fs/ext3/ialloc.c mode |= S_ISGID; S_ISGID 791 fs/ext4/ialloc.c else if (dir->i_mode & S_ISGID) { S_ISGID 794 fs/ext4/ialloc.c mode |= S_ISGID; S_ISGID 714 fs/gfs2/inode.c if (dip->i_inode.i_mode & S_ISGID) { S_ISGID 716 fs/gfs2/inode.c *mode |= S_ISGID; S_ISGID 549 fs/hugetlbfs/inode.c if (dir->i_mode & S_ISGID) { S_ISGID 552 fs/hugetlbfs/inode.c mode |= S_ISGID; S_ISGID 586 fs/hugetlbfs/inode.c if (dir->i_mode & S_ISGID) S_ISGID 445 fs/jffs2/fs.c if (dir_i->i_mode & S_ISGID) { S_ISGID 448 fs/jffs2/fs.c mode |= S_ISGID; S_ISGID 97 fs/jfs/jfs_inode.c if (parent->i_mode & S_ISGID) { S_ISGID 100 fs/jfs/jfs_inode.c mode |= S_ISGID; S_ISGID 266 fs/minix/bitmap.c inode->i_gid = (dir->i_mode & S_ISGID) ? dir->i_gid : current->fsgid; S_ISGID 125 fs/minix/namei.c if (dir->i_mode & S_ISGID) S_ISGID 126 fs/minix/namei.c inode->i_mode |= S_ISGID; S_ISGID 376 fs/nfsd/vfs.c iap->ia_mode &= ~S_ISGID; S_ISGID 1010 fs/nfsd/vfs.c if (host_err >= 0 && (inode->i_mode & (S_ISUID | S_ISGID))) S_ISGID 408 fs/ocfs2/dlm/dlmfs.c if (parent->i_mode & S_ISGID) { S_ISGID 411 fs/ocfs2/dlm/dlmfs.c inode->i_mode |= S_ISGID; S_ISGID 1073 fs/ocfs2/file.c if ((inode->i_mode & S_ISGID) && (inode->i_mode & S_IXGRP)) S_ISGID 1074 fs/ocfs2/file.c inode->i_mode &= ~S_ISGID; S_ISGID 425 fs/ocfs2/namei.c if (dir->i_mode & S_ISGID) { S_ISGID 428 fs/ocfs2/namei.c mode |= S_ISGID; S_ISGID 1495 fs/proc/base.c inode->i_mode &= ~(S_ISUID | S_ISGID); S_ISGID 1667 fs/proc/base.c inode->i_mode &= ~(S_ISUID | S_ISGID); S_ISGID 99 fs/ramfs/inode.c if (dir->i_mode & S_ISGID) { S_ISGID 102 fs/ramfs/inode.c inode->i_mode |= S_ISGID; S_ISGID 135 fs/ramfs/inode.c if (dir->i_mode & S_ISGID) S_ISGID 591 fs/reiserfs/namei.c if (dir->i_mode & S_ISGID) { S_ISGID 594 fs/reiserfs/namei.c inode->i_mode |= S_ISGID; S_ISGID 100 fs/sysfs/inode.c mode &= ~S_ISGID; S_ISGID 163 fs/sysv/ialloc.c if (dir->i_mode & S_ISGID) { S_ISGID 166 fs/sysv/ialloc.c mode |= S_ISGID; S_ISGID 108 fs/ubifs/dir.c if (dir->i_mode & S_ISGID) { S_ISGID 111 fs/ubifs/dir.c mode |= S_ISGID; S_ISGID 775 fs/ubifs/file.c mode &= ~S_ISGID; S_ISGID 130 fs/udf/ialloc.c if (dir->i_mode & S_ISGID) { S_ISGID 133 fs/udf/ialloc.c mode |= S_ISGID; S_ISGID 1361 fs/udf/inode.c ((flags & ICBTAG_FLAG_SETGID) ? S_ISGID : 0) | S_ISGID 1571 fs/udf/inode.c ((inode->i_mode & S_ISGID) ? ICBTAG_FLAG_SETGID : 0) | S_ISGID 677 fs/udf/namei.c if (dir->i_mode & S_ISGID) S_ISGID 678 fs/udf/namei.c inode->i_mode |= S_ISGID; S_ISGID 308 fs/ufs/ialloc.c if (dir->i_mode & S_ISGID) { S_ISGID 311 fs/ufs/ialloc.c inode->i_mode |= S_ISGID; S_ISGID 1120 fs/xfs/linux-2.6/xfs_ioctl.c if ((ip->i_d.di_mode & (S_ISUID|S_ISGID)) && S_ISGID 1122 fs/xfs/linux-2.6/xfs_ioctl.c ip->i_d.di_mode &= ~(S_ISUID|S_ISGID); S_ISGID 707 fs/xfs/linux-2.6/xfs_lrw.c ((xip->i_d.di_mode & (S_ISGID | S_IXGRP)) == S_ISGID 708 fs/xfs/linux-2.6/xfs_lrw.c (S_ISGID | S_IXGRP))) && S_ISGID 1112 fs/xfs/xfs_inode.c if ((pip->i_d.di_mode & S_ISGID) && (mode & S_IFMT) == S_IFDIR) { S_ISGID 1113 fs/xfs/xfs_inode.c ip->i_d.di_mode |= S_ISGID; S_ISGID 1123 fs/xfs/xfs_inode.c (ip->i_d.di_mode & S_ISGID) && S_ISGID 1125 fs/xfs/xfs_inode.c ip->i_d.di_mode &= ~S_ISGID; S_ISGID 460 fs/xfs/xfs_inode.h ((pip)->i_d.di_mode & S_ISGID)) S_ISGID 82 fs/xfs/xfs_rw.c ip->i_d.di_mode &= ~S_ISGID; S_ISGID 221 fs/xfs/xfs_vnodeops.c if ((iattr->ia_mode & S_ISGID) && S_ISGID 223 fs/xfs/xfs_vnodeops.c m |= S_ISGID; S_ISGID 471 fs/xfs/xfs_vnodeops.c if ((ip->i_d.di_mode & (S_ISUID|S_ISGID)) && S_ISGID 473 fs/xfs/xfs_vnodeops.c ip->i_d.di_mode &= ~(S_ISUID|S_ISGID); S_ISGID 3606 fs/xfs/xfs_vnodeops.c ip->i_d.di_mode &= ~S_ISGID; S_ISGID 1635 include/linux/fs.h return (ino->i_mode & (S_ISGID | S_IXGRP)) == S_ISGID; S_ISGID 51 include/linux/stat.h #define S_IALLUGO (S_ISUID|S_ISGID|S_ISVTX|S_IRWXUGO) S_ISGID 1753 mm/filemap.c if (unlikely((mode & S_ISGID) && (mode & S_IXGRP))) S_ISGID 1779 mm/shmem.c if (dir->i_mode & S_ISGID) { S_ISGID 1782 mm/shmem.c inode->i_mode |= S_ISGID; S_ISGID 1938 mm/shmem.c if (dir->i_mode & S_ISGID)