Searched refs:egid (Results 1 – 10 of 10) sorted by relevance
/kernel/ |
D | uid16.c | 38 SYSCALL_DEFINE2(setregid16, old_gid_t, rgid, old_gid_t, egid) in SYSCALL_DEFINE2() argument 40 return __sys_setregid(low2highgid(rgid), low2highgid(egid)); in SYSCALL_DEFINE2() 81 SYSCALL_DEFINE3(setresgid16, old_gid_t, rgid, old_gid_t, egid, old_gid_t, sgid) in SYSCALL_DEFINE3() argument 83 return __sys_setresgid(low2highgid(rgid), low2highgid(egid), in SYSCALL_DEFINE3() 91 old_gid_t rgid, egid, sgid; in SYSCALL_DEFINE3() local 94 egid = high2lowgid(from_kgid_munged(cred->user_ns, cred->egid)); in SYSCALL_DEFINE3() 98 !(retval = put_user(egid, egidp))) in SYSCALL_DEFINE3()
|
D | sys.c | 367 long __sys_setregid(gid_t rgid, gid_t egid) in __sys_setregid() argument 376 kegid = make_kgid(ns, egid); in __sys_setregid() 380 if ((egid != (gid_t) -1) && !gid_valid(kegid)) in __sys_setregid() 391 gid_eq(old->egid, krgid) || in __sys_setregid() 397 if (egid != (gid_t) -1) { in __sys_setregid() 399 gid_eq(old->egid, kegid) || in __sys_setregid() 402 new->egid = kegid; in __sys_setregid() 408 (egid != (gid_t) -1 && !gid_eq(kegid, old->gid))) in __sys_setregid() 409 new->sgid = new->egid; in __sys_setregid() 410 new->fsgid = new->egid; in __sys_setregid() [all …]
|
D | uid16.h | 8 long __sys_setregid(gid_t rgid, gid_t egid); 10 long __sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid);
|
D | cred.c | 54 .egid = GLOBAL_ROOT_GID, 329 new->sgid = new->fsgid = new->egid; in prepare_exec_creds() 471 !gid_eq(old->egid, new->egid) || in commit_creds() 518 !gid_eq(new->egid, old->egid) || in commit_creds() 862 from_kgid_munged(&init_user_ns, cred->egid), in dump_invalid_creds()
|
D | groups.c | 244 if (!gid_eq(grp, cred->egid)) in in_egroup_p()
|
D | auditsc.c | 392 return audit_compare_gid(cred->egid, name, f, ctx); in audit_field_compare() 433 return audit_gid_comparator(cred->gid, f->op, cred->egid); in audit_field_compare() 440 return audit_gid_comparator(cred->egid, f->op, cred->sgid); in audit_field_compare() 442 return audit_gid_comparator(cred->egid, f->op, cred->fsgid); in audit_field_compare() 524 result = audit_gid_comparator(cred->egid, f->op, f->gid); in audit_filter_rules() 1007 ctx->gid = ctx->egid = ctx->sgid = ctx->fsgid = KGIDT_INIT(0); in audit_reset_context() 1666 from_kgid(&init_user_ns, cred->egid), in audit_log_uring()
|
D | audit.h | 138 kgid_t gid, egid, sgid, fsgid; member
|
D | user_namespace.c | 86 kgid_t group = new->egid; in create_user_ns() 1182 gid_eq(gid, cred->egid)) in new_idmap_permitted()
|
D | ptrace.c | 330 gid_eq(caller_gid, tcred->egid) && in __ptrace_may_access()
|
D | audit.c | 2269 from_kgid(&init_user_ns, cred->egid), in audit_log_task_info()
|