On Friday 02 May 2008, Jeff Schroeder wrote: [ Btrfs oops with apparmor patched in ]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 --
| H. Peter Anvin | Re: [RFC 00/15] x86_64: Optimize percpu accesses |
| Linus Torvalds | Linux 2.6.27-rc5 |
| Ingo Molnar | [announce] "kill the Big Kernel Lock (BKL)" tree |
| Greg KH | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
git: | |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Ben Hutchings | Re: [GIT]: Networking |
| Jarek Poplawski | [PATCH iproute2] Re: HTB accuracy for high speed |
