public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
From: Joy Latten <latten@austin.ibm.com>
To: James Morris <jmorris@namei.org>
Cc: netdev@vger.kernel.org, davem@davemloft.net,
	linux-audit@redhat.com, sgrubb@redhat.com
Subject: Re: [PATCH] make xfrm_audit_log more generic
Date: Mon, 23 Jul 2007 12:49:17 -0500	[thread overview]
Message-ID: <1185212957.15699.322.camel@faith.austin.ibm.com> (raw)
In-Reply-To: <Line.LNX.4.64.0707192140350.12692@d.namei>

On Thu, 2007-07-19 at 21:45 -0400, James Morris wrote:
> On Thu, 19 Jul 2007, Joy Latten wrote:
> 
> > --- linux-2.6.22/include/linux/audit.h	2007-07-19 13:17:22.000000000 -0500
> > +++ linux-2.6.22.patch/include/linux/audit.h	2007-07-19 13:21:29.000000000 -0500
> > @@ -108,10 +108,7 @@
> >  #define AUDIT_MAC_CIPSOV4_DEL	1408	/* NetLabel: del CIPSOv4 DOI entry */
> >  #define AUDIT_MAC_MAP_ADD	1409	/* NetLabel: add LSM domain mapping */
> >  #define AUDIT_MAC_MAP_DEL	1410	/* NetLabel: del LSM domain mapping */
> > -#define AUDIT_MAC_IPSEC_ADDSA	1411	/* Add a XFRM state */
> > -#define AUDIT_MAC_IPSEC_DELSA	1412	/* Delete a XFRM state */
> > -#define AUDIT_MAC_IPSEC_ADDSPD	1413	/* Add a XFRM policy */
> > -#define AUDIT_MAC_IPSEC_DELSPD	1414	/* Delete a XFRM policy */
> > +#define AUDIT_MAC_IPSEC_EVENT	1411	/* Audit IPSec events */
> 
> Will this cause existing applications to break?
> 

Perhaps someone in audit list could help answer this. 

During testing, because I changed the above defines, all
IPSec events are listed as "MAC_IPSEC_ADDSA" for now without
userspace change. Is this ok? Or is there a better way to 
migrate this change in? Perhaps leave previous IPsec defines 
and just add in a new one and use it? If that is better
approach, let me know and I will change code to accomodate.

Regards,
Joy
 

  reply	other threads:[~2007-07-23 17:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-19 22:42 [PATCH] make xfrm_audit_log more generic Joy Latten
2007-07-20  1:45 ` James Morris
2007-07-23 17:49   ` Joy Latten [this message]
2007-07-23 18:11     ` Steve Grubb

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1185212957.15699.322.camel@faith.austin.ibm.com \
    --to=latten@austin.ibm.com \
    --cc=davem@davemloft.net \
    --cc=jmorris@namei.org \
    --cc=linux-audit@redhat.com \
    --cc=netdev@vger.kernel.org \
    --cc=sgrubb@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox