Lines Matching refs:gid
348 static int audit_compare_gid(kgid_t gid, in audit_compare_gid() argument
357 rc = audit_gid_comparator(gid, f->op, name->gid); in audit_compare_gid()
364 rc = audit_gid_comparator(gid, f->op, n->gid); in audit_compare_gid()
383 return audit_compare_gid(cred->gid, name, f, ctx); in audit_field_compare()
424 return audit_gid_comparator(cred->gid, f->op, cred->egid); in audit_field_compare()
426 return audit_gid_comparator(cred->gid, f->op, cred->sgid); in audit_field_compare()
428 return audit_gid_comparator(cred->gid, f->op, cred->fsgid); in audit_field_compare()
494 result = audit_gid_comparator(cred->gid, f->op, f->gid); in audit_filter_rules()
497 result = in_group_p(f->gid); in audit_filter_rules()
500 result = !in_group_p(f->gid); in audit_filter_rules()
504 result = audit_gid_comparator(cred->egid, f->op, f->gid); in audit_filter_rules()
507 result = in_egroup_p(f->gid); in audit_filter_rules()
510 result = !in_egroup_p(f->gid); in audit_filter_rules()
514 result = audit_gid_comparator(cred->sgid, f->op, f->gid); in audit_filter_rules()
517 result = audit_gid_comparator(cred->fsgid, f->op, f->gid); in audit_filter_rules()
595 result = audit_gid_comparator(name->gid, f->op, f->gid); in audit_filter_rules()
598 if (audit_gid_comparator(n->gid, f->op, f->gid)) { in audit_filter_rules()
1208 from_kgid(&init_user_ns, context->ipc.gid), in show_special()
2093 context->ipc.gid = ipcp->gid; in __audit_ipc_obj()
2109 void __audit_ipc_set_perm(unsigned long qbytes, uid_t uid, gid_t gid, umode_t mode) in __audit_ipc_set_perm() argument
2115 context->ipc.perm_gid = gid; in __audit_ipc_set_perm()
2345 kgid_t gid; in audit_log_task() local
2350 current_uid_gid(&uid, &gid); in audit_log_task()
2355 from_kgid(&init_user_ns, gid), in audit_log_task()