jyteh - 2011-05-30

Dear Omen and users,

Thank you so much for your help given so far. I had been successful in compiling the Enforcer into the Debian Etch 4.1 r0 kernel 2.6.5.

I can compile with :

jyteh:/usr/src/linux-2.6.5#
jyteh:/usr/src/linux-2.6.5# cat .config | grep ENFORCER
CONFIG_SECURITY_ENFORCER=y
CONFIG_ENFORCER_TCPA=y
CONFIG_ENFORCER_DEBUG=y
CONFIG_ENFORCER_DEBUG_TIME= not set

but if :

CONFIG_SECURITY_ENFORCER=y
CONFIG_ENFORCER_TCPA=y
CONFIG_ENFORCER_DEBUG=y
CONFIG_ENFORCER_DEBUG_TIME=y

then I got the following error :

LD      fs/xfs/built-in.o
  CC      fs/dcookies.o
  LD      fs/built-in.o
  CC      ipc/util.o
  CC      ipc/msg.o
  CC      ipc/sem.o
  CC      ipc/shm.o
  LD      ipc/built-in.o
  CC      security/security.o
  CC      security/dummy.o
  CC      security/enforcer/enforcer_lsm.o
security/enforcer/enforcer_lsm.c: In function `inode_permission':
security/enforcer/enforcer_lsm.c:1802: error: structure has no member named `i_inum'
make: ***  Error 1
make: ***  Error 2
make: ***  Error 2
make: Leaving directory `/usr/src/linux-2.6.5'
make: ***  Error 2
jyteh:/usr/src/linux-2.6.5#

I had tried to change root plug support under Security Options from <m> and <*> in make menuconfig and vice-versa but nothing worked. I had made more than 5 attempts but unable to succeed in compiling :

CONFIG_SECURITY_ENFORCER=y
CONFIG_ENFORCER_TCPA=y
CONFIG_ENFORCER_DEBUG=y
CONFIG_ENFORCER_DEBUG_TIME=y

I am using enforcer beta 0.4. Anyone able to compile with all 4 CONFIG_ENFORCER = y?
If yes, appreciate some help. Thanks in advance.

rgds

jyteh.