Messages in this thread | | | Date | Fri, 15 Jul 2011 00:00:37 +0100 | From | Alan Cox <> | Subject | Re: [PATCH 2/2] x86: Allow disabling of sys_iopl, sys_ioperm |
| |
> > a) you can do this with a security module > > I can? How? The whole LSM approach seems intractable to me.
It would certainly need some trivial tweaking (to be specific we'd need to move from capable(x) to capable_syscall(x, syscall_code) for those interfaces that mattered, but that would probably be a good thing anyway from the point of view of beating the capability model into something more flexible and would help stuff like SELinux as well I think.
We have an underlying separation of security from the other details - we really should keep it clean that way.
Alan
| |