Searched refs:S_ISGID (Results 1 – 19 of 19) sorted by relevance
108 switch (mode & (S_IXGRP | S_ISGID)) { in strmode()115 case S_ISGID: in strmode()118 case S_IXGRP | S_ISGID: in strmode()
21 #define S_ISGID 0002000 macro51 #define S_IALLUGO (S_ISUID|S_ISGID|S_ISVTX|S_IRWXUGO)
1910 return (ino->i_mode & (S_ISGID | S_IXGRP)) == S_ISGID; in __mandatory_lock()2594 return (mode & S_ISUID) || ((mode & S_ISGID) && (mode & S_IXGRP)); in is_sxid()
33 public static final int S_ISGID = 02000; field in AttribPermissions
136 && unlikely (st.st_mode & (S_ISUID | S_ISGID)) in write_file()
390 if its mode had S_ISUID or S_ISGID bits set.
240 #if !S_ISGID241 # define S_ISGID 02000
552 #if !S_ISGID553 # define S_ISGID 02000 macro
966 gid_t gid = (dir->i_mode & S_ISGID) ? dir->i_gid : current->fsgid; in yaffs_mknod()968 if((dir->i_mode & S_ISGID) && S_ISDIR(mode)) in yaffs_mknod()969 mode |= S_ISGID; in yaffs_mknod()1146 gid_t gid = (dir->i_mode & S_ISGID) ? dir->i_gid : current->fsgid; in yaffs_symlink()
502 if (access_ret == 0 && (st.st_mode & (S_ISUID | S_ISGID)) == 0) in get_uuid_via_daemon()
551 ? ((arhdr->ar_mode & S_ISGID) ? 's' : 'x') in do_oper_extract()552 : ((arhdr->ar_mode & S_ISGID) ? 'S' : '-'), in do_oper_extract()
139 #define VKI_S_ISGID S_ISGID
650 #define FILEMODEMASK (S_ISUID|S_ISGID|S_IRWXU|S_IRWXG|S_IRWXO) in source()
777 (mode & S_ISGID) ? "|S_ISGID" : "", in sprintmode()779 mode &= ~(S_IFMT|S_ISUID|S_ISGID|S_ISVTX); in sprintmode()
616 if (statbuf.st_mode & S_ISGID) in startup_child()
790 #define FILEMODEMASK (S_ISUID|S_ISGID|S_IRWXU|S_IRWXG|S_IRWXO) in source()
3049 (b1.st_mode & S_ISGID) == S_ISGID); in test_eval()
1480 if(st->st_mode & S_ISGID) in get_mode()