Problems compiling selinux release (2003011510) for 2.4.20 kernel
Subsystems (2)
Quoted 6 lines
Sorry, the attached patch (also committed to the sourceforge CVS tree) should fix this problem. Save it to
~/acct.patch, cd lsm-2.4, patch -p1 <~/acct.patch, rebuild your kernel. Make sure that you've enabled the newCONFIG_SECURITYoption (Enable different security models) in your kernel configuration.
The same problem also exists for the fs/dquot.c file, if you have quota support enabled. The attached patch (also committed to the sourceforge CVS tree) should fix this problem. Thanks to Russell Coker for reporting it.
--
Stephen Smalley, NSA
[email protected]
Index: lsm-2.4/fs/dquot.c
===================================================================
RCS file: /cvsroot/selinux/nsa/lsm-2.4/fs/dquot.c,v retrieving revision 1.1.1.3
fs/dquot.c +1 -0
@@ -61,6 +61,7 @@#include <linux/slab.h> #include <linux/smp_lock.h> #include <linux/init.h> +#include <linux/security.h> #include <asm/uaccess.h>