gid_t 26 arch/mips/include/uapi/asm/stat.h gid_t st_gid; gid_t 62 arch/mips/include/uapi/asm/stat.h gid_t st_gid; gid_t 103 arch/mips/include/uapi/asm/stat.h gid_t st_gid; gid_t 41 arch/powerpc/include/uapi/asm/stat.h gid_t st_gid; gid_t 103 arch/s390/include/asm/debug.h gid_t gid); gid_t 670 arch/s390/kernel/debug.c uid_t uid, gid_t gid) gid_t 15 arch/sparc/include/uapi/asm/stat.h gid_t st_gid; gid_t 2342 drivers/net/tun.c BUILD_BUG_ON(sizeof(u32) != sizeof(gid_t)); gid_t 2345 drivers/net/tun.c nla_total_size(sizeof(gid_t)) + /* GROUP */ gid_t 176 fs/affs/inode.c gid_t gid; gid_t 378 fs/cifs/cifsacl.c gid_t id; gid_t 380 fs/cifs/cifsacl.c id = (gid_t)unix_id; gid_t 419 fs/cifs/cifsacl.c BUILD_BUG_ON(sizeof(uid_t) != sizeof(gid_t)); gid_t 437 fs/cifs/cifsacl.c gid_t id; gid_t 438 fs/cifs/cifsacl.c memcpy(&id, &sidkey->payload.data[0], sizeof(gid_t)); gid_t 1005 fs/cifs/cifsacl.c gid_t id; gid_t 304 fs/cifs/inode.c if (id < ((gid_t)-1)) { gid_t 119 fs/coda/coda_linux.c inode->i_gid = make_kgid(&init_user_ns, (gid_t) attr->va_gid); gid_t 102 fs/efs/inode.c i_gid_write(inode, (gid_t)be16_to_cpu(efs_inode->di_gid)); gid_t 1412 fs/ext2/inode.c gid_t i_gid; gid_t 1431 fs/ext2/inode.c i_gid = (gid_t)le16_to_cpu(raw_inode->i_gid_low); gid_t 1541 fs/ext2/inode.c gid_t gid = i_gid_read(inode); gid_t 4841 fs/ext4/inode.c gid_t i_gid; gid_t 4920 fs/ext4/inode.c i_gid = (gid_t)le16_to_cpu(raw_inode->i_gid_low); gid_t 5259 fs/ext4/inode.c gid_t i_gid; gid_t 202 fs/f2fs/recovery.c gid_t i_gid = le32_to_cpu(raw->i_gid); gid_t 131 fs/freevxfs/vxfs_inode.c i_gid_write(inode, (gid_t)vip->vii_gid); gid_t 145 fs/fuse/dev.c req->in.h.gid == ((gid_t)-1))) { gid_t 265 fs/hfs/super.c hsb->s_gid = make_kgid(current_user_ns(), (gid_t)tmp); gid_t 150 fs/hfsplus/options.c sbi->gid = make_kgid(current_user_ns(), (gid_t)tmp); gid_t 45 fs/hostfs/hostfs.h gid_t ia_gid; gid_t 131 fs/internal.h int do_fchownat(int dfd, const char __user *filename, uid_t user, gid_t group, gid_t 350 fs/jfs/super.c gid_t val; gid_t 1194 fs/nfsd/export.c if (!gid_eq(anong, make_kgid(userns, (gid_t)-2)) && gid_t 171 fs/nilfs2/the_nilfs.h gid_t ns_resgid; gid_t 132 fs/ntfs/super.c gid_t gid_value; \ gid_t 620 fs/open.c static int chown_common(const struct path *path, uid_t user, gid_t group) gid_t 640 fs/open.c if (group != (gid_t) -1) { gid_t 662 fs/open.c int do_fchownat(int dfd, const char __user *filename, uid_t user, gid_t group, gid_t 695 fs/open.c gid_t, group, int, flag) gid_t 700 fs/open.c SYSCALL_DEFINE3(chown, const char __user *, filename, uid_t, user, gid_t, group) gid_t 705 fs/open.c SYSCALL_DEFINE3(lchown, const char __user *, filename, uid_t, user, gid_t, group) gid_t 711 fs/open.c int ksys_fchown(unsigned int fd, uid_t user, gid_t group) gid_t 731 fs/open.c SYSCALL_DEFINE3(fchown, unsigned int, fd, uid_t, user, gid_t, group) gid_t 301 fs/qnx4/inode.c i_gid_write(inode, (gid_t)le16_to_cpu(raw_inode->di_gid)); gid_t 563 fs/qnx6/inode.c i_gid_write(inode, (gid_t)fs32_to_cpu(sbi, raw_inode->di_gid)); gid_t 48 fs/squashfs/inode.c gid_t i_gid; gid_t 201 fs/sysv/inode.c i_gid_write(inode, (gid_t)fs16_to_cpu(sbi, raw_inode->i_gid)); gid_t 522 fs/xfs/libxfs/xfs_fs.h gid_t eof_gid; gid_t 363 include/linux/audit.h extern void __audit_ipc_set_perm(unsigned long qbytes, uid_t uid, gid_t gid, umode_t mode); gid_t 392 include/linux/audit.h static inline void audit_ipc_set_perm(unsigned long qbytes, uid_t uid, gid_t gid, umode_t mode) gid_t 579 include/linux/audit.h gid_t gid, umode_t mode) gid_t 1564 include/linux/fs.h static inline gid_t i_gid_read(const struct inode *inode) gid_t 1574 include/linux/fs.h static inline void i_gid_write(struct inode *inode, gid_t gid) gid_t 54 include/linux/highuid.h #define low2highgid(gid) ((gid) == (old_gid_t)-1 ? (gid_t)-1 : (gid_t)(gid)) gid_t 438 include/linux/syscalls.h gid_t group, int flag); gid_t 439 include/linux/syscalls.h asmlinkage long sys_fchown(unsigned int fd, uid_t user, gid_t group); gid_t 704 include/linux/syscalls.h asmlinkage long sys_setregid(gid_t rgid, gid_t egid); gid_t 705 include/linux/syscalls.h asmlinkage long sys_setgid(gid_t gid); gid_t 710 include/linux/syscalls.h asmlinkage long sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid); gid_t 711 include/linux/syscalls.h asmlinkage long sys_getresgid(gid_t __user *rgid, gid_t __user *egid, gid_t __user *sgid); gid_t 713 include/linux/syscalls.h asmlinkage long sys_setfsgid(gid_t gid); gid_t 719 include/linux/syscalls.h asmlinkage long sys_getgroups(int gidsetsize, gid_t __user *grouplist); gid_t 720 include/linux/syscalls.h asmlinkage long sys_setgroups(int gidsetsize, gid_t __user *grouplist); gid_t 1042 include/linux/syscalls.h uid_t user, gid_t group); gid_t 1046 include/linux/syscalls.h uid_t user, gid_t group); gid_t 1242 include/linux/syscalls.h int ksys_fchown(unsigned int fd, uid_t user, gid_t group); gid_t 1343 include/linux/syscalls.h gid_t group, int flag); gid_t 1346 include/linux/syscalls.h gid_t group) gid_t 1352 include/linux/syscalls.h gid_t group) gid_t 27 include/linux/uidgid.h gid_t val; gid_t 39 include/linux/uidgid.h static inline gid_t __kgid_val(kgid_t gid) gid_t 49 include/linux/uidgid.h static inline gid_t __kgid_val(kgid_t gid) gid_t 118 include/linux/uidgid.h return __kgid_val(gid) != (gid_t) -1; gid_t 124 include/linux/uidgid.h extern kgid_t make_kgid(struct user_namespace *from, gid_t gid); gid_t 127 include/linux/uidgid.h extern gid_t from_kgid(struct user_namespace *to, kgid_t gid); gid_t 129 include/linux/uidgid.h extern gid_t from_kgid_munged(struct user_namespace *to, kgid_t gid); gid_t 138 include/linux/uidgid.h return from_kgid(ns, gid) != (gid_t) -1; gid_t 148 include/linux/uidgid.h static inline kgid_t make_kgid(struct user_namespace *from, gid_t gid) gid_t 158 include/linux/uidgid.h static inline gid_t from_kgid(struct user_namespace *to, kgid_t kgid) gid_t 171 include/linux/uidgid.h static inline gid_t from_kgid_munged(struct user_namespace *to, kgid_t kgid) gid_t 173 include/linux/uidgid.h gid_t gid = from_kgid(to, kgid); gid_t 174 include/linux/uidgid.h if (gid == (gid_t)-1) gid_t 26 include/net/ping.h #define GID_T_MAX (((gid_t)~0U) >> 1) gid_t 89 include/trace/events/ext4.h __field( gid_t, gid ) gid_t 118 include/trace/events/ext4.h __field( gid_t, gid ) gid_t 151 init/initramfs.c static __initdata gid_t gid; gid_t 157 kernel/audit.h gid_t perm_gid; gid_t 2293 kernel/auditsc.c void __audit_ipc_set_perm(unsigned long qbytes, uid_t uid, gid_t gid, umode_t mode) gid_t 42 kernel/groups.c static int groups_to_user(gid_t __user *grouplist, gid_t 50 kernel/groups.c gid_t gid; gid_t 60 kernel/groups.c gid_t __user *grouplist) gid_t 67 kernel/groups.c gid_t gid; gid_t 153 kernel/groups.c SYSCALL_DEFINE2(getgroups, int, gidsetsize, gid_t __user *, grouplist) gid_t 190 kernel/groups.c SYSCALL_DEFINE2(setgroups, int, gidsetsize, gid_t __user *, grouplist) gid_t 350 kernel/sys.c long __sys_setregid(gid_t rgid, gid_t egid) gid_t 361 kernel/sys.c if ((rgid != (gid_t) -1) && !gid_valid(krgid)) gid_t 363 kernel/sys.c if ((egid != (gid_t) -1) && !gid_valid(kegid)) gid_t 372 kernel/sys.c if (rgid != (gid_t) -1) { gid_t 380 kernel/sys.c if (egid != (gid_t) -1) { gid_t 390 kernel/sys.c if (rgid != (gid_t) -1 || gid_t 391 kernel/sys.c (egid != (gid_t) -1 && !gid_eq(kegid, old->gid))) gid_t 402 kernel/sys.c SYSCALL_DEFINE2(setregid, gid_t, rgid, gid_t, egid) gid_t 412 kernel/sys.c long __sys_setgid(gid_t gid) gid_t 444 kernel/sys.c SYSCALL_DEFINE1(setgid, gid_t, gid) gid_t 713 kernel/sys.c long __sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid) gid_t 725 kernel/sys.c if ((rgid != (gid_t) -1) && !gid_valid(krgid)) gid_t 727 kernel/sys.c if ((egid != (gid_t) -1) && !gid_valid(kegid)) gid_t 729 kernel/sys.c if ((sgid != (gid_t) -1) && !gid_valid(ksgid)) gid_t 739 kernel/sys.c if (rgid != (gid_t) -1 && !gid_eq(krgid, old->gid) && gid_t 742 kernel/sys.c if (egid != (gid_t) -1 && !gid_eq(kegid, old->gid) && gid_t 745 kernel/sys.c if (sgid != (gid_t) -1 && !gid_eq(ksgid, old->gid) && gid_t 750 kernel/sys.c if (rgid != (gid_t) -1) gid_t 752 kernel/sys.c if (egid != (gid_t) -1) gid_t 754 kernel/sys.c if (sgid != (gid_t) -1) gid_t 765 kernel/sys.c SYSCALL_DEFINE3(setresgid, gid_t, rgid, gid_t, egid, gid_t, sgid) gid_t 770 kernel/sys.c SYSCALL_DEFINE3(getresgid, gid_t __user *, rgidp, gid_t __user *, egidp, gid_t __user *, sgidp) gid_t 774 kernel/sys.c gid_t rgid, egid, sgid; gid_t 841 kernel/sys.c long __sys_setfsgid(gid_t gid) gid_t 845 kernel/sys.c gid_t old_fsgid; gid_t 876 kernel/sys.c SYSCALL_DEFINE1(setfsgid, gid_t, gid) gid_t 1446 kernel/sysctl.c .maxlen = sizeof(gid_t), gid_t 6 kernel/uid16.h long __sys_setgid(gid_t gid); gid_t 8 kernel/uid16.h long __sys_setregid(gid_t rgid, gid_t egid); gid_t 10 kernel/uid16.h long __sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid); gid_t 12 kernel/uid16.h long __sys_setfsgid(gid_t gid); gid_t 454 kernel/user_namespace.c kgid_t make_kgid(struct user_namespace *ns, gid_t gid) gid_t 473 kernel/user_namespace.c gid_t from_kgid(struct user_namespace *targ, kgid_t kgid) gid_t 497 kernel/user_namespace.c gid_t from_kgid_munged(struct user_namespace *targ, kgid_t kgid) gid_t 499 kernel/user_namespace.c gid_t gid; gid_t 502 kernel/user_namespace.c if (gid == (gid_t) -1) gid_t 603 kernel/user_namespace.c gid_t lower; gid_t 1203 net/core/sock.c static int groups_to_user(gid_t __user *dst, const struct group_info *src) gid_t 1377 net/core/sock.c if (len < n * sizeof(gid_t)) { gid_t 1378 net/core/sock.c len = n * sizeof(gid_t); gid_t 1381 net/core/sock.c len = n * sizeof(gid_t); gid_t 1383 net/core/sock.c ret = groups_to_user((gid_t __user *)optval, gid_t 176 net/ipv4/sysctl_net_ipv4.c gid_t urange[2]; gid_t 664 net/ipv4/sysctl_net_ipv4.c .maxlen = sizeof(gid_t)*2, gid_t 149 security/integrity/evm/evm_crypto.c gid_t gid; gid_t 230 security/keys/internal.h extern long keyctl_chown_key(key_serial_t, uid_t, gid_t); gid_t 946 security/keys/keyctl.c long keyctl_chown_key(key_serial_t id, uid_t user, gid_t group) gid_t 960 security/keys/keyctl.c if ((group != (gid_t) -1) && !gid_valid(gid)) gid_t 964 security/keys/keyctl.c if (user == (uid_t) -1 && group == (gid_t) -1) gid_t 987 security/keys/keyctl.c if (group != (gid_t) -1 && !gid_eq(gid, key->gid) && !in_group_p(gid)) gid_t 1036 security/keys/keyctl.c if (group != (gid_t) -1) gid_t 1826 security/keys/keyctl.c (gid_t) arg4); gid_t 261 tools/include/nolibc/nolibc.h gid_t st_gid; /* group ID of owner */ gid_t 1478 tools/include/nolibc/nolibc.h int sys_chown(const char *path, uid_t owner, gid_t group) gid_t 1820 tools/include/nolibc/nolibc.h int chown(const char *path, uid_t owner, gid_t group) gid_t 92 tools/testing/selftests/capabilities/test_execve.c gid_t outer_gid; gid_t 74 tools/testing/selftests/filesystems/binderfs/binderfs_test.c gid_t gid; gid_t 157 tools/testing/selftests/mount/unprivileged-remount-test.c gid_t gid; gid_t 104 usr/gen_init_cpio.c unsigned int mode, uid_t uid, gid_t gid) gid_t 153 usr/gen_init_cpio.c uid_t uid, gid_t gid) gid_t 241 usr/gen_init_cpio.c uid_t uid, gid_t gid, char dev_type, gid_t 296 usr/gen_init_cpio.c unsigned int mode, uid_t uid, gid_t gid,