/glibc-2.36/sysdeps/mach/hurd/ |
D | getgid.c | 28 gid_t gid; in __getgid() local 37 gid = -1; in __getgid() 40 gid = _hurd_id.aux.gids[0]; in __getgid() 45 gid = -1; in __getgid() 50 if (gid == -1 && errno == EINTR) in __getgid() 54 return gid; in __getgid()
|
D | setgid.c | 30 __setgid (gid_t gid) in __setgid() argument 51 newgen = &gid; in __setgid() 56 _hurd_id.gen.gids[0] = gid; in __setgid() 73 newaux[0] = newaux[1] = gid; in __setgid()
|
D | setegid.c | 27 setegid (gid_t gid) in setegid() argument 44 _hurd_id.gen.gids[0] = gid; in setegid() 52 _hurd_id.gen.ngids ? _hurd_id.gen.gids : &gid, in setegid()
|
D | group_member.c | 25 __group_member (gid_t gid) in __group_member() argument 40 if (_hurd_id.gen.gids[i] == gid) in __group_member()
|
/glibc-2.36/sysdeps/unix/sysv/linux/ |
D | setegid.c | 24 setegid (gid_t gid) in setegid() argument 28 if (gid == (gid_t) ~0) in setegid() 32 result = INLINE_SETXID_SYSCALL (setresgid32, 3, -1, gid, -1); in setegid() 34 result = INLINE_SETXID_SYSCALL (setresgid, 3, -1, gid, -1); in setegid()
|
D | setgid.c | 24 __setgid (gid_t gid) in __setgid() argument 27 return INLINE_SETXID_SYSCALL (setgid32, 1, gid); in __setgid() 29 return INLINE_SETXID_SYSCALL (setgid, 1, gid); in __setgid()
|
/glibc-2.36/nss/nss_files/ |
D | files-grp.c | 40 DB_LOOKUP (grgid, '=', 20, ("%lu", (unsigned long int) gid), 42 if (result->gr_gid == gid && result->gr_name[0] != '+' 45 }, gid_t gid)
|
/glibc-2.36/sysdeps/posix/ |
D | euidaccess.c | 93 static gid_t gid; variable 107 # define group_member(gid) 0 argument 133 gid = getgid (); in euidaccess() 138 if (uid == euid && gid == egid) in euidaccess()
|
/glibc-2.36/sysdeps/unix/ |
D | grantpt.c | 155 gid_t gid = tty_gid == -1 ? __getgid () : tty_gid; in grantpt() local 159 if (st.st_gid != gid) in grantpt() 161 if (__chown (buf, uid, gid) < 0) in grantpt() 181 |((st.st_gid == gid) ? (st.st_mode & S_IWGRP) : 0); in grantpt()
|
/glibc-2.36/grp/ |
D | tst_fgetgrent.c | 61 test_entry (const char *name, gid_t gid, struct group *g) in test_entry() argument 70 if ((g->gr_gid == gid) && (strcmp (g->gr_name, name) == 0)) in test_entry() 75 name, gid); in test_entry()
|
D | getgrgid.c | 24 #define ADD_PARAMS gid_t gid 25 #define ADD_VARIABLES gid
|
D | getgrgid_r.c | 25 #define ADD_PARAMS gid_t gid 26 #define ADD_VARIABLES gid
|
/glibc-2.36/sunrpc/ |
D | svcauth_des.c | 487 gid_t gid; /* cached gid */ member 500 authdes_getucred (const struct authdes_cred *adc, uid_t * uid, gid_t * gid, in authdes_getucred() argument 557 *gid = cred->gid = i_gid; in authdes_getucred() 577 *gid = cred->gid; in authdes_getucred()
|
D | auth_unix.c | 95 authunix_create (char *machname, uid_t uid, gid_t gid, int len, in authunix_create() argument 130 aup.aup_gid = gid; in authunix_create() 169 gid_t gid = __getegid (); in libc_hidden_nolink_sunrpc() local 211 AUTH *result = authunix_create (machname, uid, gid, MIN (NGRPS, len), gids); in libc_hidden_nolink_sunrpc()
|
/glibc-2.36/nss/nss_compat/ |
D | compat-grp.c | 37 static enum nss_status (*getgrgid_r_impl) (gid_t gid, struct group * grp, 501 internal_getgrgid_r (gid_t gid, struct group *result, ent_t *ent, in internal_getgrgid_r() argument 554 if (result->gr_gid == gid) in internal_getgrgid_r() 581 if (status == NSS_STATUS_SUCCESS && result->gr_gid == gid) in internal_getgrgid_r() 592 enum nss_status status = getgrgid_r_impl (gid, result, in internal_getgrgid_r() 605 _nss_compat_getgrgid_r (gid_t gid, struct group *grp, in _nss_compat_getgrgid_r() argument 621 result = internal_getgrgid_r (gid, grp, &ent, buffer, buflen, errnop); in _nss_compat_getgrgid_r()
|
D | compat-initgroups.c | 42 static enum nss_status (*getgrgid_r_impl) (gid_t gid, struct group * grp, 170 gid_t gid) in add_group() argument 197 groups[*start] = gid; in add_group()
|
/glibc-2.36/hurd/ |
D | hurdauth.c | 116 MAKE (gen, gid); in _S_msg_add_auth() 118 MAKE (aux, gid); in _S_msg_add_auth() 205 const gid_t gid = gids[j]; in _S_msg_del_auth() local 207 if (newu[i] == gid) in _S_msg_del_auth()
|
/glibc-2.36/login/programs/ |
D | pt_chown.c | 114 gid_t gid; in do_pt_chown() local 128 gid = p ? p->gr_gid : getgid (); in do_pt_chown() 132 if (chown (pty, getuid (), gid) < 0) in do_pt_chown()
|
/glibc-2.36/nscd/ |
D | getgrgid_r.c | 24 #define ADD_PARAMS gid_t gid 25 #define ADD_VARIABLES gid
|
D | grpcache.c | 486 gid_t gid = strtoul ((char *) key, &ep, 10); in addgrbygid() local 497 union keytype u = { .g = gid }; in addgrbygid() 508 gid_t gid = strtoul (db->data + he->key, &ep, 10); in readdgrbygid() local 518 union keytype u = { .g = gid }; in readdgrbygid()
|
/glibc-2.36/posix/ |
D | group_member.c | 29 __group_member (gid_t gid) in __group_member() argument 44 if (groups[n] == gid) in __group_member()
|
/glibc-2.36/conform/data/sys/ |
D | ipc.h-data | 4 // Bug 23082: uid/gid/cuid/cgid/mode have type unsigned short instead of uid_t and mode_t. 6 xfail[i386-gnu]-element {struct ipc_perm} gid_t gid
|
/glibc-2.36/support/ |
D | support_capture_subprocess.c | 112 copy_and_spawn_sgid (char *child_id, gid_t gid) in copy_and_spawn_sgid() argument 156 TEST_VERIFY (fchown (outfd, getuid (), gid) == 0); in copy_and_spawn_sgid()
|
/glibc-2.36/hesiod/nss_hesiod/ |
D | hesiod-grp.c | 104 _nss_hesiod_getgrgid_r (gid_t gid, struct group *grp, in _nss_hesiod_getgrgid_r() argument 110 snprintf (gidstr, sizeof gidstr, "%d", gid); in _nss_hesiod_getgrgid_r()
|
/glibc-2.36/misc/ |
D | setegid.c | 23 setegid (__gid_t gid) in setegid() argument
|