Lines Matching refs:type
90 int type; member
484 switch (f->type) { in audit_filter_rules()
681 result = security_audit_rule_match(sid, f->type, in audit_filter_rules()
698 f->type, in audit_filter_rules()
705 f->type, in audit_filter_rules()
714 if (!ctx || ctx->type != AUDIT_IPC) in audit_filter_rules()
717 f->type, f->op, in audit_filter_rules()
727 result = audit_comparator(ctx->argv[f->type-AUDIT_ARG0], f->op, f->val); in audit_filter_rules()
916 if (context->type == AUDIT_KERN_MODULE) { in audit_free_module()
1019 ctx->type = 0; /* reset last for audit_free_*() */ in audit_reset_context()
1330 int type; in audit_log_time() local
1332 if (context->type == AUDIT_TIME_ADJNTPVAL) { in audit_log_time()
1333 for (type = 0; type < AUDIT_NTP_NVALS; type++) { in audit_log_time()
1334 if (ntp->vals[type].newval != ntp->vals[type].oldval) { in audit_log_time()
1343 ntp_name[type], in audit_log_time()
1344 ntp->vals[type].oldval, in audit_log_time()
1345 ntp->vals[type].newval); in audit_log_time()
1370 ab = audit_log_start(context, GFP_KERNEL, context->type); in show_special()
1374 switch (context->type) { in show_special()
1573 switch (n->type) { in audit_log_name()
1719 ab = audit_log_start(context, GFP_KERNEL, aux->type); in audit_log_exit()
1723 switch (aux->type) { in audit_log_exit()
1749 if (context->type) in audit_log_exit()
2169 unsigned char type) in audit_alloc_name() argument
2184 aname->type = type; in audit_alloc_name()
2310 if (f->type == AUDIT_FSTYPE in __audit_inode()
2331 if (n->type == AUDIT_TYPE_PARENT || in __audit_inode()
2332 n->type == AUDIT_TYPE_UNKNOWN) in __audit_inode()
2335 if (n->type != AUDIT_TYPE_PARENT) in __audit_inode()
2356 if (n->type == AUDIT_TYPE_PARENT || in __audit_inode()
2357 n->type == AUDIT_TYPE_UNKNOWN) in __audit_inode()
2360 if (n->type != AUDIT_TYPE_PARENT) in __audit_inode()
2378 n->type = AUDIT_TYPE_PARENT; in __audit_inode()
2383 n->type = AUDIT_TYPE_NORMAL; in __audit_inode()
2410 const unsigned char type) in __audit_inode_child() argument
2428 if (f->type == AUDIT_FSTYPE in __audit_inode_child()
2445 (n->type != AUDIT_TYPE_PARENT && in __audit_inode_child()
2446 n->type != AUDIT_TYPE_UNKNOWN)) in __audit_inode_child()
2452 if (n->type == AUDIT_TYPE_UNKNOWN) in __audit_inode_child()
2453 n->type = AUDIT_TYPE_PARENT; in __audit_inode_child()
2465 (n->type != type && n->type != AUDIT_TYPE_UNKNOWN)) in __audit_inode_child()
2473 if (n->type == AUDIT_TYPE_UNKNOWN) in __audit_inode_child()
2474 n->type = type; in __audit_inode_child()
2489 found_child = audit_alloc_name(context, type); in __audit_inode_child()
2554 context->type = AUDIT_MQ_OPEN; in __audit_mq_open()
2580 context->type = AUDIT_MQ_SENDRECV; in __audit_mq_sendrecv()
2600 context->type = AUDIT_MQ_NOTIFY; in __audit_mq_notify()
2615 context->type = AUDIT_MQ_GETSETATTR; in __audit_mq_getsetattr()
2632 context->type = AUDIT_IPC; in __audit_ipc_obj()
2659 context->type = AUDIT_EXECVE; in __audit_bprm()
2676 context->type = AUDIT_SOCKETCALL; in __audit_socketcall()
2766 axp->d.type = AUDIT_OBJ_PID; in audit_signal_info_syscall()
2805 ax->d.type = AUDIT_BPRM_FCAPS; in __audit_log_bprm_fcaps()
2847 context->type = AUDIT_CAPSET; in __audit_log_capset()
2856 context->type = AUDIT_MMAP; in __audit_mmap_fd()
2866 context->type = AUDIT_OPENAT2; in __audit_openat2_how()
2876 context->type = AUDIT_KERN_MODULE; in __audit_log_kern_module()
2890 if (!context->type) in __audit_tk_injoffset()
2891 context->type = AUDIT_TIME_INJOFFSET; in __audit_tk_injoffset()
2898 int type; in __audit_ntp_log() local
2900 for (type = 0; type < AUDIT_NTP_NVALS; type++) in __audit_ntp_log()
2901 if (ad->vals[type].newval != ad->vals[type].oldval) { in __audit_ntp_log()
2903 context->type = AUDIT_TIME_ADJNTPVAL; in __audit_ntp_log()