Home
last modified time | relevance | path

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

/security/smack/
Dsmack_lsm.c420 struct smk_audit_info ad, *saip = NULL; in smk_ptrace_rule_check() local
426 smk_ad_init(&ad, func, LSM_AUDIT_DATA_TASK); in smk_ptrace_rule_check()
427 smk_ad_setfield_u_tsk(&ad, tracer); in smk_ptrace_rule_check()
428 saip = &ad; in smk_ptrace_rule_check()
859 struct smk_audit_info ad; in smack_sb_statfs() local
861 smk_ad_init(&ad, __func__, LSM_AUDIT_DATA_DENTRY); in smack_sb_statfs()
862 smk_ad_setfield_u_fs_path_dentry(&ad, dentry); in smack_sb_statfs()
864 rc = smk_curacc(sbp->smk_floor, MAY_READ, &ad); in smack_sb_statfs()
1022 struct smk_audit_info ad; in smack_inode_link() local
1025 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.c1651 struct common_audit_data ad; in cred_has_capability() local
1658 ad.type = LSM_AUDIT_DATA_CAP; in cred_has_capability()
1659 ad.u.cap = cap; in cred_has_capability()
1678 sid, sid, sclass, av, &avd, rc, &ad); in cred_has_capability()
1716 struct common_audit_data ad; in dentry_has_perm() local
1718 ad.type = LSM_AUDIT_DATA_DENTRY; in dentry_has_perm()
1719 ad.u.dentry = dentry; in dentry_has_perm()
1721 return inode_has_perm(cred, inode, av, &ad); in dentry_has_perm()
1732 struct common_audit_data ad; in path_has_perm() local
1734 ad.type = LSM_AUDIT_DATA_PATH; in path_has_perm()
[all …]
Dxfrm.c406 struct common_audit_data *ad) in selinux_xfrm_sock_rcv_skb() argument
429 SECCLASS_ASSOCIATION, ASSOCIATION__RECVFROM, ad); in selinux_xfrm_sock_rcv_skb()
440 struct common_audit_data *ad, u8 proto) in selinux_xfrm_postroute_last() argument
472 SECCLASS_ASSOCIATION, ASSOCIATION__SENDTO, ad); in selinux_xfrm_postroute_last()
Davc.c425 struct common_audit_data *ad) in avc_xperms_audit() argument
434 audited, denied, result, ad); in avc_xperms_audit()
674 struct common_audit_data *ad = a; in avc_audit_pre_callback() local
675 struct selinux_audit_data *sad = ad->selinux_audit_data; in avc_audit_pre_callback()
715 struct common_audit_data *ad = a; in avc_audit_post_callback() local
716 struct selinux_audit_data *sad = ad->selinux_audit_data; in avc_audit_post_callback()
1039 u8 driver, u8 xperm, struct common_audit_data *ad) in avc_has_extended_perms() argument
1108 &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.c41 struct common_audit_data *ad, u8 *proto) in ipv4_skb_to_auditdata() argument
50 ad->u.net->v4info.saddr = ih->saddr; in ipv4_skb_to_auditdata()
51 ad->u.net->v4info.daddr = ih->daddr; in ipv4_skb_to_auditdata()
65 ad->u.net->sport = th->source; in ipv4_skb_to_auditdata()
66 ad->u.net->dport = th->dest; in ipv4_skb_to_auditdata()
74 ad->u.net->sport = uh->source; in ipv4_skb_to_auditdata()
75 ad->u.net->dport = uh->dest; in ipv4_skb_to_auditdata()
83 ad->u.net->sport = dh->dccph_sport; in ipv4_skb_to_auditdata()
84 ad->u.net->dport = dh->dccph_dport; in ipv4_skb_to_auditdata()
91 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);
128 struct common_audit_data *ad) in selinux_netlbl_sock_rcv_skb() argument
Davc.h155 u8 driver, u8 perm, struct common_audit_data *ad);