Home
last modified time | relevance | path

Searched refs:ad (Results 1 – 10 of 10) sorted by relevance

/security/smack/
Dsmack_lsm.c423 struct smk_audit_info ad, *saip = NULL; in smk_ptrace_rule_check() local
429 smk_ad_init(&ad, func, LSM_AUDIT_DATA_TASK); in smk_ptrace_rule_check()
430 smk_ad_setfield_u_tsk(&ad, tracer); in smk_ptrace_rule_check()
431 saip = &ad; in smk_ptrace_rule_check()
884 struct smk_audit_info ad; in smack_sb_statfs() local
886 smk_ad_init(&ad, __func__, LSM_AUDIT_DATA_DENTRY); in smack_sb_statfs()
887 smk_ad_setfield_u_fs_path_dentry(&ad, dentry); in smack_sb_statfs()
889 rc = smk_curacc(sbp->smk_floor, MAY_READ, &ad); in smack_sb_statfs()
1050 struct smk_audit_info ad; in smack_inode_link() local
1053 smk_ad_init(&ad, __func__, LSM_AUDIT_DATA_DENTRY); in smack_inode_link()
[all …]
Dsmack_access.c313 struct common_audit_data *ad = a; in smack_log_callback() local
314 struct smack_audit_data *sad = ad->smack_audit_data; in smack_log_callback()
316 ad->smack_audit_data->function, in smack_log_callback()
340 int result, struct smk_audit_info *ad) in smack_log() argument
348 struct common_audit_data *a = &ad->a; in smack_log()
387 int result, struct smk_audit_info *ad) in smack_log() argument
/security/selinux/
Dhooks.c1652 struct common_audit_data ad; in cred_has_capability() local
1659 ad.type = LSM_AUDIT_DATA_CAP; in cred_has_capability()
1660 ad.u.cap = cap; in cred_has_capability()
1679 sid, sid, sclass, av, &avd, rc, &ad, 0); in cred_has_capability()
1717 struct common_audit_data ad; in dentry_has_perm() local
1719 ad.type = LSM_AUDIT_DATA_DENTRY; in dentry_has_perm()
1720 ad.u.dentry = dentry; in dentry_has_perm()
1722 return inode_has_perm(cred, inode, av, &ad); in dentry_has_perm()
1733 struct common_audit_data ad; in path_has_perm() local
1735 ad.type = LSM_AUDIT_DATA_PATH; in path_has_perm()
[all …]
Dxfrm.c405 struct common_audit_data *ad) in selinux_xfrm_sock_rcv_skb() argument
428 SECCLASS_ASSOCIATION, ASSOCIATION__RECVFROM, ad); in selinux_xfrm_sock_rcv_skb()
439 struct common_audit_data *ad, u8 proto) in selinux_xfrm_postroute_last() argument
471 SECCLASS_ASSOCIATION, ASSOCIATION__SENDTO, ad); in selinux_xfrm_postroute_last()
Davc.c419 struct common_audit_data *ad) in avc_xperms_audit() argument
428 audited, denied, result, ad); in avc_xperms_audit()
663 struct common_audit_data *ad = a; in avc_audit_pre_callback() local
664 struct selinux_audit_data *sad = ad->selinux_audit_data; in avc_audit_pre_callback()
704 struct common_audit_data *ad = a; in avc_audit_post_callback() local
705 struct selinux_audit_data *sad = ad->selinux_audit_data; in avc_audit_post_callback()
1035 u8 driver, u8 xperm, struct common_audit_data *ad) in avc_has_extended_perms() argument
1104 &avd, xpd, xperm, rc, ad); in avc_has_extended_perms()
Dnetlabel.c431 struct common_audit_data *ad) in selinux_netlbl_sock_rcv_skb() argument
464 sksec->sid, nlbl_sid, sksec->sclass, perm, ad); in selinux_netlbl_sock_rcv_skb()
/security/
Dlsm_audit.c40 struct common_audit_data *ad, u8 *proto) in ipv4_skb_to_auditdata() argument
49 ad->u.net->v4info.saddr = ih->saddr; in ipv4_skb_to_auditdata()
50 ad->u.net->v4info.daddr = ih->daddr; in ipv4_skb_to_auditdata()
64 ad->u.net->sport = th->source; in ipv4_skb_to_auditdata()
65 ad->u.net->dport = th->dest; in ipv4_skb_to_auditdata()
73 ad->u.net->sport = uh->source; in ipv4_skb_to_auditdata()
74 ad->u.net->dport = uh->dest; in ipv4_skb_to_auditdata()
82 ad->u.net->sport = dh->dccph_sport; in ipv4_skb_to_auditdata()
83 ad->u.net->dport = dh->dccph_dport; in ipv4_skb_to_auditdata()
90 ad->u.net->sport = sh->source; in ipv4_skb_to_auditdata()
[all …]
/security/selinux/include/
Dxfrm.h40 struct common_audit_data *ad);
42 struct common_audit_data *ad, u8 proto);
62 struct common_audit_data *ad) in selinux_xfrm_sock_rcv_skb() argument
68 struct common_audit_data *ad, in selinux_xfrm_postroute_last() argument
Dnetlabel.h51 struct common_audit_data *ad);
134 struct common_audit_data *ad) in selinux_netlbl_sock_rcv_skb() argument
Davc.h166 u8 driver, u8 perm, struct common_audit_data *ad);