Home
last modified time | relevance | path

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

/kernel/
Duid16.c77 SYSCALL_DEFINE3(setresgid16, old_gid_t, rgid, old_gid_t, egid, old_gid_t, sgid) in SYSCALL_DEFINE3() argument
80 low2highgid(sgid)); in SYSCALL_DEFINE3()
88 old_gid_t rgid, egid, sgid; in SYSCALL_DEFINE3() local
92 sgid = high2lowgid(from_kgid_munged(cred->user_ns, cred->sgid)); in SYSCALL_DEFINE3()
96 retval = put_user(sgid, sgidp); in SYSCALL_DEFINE3()
Dsys.c358 gid_eq(old->sgid, kegid) || in SYSCALL_DEFINE2()
367 new->sgid = new->egid; in SYSCALL_DEFINE2()
401 new->gid = new->egid = new->sgid = new->fsgid = kgid; in SYSCALL_DEFINE1()
402 else if (gid_eq(kgid, old->gid) || gid_eq(kgid, old->sgid)) in SYSCALL_DEFINE1()
663 SYSCALL_DEFINE3(setresgid, gid_t, rgid, gid_t, egid, gid_t, sgid) in SYSCALL_DEFINE3() argument
673 ksgid = make_kgid(ns, sgid); in SYSCALL_DEFINE3()
679 if ((sgid != (gid_t) -1) && !gid_valid(ksgid)) in SYSCALL_DEFINE3()
690 !gid_eq(krgid, old->egid) && !gid_eq(krgid, old->sgid)) in SYSCALL_DEFINE3()
693 !gid_eq(kegid, old->egid) && !gid_eq(kegid, old->sgid)) in SYSCALL_DEFINE3()
695 if (sgid != (gid_t) -1 && !gid_eq(ksgid, old->gid) && in SYSCALL_DEFINE3()
[all …]
Dcred.c44 .sgid = GLOBAL_ROOT_GID,
473 !gid_eq(new->sgid, old->sgid) || in commit_creds()
737 from_kgid_munged(&init_user_ns, cred->sgid), in dump_invalid_creds()
Daudit.h146 kgid_t gid, egid, sgid, fsgid; member
Dauditsc.c382 return audit_compare_gid(cred->sgid, name, f, ctx); in audit_field_compare()
415 return audit_gid_comparator(cred->gid, f->op, cred->sgid); in audit_field_compare()
420 return audit_gid_comparator(cred->egid, f->op, cred->sgid); in audit_field_compare()
425 return audit_gid_comparator(cred->sgid, f->op, cred->fsgid); in audit_field_compare()
505 result = audit_gid_comparator(cred->sgid, f->op, f->gid); in audit_filter_rules()
Dptrace.c273 gid_eq(caller_gid, tcred->sgid) && in __ptrace_may_access()
Daudit.c1889 from_kgid(&init_user_ns, cred->sgid), in audit_log_task_info()