Home
last modified time | relevance | path

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

/kernel/
Duid16.c81 SYSCALL_DEFINE3(setresgid16, old_gid_t, rgid, old_gid_t, egid, old_gid_t, sgid) in SYSCALL_DEFINE3() argument
84 low2highgid(sgid)); in SYSCALL_DEFINE3()
91 old_gid_t rgid, egid, sgid; in SYSCALL_DEFINE3() local
95 sgid = high2lowgid(from_kgid_munged(cred->user_ns, cred->sgid)); in SYSCALL_DEFINE3()
99 retval = put_user(sgid, sgidp); in SYSCALL_DEFINE3()
Dsys.c387 gid_eq(old->sgid, kegid) || in __sys_setregid()
396 new->sgid = new->egid; in __sys_setregid()
435 new->gid = new->egid = new->sgid = new->fsgid = kgid; in __sys_setgid()
436 else if (gid_eq(kgid, old->gid) || gid_eq(kgid, old->sgid)) in __sys_setgid()
717 long __sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid) in __sys_setresgid() argument
727 ksgid = make_kgid(ns, sgid); in __sys_setresgid()
733 if ((sgid != (gid_t) -1) && !gid_valid(ksgid)) in __sys_setresgid()
744 !gid_eq(krgid, old->egid) && !gid_eq(krgid, old->sgid)) in __sys_setresgid()
747 !gid_eq(kegid, old->egid) && !gid_eq(kegid, old->sgid)) in __sys_setresgid()
749 if (sgid != (gid_t) -1 && !gid_eq(ksgid, old->gid) && in __sys_setresgid()
[all …]
Duid16.h10 long __sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid);
Dcred.c50 .sgid = GLOBAL_ROOT_GID,
502 !gid_eq(new->sgid, old->sgid) || in commit_creds()
822 from_kgid_munged(&init_user_ns, cred->sgid), in dump_invalid_creds()
Daudit.h129 kgid_t gid, egid, sgid, fsgid; member
Dauditsc.c375 return audit_compare_gid(cred->sgid, name, f, ctx); in audit_field_compare()
412 return audit_gid_comparator(cred->gid, f->op, cred->sgid); in audit_field_compare()
417 return audit_gid_comparator(cred->egid, f->op, cred->sgid); in audit_field_compare()
422 return audit_gid_comparator(cred->sgid, f->op, cred->fsgid); in audit_field_compare()
508 result = audit_gid_comparator(cred->sgid, f->op, f->gid); in audit_filter_rules()
Dptrace.c336 gid_eq(caller_gid, tcred->sgid) && in __ptrace_may_access()
Daudit.c2214 from_kgid(&init_user_ns, cred->sgid), in audit_log_task_info()