Home
last modified time | relevance | path

Searched refs:S_ISGID (Results 1 – 25 of 56) sorted by relevance

123

/openbmc/u-boot/fs/reiserfs/
H A Dmode_string.c16 #if ( S_ISUID != 04000 ) || ( S_ISGID != 02000 ) || ( S_ISVTX != 01000 ) \
29 #if (S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX) == 07777
36 S_IRGRP, S_IWGRP, S_IXGRP, S_ISGID,
/openbmc/linux/fs/
H A Dattr.c42 if (!(mode & S_ISGID)) in setattr_should_drop_sgid()
209 attr->ia_mode &= ~S_ISGID; in setattr_prepare()
320 mode &= ~S_ISGID; in setattr_copy()
457 if (mode & S_ISGID) { in notify_change()
462 attr->ia_mode &= ~S_ISGID; in notify_change()
H A Dinode.c2376 if (dir && dir->i_mode & S_ISGID) { in inode_init_owner()
2381 mode |= S_ISGID; in inode_init_owner()
2587 if ((mode & (S_ISGID | S_IXGRP)) != (S_ISGID | S_IXGRP)) in mode_strip_sgid()
2589 if (S_ISDIR(mode) || !dir || !(dir->i_mode & S_ISGID)) in mode_strip_sgid()
2593 return mode & ~S_ISGID; in mode_strip_sgid()
H A Dexec.c1620 if (!(mode & (S_ISUID|S_ISGID))) in bprm_fill_uid()
1644 if ((mode & (S_ISGID | S_IXGRP)) == (S_ISGID | S_IXGRP)) { in bprm_fill_uid()
/openbmc/qemu/bsd-user/
H A Dbsdload.c80 if ((mode & (S_ISGID | S_IXGRP)) == (S_ISGID | S_IXGRP)) { in prepare_binprm()
/openbmc/openbmc/poky/meta/recipes-devtools/elfutils/files/
H A D0003-musl-utils.patch32 +# define ALLPERMS (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO) /* 07777 */
49 +# define ALLPERMS (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO) /* 07777 */
/openbmc/linux/include/linux/
H A Dstat.h10 #define S_IALLUGO (S_ISUID|S_ISGID|S_ISVTX|S_IRWXUGO)
/openbmc/qemu/linux-user/
H A Dlinuxload.c68 if ((mode & (S_ISGID | S_IXGRP)) == (S_ISGID | S_IXGRP)) { in prepare_binprm()
/openbmc/linux/tools/perf/trace/beauty/
H A Dmode_t.c11 #define S_IALLUGO (S_ISUID|S_ISGID|S_ISVTX|S_IRWXUGO)
/openbmc/linux/tools/include/uapi/linux/
H A Dstat.h18 #define S_ISGID 0002000 macro
/openbmc/linux/include/uapi/linux/
H A Dstat.h18 #define S_ISGID 0002000 macro
/openbmc/u-boot/include/linux/
H A Dstat.h19 #define S_ISGID 0002000 /* set group id on execution */ macro
/openbmc/linux/tools/testing/selftests/capabilities/
H A Dtest_execve.c254 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()
/openbmc/u-boot/cmd/
H A Dcramfs.c68 if(mode & S_ISGID) str[6] = (mode & S_IXGRP)?'s':'S'; in mkmodestr()
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/open-vm-tools/open-vm-tools/
H A D0003-Fix-definition-of-ALLPERMS-and-ACCESSPERMS.patch37 # define ALLPERMS (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO)
/openbmc/linux/fs/configfs/
H A Dinode.c81 mode &= ~S_ISGID; in configfs_setattr()
/openbmc/linux/fs/9p/
H A Dvfs_inode_dotl.c48 if (dir_inode->i_mode & S_ISGID) { in v9fs_get_fsgid_for_create()
373 if (dir->i_mode & S_ISGID) in v9fs_vfs_mkdir_dotl()
374 omode |= S_ISGID; in v9fs_vfs_mkdir_dotl()
H A Dvfs_inode.c66 if ((mode & S_ISGID) == S_ISGID) in unixmode2p9mode()
92 res |= S_ISGID; in p9mode2perm()
/openbmc/linux/fs/orangefs/
H A Dorangefs-utils.c128 perm_mode |= S_ISGID; in orangefs_inode_perms()
545 S_ISGID, S_ISUID in ORANGEFS_util_translate_mode()
/openbmc/linux/fs/xfs/
H A Dxfs_pnfs.c99 VFS_I(ip)->i_mode &= ~S_ISGID; in xfs_fs_map_update_inode()
H A Dxfs_inode.h499 (xfs_has_grpid((pip)->i_mount) || (VFS_I(pip)->i_mode & S_ISGID))
/openbmc/linux/fs/jffs2/
H A Dfs.c449 if (dir_i->i_mode & S_ISGID) { in jffs2_new_inode()
452 mode |= S_ISGID; in jffs2_new_inode()
/openbmc/linux/fs/smb/client/
H A Ddir.c354 if (inode->i_mode & S_ISGID)
393 if (inode->i_mode & S_ISGID)
H A Dinode.c618 #define SFBITS_MASK (S_ISVTX | S_ISGID | S_ISUID) /* SETFILEBITS valid bits */
1901 if (parent->i_mode & S_ISGID)
1902 mode |= S_ISGID;
1915 if (parent->i_mode & S_ISGID)
1940 if (inode->i_mode & S_ISGID)
/openbmc/linux/fs/f2fs/
H A Dacl.c224 mode &= ~S_ISGID; in f2fs_acl_update_mode()

123