Re: [PATCH try #3] security: Convert LSM into a static interface

From: James Morris
Date: Thu Jul 19 2007 - 09:20:16 EST


On Thu, 19 Jul 2007, James Morris wrote:

> On Thu, 19 Jul 2007, Jim Kovaric wrote:
>
> > IBMs TAMOS (Tivoli Access Manager for Operating systems) contains a
> > loadable module,
> > which is an "out of tree module", and registers "itself" as a security
> > module during the TAMOS startup
> > process. It also requires that SElinux be "disabled"
>
> Please provide a link to the source code, so we can understand how you're
> using the API.

I think I've found it:

ftp://ftp.software.ibm.com/software/tivoli_support/patches/patches_6.0.0/6.0.0-TIV-PDO-FP0007/6.0.0-TIV-PDO-Linux.i386-FP0007.tar

Is that correct?

kail_trap_syscalls()

seems to be revectoring the syscall table and siliently disabling any
active LSM.


kail_restore_syscalls()

attempts to restore them on module unload.


Is my understanding correct?

You're shipping this to customers as a security feature?


- James
--
James Morris
<jmorris@xxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/