Home
last modified time | relevance | path

Searched refs:audit_info (Results 1 – 21 of 21) sorted by relevance

/linux-3.4.99/include/net/
Dnetlabel.h364 struct netlbl_audit *audit_info);
369 struct netlbl_audit *audit_info);
376 struct netlbl_audit *audit_info);
382 struct netlbl_audit *audit_info);
384 struct netlbl_audit *audit_info);
385 void netlbl_cfg_cipsov4_del(u32 doi, struct netlbl_audit *audit_info);
390 struct netlbl_audit *audit_info);
441 struct netlbl_audit *audit_info);
447 struct netlbl_audit *audit_info) in netlbl_cfg_map_del() argument
455 struct netlbl_audit *audit_info) in netlbl_cfg_unlbl_map_add() argument
[all …]
Dcipso_ipv4.h137 struct netlbl_audit *audit_info);
139 int cipso_v4_doi_remove(u32 doi, struct netlbl_audit *audit_info);
147 struct netlbl_audit *audit_info) in cipso_v4_doi_add() argument
158 struct netlbl_audit *audit_info) in cipso_v4_doi_remove() argument
Dxfrm.h1448 extern int xfrm_state_flush(struct net *net, u8 proto, struct xfrm_audit *audit_info);
1529 int xfrm_policy_flush(struct net *net, u8 type, struct xfrm_audit *audit_info);
/linux-3.4.99/net/netlabel/
Dnetlabel_user.h50 struct netlbl_audit *audit_info) in netlbl_netlink_auditinfo() argument
52 security_task_getsecid(current, &audit_info->secid); in netlbl_netlink_auditinfo()
53 audit_info->loginuid = audit_get_loginuid(current); in netlbl_netlink_auditinfo()
54 audit_info->sessionid = audit_get_sessionid(current); in netlbl_netlink_auditinfo()
64 struct netlbl_audit *audit_info);
Dnetlabel_domainhash.h88 struct netlbl_audit *audit_info);
90 struct netlbl_audit *audit_info);
92 struct netlbl_audit *audit_info);
96 struct netlbl_audit *audit_info);
97 int netlbl_domhsh_remove(const char *domain, struct netlbl_audit *audit_info);
98 int netlbl_domhsh_remove_default(struct netlbl_audit *audit_info);
Dnetlabel_user.c98 struct netlbl_audit *audit_info) in netlbl_audit_start_common() argument
112 audit_info->loginuid, in netlbl_audit_start_common()
113 audit_info->sessionid); in netlbl_audit_start_common()
115 if (audit_info->secid != 0 && in netlbl_audit_start_common()
116 security_secid_to_secctx(audit_info->secid, in netlbl_audit_start_common()
Dnetlabel_domainhash.c203 struct netlbl_audit *audit_info) in netlbl_domhsh_audit_add() argument
209 audit_buf = netlbl_audit_start_common(AUDIT_MAC_MAP_ADD, audit_info); in netlbl_domhsh_audit_add()
368 struct netlbl_audit *audit_info) in netlbl_domhsh_add() argument
409 ret_val, audit_info); in netlbl_domhsh_add()
414 ret_val, audit_info); in netlbl_domhsh_add()
418 ret_val, audit_info); in netlbl_domhsh_add()
454 ret_val, audit_info); in netlbl_domhsh_add()
465 ret_val, audit_info); in netlbl_domhsh_add()
491 struct netlbl_audit *audit_info) in netlbl_domhsh_add_default() argument
493 return netlbl_domhsh_add(entry, audit_info); in netlbl_domhsh_add_default()
[all …]
Dnetlabel_unlabeled.c390 struct netlbl_audit *audit_info) in netlbl_unlhsh_add() argument
425 audit_info); in netlbl_unlhsh_add()
490 struct netlbl_audit *audit_info) in netlbl_unlhsh_remove_addr4() argument
509 audit_info); in netlbl_unlhsh_remove_addr4()
552 struct netlbl_audit *audit_info) in netlbl_unlhsh_remove_addr6() argument
570 audit_info); in netlbl_unlhsh_remove_addr6()
653 struct netlbl_audit *audit_info) in netlbl_unlhsh_remove() argument
681 audit_info); in netlbl_unlhsh_remove()
687 audit_info); in netlbl_unlhsh_remove()
757 struct netlbl_audit *audit_info) in netlbl_unlabel_acceptflg_set() argument
[all …]
Dnetlabel_cipso_v4.c58 struct netlbl_audit *audit_info; member
143 struct netlbl_audit *audit_info) in netlbl_cipsov4_add_std() argument
322 ret_val = cipso_v4_doi_add(doi_def, audit_info); in netlbl_cipsov4_add_std()
345 struct netlbl_audit *audit_info) in netlbl_cipsov4_add_pass() argument
362 ret_val = cipso_v4_doi_add(doi_def, audit_info); in netlbl_cipsov4_add_pass()
384 struct netlbl_audit *audit_info) in netlbl_cipsov4_add_local() argument
401 ret_val = cipso_v4_doi_add(doi_def, audit_info); in netlbl_cipsov4_add_local()
425 struct netlbl_audit audit_info; in netlbl_cipsov4_add() local
431 netlbl_netlink_auditinfo(skb, &audit_info); in netlbl_cipsov4_add()
434 ret_val = netlbl_cipsov4_add_std(info, &audit_info); in netlbl_cipsov4_add()
[all …]
Dnetlabel_kapi.c73 struct netlbl_audit *audit_info) in netlbl_cfg_map_del() argument
76 return netlbl_domhsh_remove(domain, audit_info); in netlbl_cfg_map_del()
81 audit_info); in netlbl_cfg_map_del()
107 struct netlbl_audit *audit_info) in netlbl_cfg_unlbl_map_add() argument
184 ret_val = netlbl_domhsh_add(entry, audit_info); in netlbl_cfg_unlbl_map_add()
222 struct netlbl_audit *audit_info) in netlbl_cfg_unlbl_static_add() argument
241 secid, audit_info); in netlbl_cfg_unlbl_static_add()
265 struct netlbl_audit *audit_info) in netlbl_cfg_unlbl_static_del() argument
284 audit_info); in netlbl_cfg_unlbl_static_del()
298 struct netlbl_audit *audit_info) in netlbl_cfg_cipsov4_add() argument
[all …]
Dnetlabel_mgmt.c94 struct netlbl_audit *audit_info) in netlbl_mgmt_add_common() argument
239 ret_val = netlbl_domhsh_add(entry, audit_info); in netlbl_mgmt_add_common()
390 struct netlbl_audit audit_info; in netlbl_mgmt_add() local
404 netlbl_netlink_auditinfo(skb, &audit_info); in netlbl_mgmt_add()
406 return netlbl_mgmt_add_common(info, &audit_info); in netlbl_mgmt_add()
422 struct netlbl_audit audit_info; in netlbl_mgmt_remove() local
427 netlbl_netlink_auditinfo(skb, &audit_info); in netlbl_mgmt_remove()
430 return netlbl_domhsh_remove(domain, &audit_info); in netlbl_mgmt_remove()
513 struct netlbl_audit audit_info; in netlbl_mgmt_adddef() local
526 netlbl_netlink_auditinfo(skb, &audit_info); in netlbl_mgmt_adddef()
[all …]
Dnetlabel_unlabeled.h230 struct netlbl_audit *audit_info);
236 struct netlbl_audit *audit_info);
/linux-3.4.99/security/integrity/ima/
Dima_queue.c113 int audit_info = 1; in ima_add_template_entry() local
129 audit_info = 0; in ima_add_template_entry()
141 audit_info = 0; in ima_add_template_entry()
147 op, audit_cause, result, audit_info); in ima_add_template_entry()
Dima_audit.c36 const char *cause, int result, int audit_info) in integrity_audit_msg() argument
40 if (!ima_audit && audit_info == 1) /* Skip informational messages */ in integrity_audit_msg()
Dima_policy.c210 int audit_info = 0; in ima_update_policy() local
218 NULL, op, cause, result, audit_info); in ima_update_policy()
438 int audit_info = 0; in ima_parse_add_rule() local
444 -EACCES, audit_info); in ima_parse_add_rule()
451 NULL, op, "-ENOMEM", -ENOMEM, audit_info); in ima_parse_add_rule()
470 audit_info); in ima_parse_add_rule()
/linux-3.4.99/net/xfrm/
Dxfrm_policy.c689 xfrm_policy_flush_secctx_check(struct net *net, u8 type, struct xfrm_audit *audit_info) in xfrm_policy_flush_secctx_check() argument
705 audit_info->loginuid, in xfrm_policy_flush_secctx_check()
706 audit_info->sessionid, in xfrm_policy_flush_secctx_check()
707 audit_info->secid); in xfrm_policy_flush_secctx_check()
721 audit_info->loginuid, in xfrm_policy_flush_secctx_check()
722 audit_info->sessionid, in xfrm_policy_flush_secctx_check()
723 audit_info->secid); in xfrm_policy_flush_secctx_check()
733 xfrm_policy_flush_secctx_check(struct net *net, u8 type, struct xfrm_audit *audit_info) in xfrm_policy_flush_secctx_check() argument
739 int xfrm_policy_flush(struct net *net, u8 type, struct xfrm_audit *audit_info) in xfrm_policy_flush() argument
745 err = xfrm_policy_flush_secctx_check(net, type, audit_info); in xfrm_policy_flush()
[all …]
Dxfrm_state.c570 xfrm_state_flush_secctx_check(struct net *net, u8 proto, struct xfrm_audit *audit_info) in xfrm_state_flush_secctx_check() argument
582 audit_info->loginuid, in xfrm_state_flush_secctx_check()
583 audit_info->sessionid, in xfrm_state_flush_secctx_check()
584 audit_info->secid); in xfrm_state_flush_secctx_check()
594 xfrm_state_flush_secctx_check(struct net *net, u8 proto, struct xfrm_audit *audit_info) in xfrm_state_flush_secctx_check() argument
600 int xfrm_state_flush(struct net *net, u8 proto, struct xfrm_audit *audit_info) in xfrm_state_flush() argument
605 err = xfrm_state_flush_secctx_check(net, proto, audit_info); in xfrm_state_flush()
622 audit_info->loginuid, in xfrm_state_flush()
623 audit_info->sessionid, in xfrm_state_flush()
624 audit_info->secid); in xfrm_state_flush()
[all …]
Dxfrm_user.c1666 struct xfrm_audit audit_info; in xfrm_flush_sa() local
1669 audit_info.loginuid = audit_get_loginuid(current); in xfrm_flush_sa()
1670 audit_info.sessionid = audit_get_sessionid(current); in xfrm_flush_sa()
1671 security_task_getsecid(current, &audit_info.secid); in xfrm_flush_sa()
1672 err = xfrm_state_flush(net, p->proto, &audit_info); in xfrm_flush_sa()
1845 struct xfrm_audit audit_info; in xfrm_flush_policy() local
1851 audit_info.loginuid = audit_get_loginuid(current); in xfrm_flush_policy()
1852 audit_info.sessionid = audit_get_sessionid(current); in xfrm_flush_policy()
1853 security_task_getsecid(current, &audit_info.secid); in xfrm_flush_policy()
1854 err = xfrm_policy_flush(net, type, &audit_info); in xfrm_flush_policy()
/linux-3.4.99/security/smack/
Dsmackfs.c895 struct netlbl_audit audit_info; in smk_write_netlbladdr() local
969 smk_netlabel_audit_set(&audit_info); in smk_write_netlbladdr()
988 PF_INET, &audit_info); in smk_write_netlbladdr()
1002 smack_to_secid(skp->smk_label), &audit_info); in smk_write_netlbladdr()
/linux-3.4.99/net/ipv4/
Dcipso_ipv4.c468 struct netlbl_audit *audit_info) in cipso_v4_doi_add() argument
516 audit_buf = netlbl_audit_start(AUDIT_MAC_CIPSOV4_ADD, audit_info); in cipso_v4_doi_add()
594 int cipso_v4_doi_remove(u32 doi, struct netlbl_audit *audit_info) in cipso_v4_doi_remove() argument
620 audit_buf = netlbl_audit_start(AUDIT_MAC_CIPSOV4_DEL, audit_info); in cipso_v4_doi_remove()
/linux-3.4.99/net/key/
Daf_key.c1720 struct xfrm_audit audit_info; in pfkey_flush() local
1727 audit_info.loginuid = audit_get_loginuid(current); in pfkey_flush()
1728 audit_info.sessionid = audit_get_sessionid(current); in pfkey_flush()
1729 audit_info.secid = 0; in pfkey_flush()
1730 err = xfrm_state_flush(net, proto, &audit_info); in pfkey_flush()
2702 struct xfrm_audit audit_info; in pfkey_spdflush() local
2705 audit_info.loginuid = audit_get_loginuid(current); in pfkey_spdflush()
2706 audit_info.sessionid = audit_get_sessionid(current); in pfkey_spdflush()
2707 audit_info.secid = 0; in pfkey_spdflush()
2708 err = xfrm_policy_flush(net, XFRM_POLICY_TYPE_MAIN, &audit_info); in pfkey_spdflush()