lsm: Remove the socket_post_accept() hook
The socket_post_accept() hook is not currently used by any in-tree modules and its existence continues to cause problems by confusing people about what can be safely accomplished using this hook. If a legitimate need for this hook arises in the future it can always be reintroduced. Signed-off-by: Paul Moore <paul.moore@hp.com> Signed-off-by: James Morris <jmorris@namei.org>
This commit is contained in:
@@ -1007,11 +1007,6 @@ int security_socket_accept(struct socket *sock, struct socket *newsock)
|
||||
return security_ops->socket_accept(sock, newsock);
|
||||
}
|
||||
|
||||
void security_socket_post_accept(struct socket *sock, struct socket *newsock)
|
||||
{
|
||||
security_ops->socket_post_accept(sock, newsock);
|
||||
}
|
||||
|
||||
int security_socket_sendmsg(struct socket *sock, struct msghdr *msg, int size)
|
||||
{
|
||||
return security_ops->socket_sendmsg(sock, msg, size);
|
||||
|
Reference in New Issue
Block a user