Home
last modified time | relevance | path

Searched refs:gid_t (Results 1 – 7 of 7) sorted by relevance

/kernel/
Duid16.h6 long __sys_setgid(gid_t gid);
8 long __sys_setregid(gid_t rgid, gid_t egid);
10 long __sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid);
12 long __sys_setfsgid(gid_t gid);
Dgroups.c37 static int groups_to_user(gid_t __user *grouplist, in groups_to_user()
45 gid_t gid; in groups_to_user()
55 gid_t __user *grouplist) in groups_from_user()
62 gid_t gid; in groups_from_user()
161 SYSCALL_DEFINE2(getgroups, int, gidsetsize, gid_t __user *, grouplist) in SYSCALL_DEFINE2()
198 SYSCALL_DEFINE2(setgroups, int, gidsetsize, gid_t __user *, grouplist) in SYSCALL_DEFINE2()
Dsys.c367 long __sys_setregid(gid_t rgid, gid_t egid) in __sys_setregid()
378 if ((rgid != (gid_t) -1) && !gid_valid(krgid)) in __sys_setregid()
380 if ((egid != (gid_t) -1) && !gid_valid(kegid)) in __sys_setregid()
389 if (rgid != (gid_t) -1) { in __sys_setregid()
397 if (egid != (gid_t) -1) { in __sys_setregid()
407 if (rgid != (gid_t) -1 || in __sys_setregid()
408 (egid != (gid_t) -1 && !gid_eq(kegid, old->gid))) in __sys_setregid()
423 SYSCALL_DEFINE2(setregid, gid_t, rgid, gid_t, egid) in SYSCALL_DEFINE2() argument
433 long __sys_setgid(gid_t gid) in __sys_setgid()
469 SYSCALL_DEFINE1(setgid, gid_t, gid) in SYSCALL_DEFINE1() argument
[all …]
Duser_namespace.c476 kgid_t make_kgid(struct user_namespace *ns, gid_t gid) in make_kgid()
495 gid_t from_kgid(struct user_namespace *targ, kgid_t kgid) in from_kgid()
519 gid_t from_kgid_munged(struct user_namespace *targ, kgid_t kgid) in from_kgid_munged()
521 gid_t gid; in from_kgid_munged()
524 if (gid == (gid_t) -1) in from_kgid_munged()
625 gid_t lower; in gid_m_show()
Daudit.h166 gid_t perm_gid;
Dsysctl.c2177 .maxlen = sizeof(gid_t),
Dauditsc.c2644 void __audit_ipc_set_perm(unsigned long qbytes, uid_t uid, gid_t gid, umode_t mode) in __audit_ipc_set_perm()