Searched refs:S_ISGID (Results 1 – 25 of 41) sorted by relevance
12
42 if (!(mode & S_ISGID)) in setattr_should_drop_sgid()208 attr->ia_mode &= ~S_ISGID; in setattr_prepare()319 mode &= ~S_ISGID; in setattr_copy()440 if (mode & S_ISGID) { in notify_change()445 attr->ia_mode &= ~S_ISGID; in notify_change()
2298 if (dir && dir->i_mode & S_ISGID) { in inode_init_owner()2303 mode |= S_ISGID; in inode_init_owner()2499 if ((mode & (S_ISGID | S_IXGRP)) != (S_ISGID | S_IXGRP)) in mode_strip_sgid()2501 if (S_ISDIR(mode) || !dir || !(dir->i_mode & S_ISGID)) in mode_strip_sgid()2505 return mode & ~S_ISGID; in mode_strip_sgid()
1613 if (!(mode & (S_ISUID|S_ISGID))) in bprm_fill_uid()1637 if ((mode & (S_ISGID | S_IXGRP)) == (S_ISGID | S_IXGRP)) { in bprm_fill_uid()
10 #define S_IALLUGO (S_ISUID|S_ISGID|S_ISVTX|S_IRWXUGO)
11 #define S_IALLUGO (S_ISUID|S_ISGID|S_ISVTX|S_IRWXUGO)
18 #define S_ISGID 0002000 macro
254 if (chmod("validate_cap_sgidroot", S_ISGID | 0710) != 0) in do_tests()261 if (chmod("validate_cap_sgidnonroot", S_ISGID | 0710) != 0) in do_tests()
81 mode &= ~S_ISGID; in configfs_setattr()
49 if (dir_inode->i_mode & S_ISGID) { in v9fs_get_fsgid_for_create()386 if (dir->i_mode & S_ISGID) in v9fs_vfs_mkdir_dotl()387 omode |= S_ISGID; in v9fs_vfs_mkdir_dotl()
67 if ((mode & S_ISGID) == S_ISGID) in unixmode2p9mode()93 res |= S_ISGID; in p9mode2perm()
128 perm_mode |= S_ISGID; in orangefs_inode_perms()545 S_ISGID, S_ISUID in ORANGEFS_util_translate_mode()
99 VFS_I(ip)->i_mode &= ~S_ISGID; in xfs_fs_map_update_inode()
470 (xfs_has_grpid((pip)->i_mount) || (VFS_I(pip)->i_mode & S_ISGID))
825 if (dir && !(dir->i_mode & S_ISGID) && xfs_has_grpid(mp)) { in xfs_init_new_inode()838 if (irix_sgid_inherit && (inode->i_mode & S_ISGID) && in xfs_init_new_inode()840 inode->i_mode &= ~S_ISGID; in xfs_init_new_inode()
1373 if ((VFS_I(ip)->i_mode & (S_ISUID|S_ISGID)) && in xfs_fileattr_set()1375 VFS_I(ip)->i_mode &= ~(S_ISUID|S_ISGID); in xfs_fileattr_set()
339 if (inode->i_mode & S_ISGID)378 if (inode->i_mode & S_ISGID)
586 #define SFBITS_MASK (S_ISVTX | S_ISGID | S_ISUID) /* SETFILEBITS valid bits */1801 if (parent->i_mode & S_ISGID)1802 mode |= S_ISGID;1815 if (parent->i_mode & S_ISGID)1840 if (inode->i_mode & S_ISGID)
449 if (dir_i->i_mode & S_ISGID) { in jffs2_new_inode()452 mode |= S_ISGID; in jffs2_new_inode()
224 mode &= ~S_ISGID; in f2fs_acl_update_mode()
472 if (donor_inode->i_mode & (S_ISUID|S_ISGID)) { in mext_check_arguments()
721 (inode->i_mode & (S_ISGID | S_IXGRP)) == in nfs_setattr_update_inode()722 (S_ISGID | S_IXGRP)) in nfs_setattr_update_inode()723 inode->i_mode &= ~S_ISGID; in nfs_setattr_update_inode()
623 if (unlikely((mode & S_ISGID) && (mode & S_IXGRP))) in nfs_should_remove_suid()
1946 if ((inode->i_mode & (S_ISGID | S_IXGRP)) == (S_ISGID | S_IXGRP)) { in fuse_setattr()1948 attr->ia_mode &= ~S_ISGID; in fuse_setattr()
895 value = S_ISGID; in tomoyo_condition()
Completed in 78 milliseconds