[apparmor] [PATCH 1/2] Move public mediation class types and perms to apparmor.h

Seth Arnold seth.arnold at canonical.com
Sat Nov 23 00:26:29 UTC 2013


On Fri, Nov 22, 2013 at 11:01:59AM -0800, Tyler Hicks wrote:
> > > diff --git a/parser/dbus.c b/parser/dbus.c
> > > index d408478..f5aaca2 100644
> > > --- a/parser/dbus.c
> > > +++ b/parser/dbus.c
> > > @@ -18,6 +18,7 @@
> > >  
> > >  #include <stdlib.h>
> > >  #include <string.h>
> > > +#include <apparmor.h>
> > >  
> > >  #include "parser.h"
> > >  #include "profile.h"
> > 
> > Note that this means to use the system apparmor.h rather than a version
> > in the source directory where the parser is being compiled.
> 
> That's what it looks like, but take a look at r2219. The parser Makefile
> now tacks on "-I../libraries/libapparmor/src/" to the EXTRA_CXXFLAGS so
> it'll be using the in-tree header.

Does this mean we ought to add the apparmor.h as a dependency for
everything that newly includes it?

Thanks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20131122/2bf7b8e5/attachment.pgp>


More information about the AppArmor mailing list