On Fri, 9 Nov 2001, Hugo F. Martinez wrote:
> Hi i just installed selinux-200110161355 on RedHat 7.1 compiled ok but
> when i want to compile a module for my pcmcia card (WaveLAN) i get the
> following error message.
>
> [root@radon-ntb wireless]# make all
> cc -MD -O3 -Wall -Wstrict-prototypes -pipe -I../include/static
> -I/usr/src/slinux/kernel/include -I../include -D__KERNEL__ -DMODULE -c
> netwave_cs.c
> In file included from /usr/src/slinux/kernel/include/asm/uaccess.h:8,
> from ../include/static/asm/uaccess.h:49,
> from ../include/pcmcia/k_compat.h:161,
> from netwave_cs.c:41:
> /usr/src/slinux/kernel/include/linux/sched.h: In function
> `process_file_mac_permission':
> /usr/src/slinux/kernel/include/linux/sched.h:957: structure has no
> member named `i_sid'
> make: *** [netwave_cs.o] Error 1
Looks like you still have the old SELinux prototype in /usr/src/slinux. If you are using the new LSM-based SELinux prototype, then you should be building your modules against the LSM kernel, so you should be pulling your kernel headers from lsm/include.
-- Stephen D. Smalley, NAI Labs ssmalley@nai.com -- You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message.Received on Fri 9 Nov 2001 - 14:52:28 EST
This archive was generated by hypermail 2.2.0 on Wed 11 Jun 2008 - 08:10:26 EDT