lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 23 Aug 2007 13:07:30 -0700 (PDT) From: David Miller <davem@...emloft.net> To: latten@...tin.ibm.com Cc: netdev@...r.kernel.org, linux-audit@...hat.com, sgrubb@...hat.com Subject: Re: [PATCH] improved xfrm_audit_log() patch From: Joy Latten <latten@...tin.ibm.com> Date: Thu, 23 Aug 2007 12:15:10 -0500 > For example, when auditing the addition of a policy, either > xfrm_user_audit_policy_add(xp, result, skb) or > pfkey_audit_policy_add(xp, result) will get called. > I need two because xfrm_user gets loginuid/secid from netlink/skb > and pfkey gets it from audit_get_loginuid(). > Each will setup and format audit buffer according > to what they want. > > Also, for deleting, there will be pfkey_audit_policy_delete(xp, result) > and xfrm_user_audit_policy_delete(xp, result, skb). This sounds great. How cheap is the "auditing enabled" test? Perhaps it can be even inlined into the xfrm audit hooks. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists