Searched refs:S_ISGID (Results 1 – 7 of 7) sorted by relevance
21 #define S_ISGID 0002000 macro51 #define S_IALLUGO (S_ISUID|S_ISGID|S_ISVTX|S_IRWXUGO)
1387 (IS_MANDLOCK(inode) && ((inode)->i_mode & (S_ISGID | S_IXGRP)) == S_ISGID)
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()
619 (mode & S_ISGID) ? "|S_ISGID" : "",621 mode &= ~(S_IFMT|S_ISUID|S_ISGID|S_ISVTX);
591 if (statbuf.st_mode & S_ISGID)
650 #define FILEMODEMASK (S_ISUID|S_ISGID|S_IRWXU|S_IRWXG|S_IRWXO) in source()
1480 if(st->st_mode & S_ISGID) in get_mode()