Skip to contentSkip to conversation

Problems compiling selinux release (2003011510) for 2.4.20 kernel

DISCUSSION Stephen D. Smalley 1 participant 1 message Jan 21, 2003

Subsystems (2)
lore
Share & tools
lore
#0 lore raw
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 new CONFIG_SECURITY option (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
diff -u -r1.1.1.3 dquot.c
@@ -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>