It is one of the many LSM (Linux security module) hooks that govern the security policy for your system. LSM is actually a framework to allow the kernel to support many security models. Typically there will be a security module that will register itself with the LSM framework of the kernel. And that module will implement all these hooks and thus will set the security policy for your system.
Have a look at include/linux/security.h and security/security.c
Regards,
Ratnadeep
On 4/21/07, Ashwin Rao <
ashwin.shirvanthe@xxxxxxxxx> wrote:
I am trying to understand the behaviour of sockets and the journey of a
a packet in detail. I am stuck in one position.
The __sock_create function calls the security_socket_create.
This function in turn calls the security_ops->socket_create(family,
type, protocol, kern);
I am lost here as I am not able to find out
where this socket_create is registered and who registers this function.
Regards,
Ashwin
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ