[apparmor] [PATCH] build on non-Linux systems again

Kees Cook kees at ubuntu.com
Sat May 5 19:29:56 UTC 2012


On Sat, May 05, 2012 at 12:24:23PM -0700, John Johansen wrote:
> On 05/05/2012 12:12 PM, Kees Cook wrote:
> > This uses sys/capability.h instead of linux/capability.h, so that AppArmor
> > can build on non-Linux systems again.
> > 
> > Signed-off-by: Kees Cook <kees at ubuntu.com>
> > 
> Hrmm, we need something different here
> 
> r2008 was added specifically because using sys/capability.h was causing builds
> to fail. My memory is really fuzzy but I think there where two issues a libcap2
> dependency, and some capabilities missing from the sys/ variant that where
> present in the linux variant.

Hrm, my tests showed them producing the same output on Linux. Though, that
said, now my builds are failing on Linux (and not on Debian kfreebsd). So,
this still needs work.

Where was sys/ missing stuff?

-Kees

-- 
Kees Cook



More information about the AppArmor mailing list