[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <481B3C0E.502@tpi.com>
Date: Fri, 02 May 2008 10:06:38 -0600
From: Tim Gardner <timg@....com>
To: Chris Mason <chris.mason@...cle.com>
CC: jeffschroeder@...puter.org, Jan Engelhardt <jengelh@...ozas.de>,
Jeff Mahoney <jeffm@...e.com>,
Tim Gardner <tim.gardner@...onical.com>,
linux-fsdevel@...r.kernel.org, kernel-team@...ts.ubuntu.com,
linux-kernel@...r.kernel.org, linux-btrfs@...r.kernel.org,
John Johansen <jjohansen@...e.de>
Subject: Re: Btrfs v0.14 Released
Chris Mason wrote:
> On Friday 02 May 2008, Jeff Schroeder wrote:
>
> [ Btrfs oops with apparmor patched in ]
>
>> Make is not my forte, but here is a working test to see if apparmor
>> exists in Ubuntu 8.04.
>> Maybe have make apply a patch to the btrfs source if this test
>> succeeds? Does this work in SUSE?
>>
>> http://www.digitalprognosis.com/opensource/patches/btrfs/lame_apparmor_test
>> _for_btrfs.patch
>>
>
> Thanks, but this uses CONFIG_SECURITY_APPARMOR which isn't enough to tell if
> the kernel has the patch. Lets go back to Jeff's suse patch:
>
> /*
> * Even if AppArmor isn't enabled, it still has different prototypes.
> * Add more distro/version pairs here to declare which has AppArmor applied.
> */
> #if defined(CONFIG_SUSE_KERNEL)
> # if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,22)
> # define REMOVE_SUID_PATH 1
> # endif
> #endif
>
> Could someone from Ubuntu please suggest a replacement for CONFIG_SUSE_KERNEL
> and KERNEL_VERSION(2,6,22) that would correspond with ubuntu kernels shipped
> with apparmor? We don't need some define from the apparmor patch, just a
> global flag that says it comes from ubuntu is enough.
>
> -chris
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
To the best of my knowledge, the AppArmor patches are arch and flavour
independent. If CONFIG_SECURITY_APPARMOR exists, then the AA code is
compiled. This is certainly the case for Hardy. Neither Kees or myself
are aware of any reason why it won't also hold true for Intrepid.
rtg
--
Tim Gardner timg@....com www.tpi.com
OR 503-601-0234 x102 MT 406-443-5357
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists