Searched refs:S_ISGID (Results 1 – 25 of 32) sorted by relevance
12
96 attr->ia_mode &= ~S_ISGID; in setattr_prepare()202 mode &= ~S_ISGID; in setattr_copy()314 if ((mode & (S_ISGID | S_IXGRP)) == (S_ISGID | S_IXGRP)) { in notify_change()319 attr->ia_mode &= ~S_ISGID; in notify_change()
1771 if (unlikely((mode & S_ISGID) && (mode & S_IXGRP))) in should_remove_suid()2019 if (dir && dir->i_mode & S_ISGID) { in inode_init_owner()2024 mode |= S_ISGID; in inode_init_owner()2025 else if ((mode & (S_ISGID | S_IXGRP)) == (S_ISGID | S_IXGRP) && in inode_init_owner()2028 mode &= ~S_ISGID; in inode_init_owner()
1548 if (!(mode & (S_ISUID|S_ISGID))) in bprm_fill_uid()1570 if ((mode & (S_ISGID | S_IXGRP)) == (S_ISGID | S_IXGRP)) { in bprm_fill_uid()
656 mode &= ~S_ISGID; in posix_acl_update_mode()
10 #define S_IALLUGO (S_ISUID|S_ISGID|S_ISVTX|S_IRWXUGO)
2281 return (ino->i_mode & (S_ISGID | S_IXGRP)) == S_ISGID; in __mandatory_lock()3412 return (mode & S_ISUID) || ((mode & S_ISGID) && (mode & S_IXGRP)); in is_sxid()
18 #define S_ISGID 0002000 macro
127 perm_mode |= S_ISGID; in orangefs_inode_perms()560 S_ISGID, S_ISUID in ORANGEFS_util_translate_mode()
105 mode &= ~S_ISGID; in configfs_setattr()
64 if (dir_inode->i_mode & S_ISGID) { in v9fs_get_fsgid_for_create()401 if (dir->i_mode & S_ISGID) in v9fs_vfs_mkdir_dotl()402 omode |= S_ISGID; in v9fs_vfs_mkdir_dotl()
84 if ((mode & S_ISGID) == S_ISGID) in unixmode2p9mode()110 res |= S_ISGID; in p9mode2perm()
398 (VFS_I(pip)->i_mode & S_ISGID))
731 if ((inode->i_mode & (S_ISUID|S_ISGID)) && in xfs_setattr_nonsize()733 inode->i_mode &= ~(S_ISUID|S_ISGID); in xfs_setattr_nonsize()
822 if ((VFS_I(pip)->i_mode & S_ISGID) && S_ISDIR(mode)) in xfs_ialloc()823 inode->i_mode |= S_ISGID; in xfs_ialloc()832 (inode->i_mode & S_ISGID) && in xfs_ialloc()834 inode->i_mode &= ~S_ISGID; in xfs_ialloc()
1403 if ((VFS_I(ip)->i_mode & (S_ISUID|S_ISGID)) && in xfs_ioctl_setattr()1405 VFS_I(ip)->i_mode &= ~(S_ISUID|S_ISGID); in xfs_ioctl_setattr()
58 VFS_I(ip)->i_mode &= ~S_ISGID; in xfs_update_prealloc_flags()
446 if (dir_i->i_mode & S_ISGID) { in jffs2_new_inode()449 mode |= S_ISGID; in jffs2_new_inode()
394 if (inode->i_mode & S_ISGID) in cifs_do_create()430 if (inode->i_mode & S_ISGID) in cifs_do_create()
544 #define SFBITS_MASK (S_ISVTX | S_ISGID | S_ISUID) /* SETFILEBITS valid bits */1464 if (parent->i_mode & S_ISGID)1465 mode |= S_ISGID;1477 if (parent->i_mode & S_ISGID)1499 if (inode->i_mode & S_ISGID)
460 if (donor_inode->i_mode & (S_ISUID|S_ISGID)) { in mext_check_arguments()
1831 if ((inode->i_mode & (S_ISGID | S_IXGRP)) == (S_ISGID | S_IXGRP)) { in fuse_setattr()1833 attr->ia_mode &= ~S_ISGID; in fuse_setattr()
367 if (dip->i_inode.i_mode & S_ISGID) { in munge_mode_uid_gid()369 inode->i_mode |= S_ISGID; in munge_mode_uid_gid()
684 u32 valid_mask = (S_IFMT | S_ISUID | S_ISGID | S_ISVTX | 0777); in check_inode_item()
1408 if ((inode->i_mode & S_ISGID) && (inode->i_mode & S_IXGRP)) in __ocfs2_write_remove_suid()1409 inode->i_mode &= ~S_ISGID; in __ocfs2_write_remove_suid()
1114 mode &= ~S_ISGID; in do_attr_changes()