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

James Morris
2007-07-19T13:20:16Z

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@namei.org>