Re: LSM conversion to static interface [revert patch]

From: James Morris
Date: Tue Oct 23 2007 - 00:57:29 EST


On Mon, 22 Oct 2007, Arjan van de Ven wrote:

> @@ -4895,6 +4908,7 @@ static struct security_operations selinu
> .sem_semop = selinux_sem_semop,
>
> .register_security = selinux_register_security,
> + .unregister_security = selinux_unregister_security,
>
> .d_instantiate = selinux_d_instantiate,

You also need to consider whether to allow capabilities to be built as an
unloadable module. If not, then we don't need this hook added back into
SELinux. Otherwise, if it is desired, you also need to reinstate
capability_exit and general modular bits for security/capability.c.


- 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/