Skip to content
Snippets Groups Projects
Commit 3f378b68 authored by Eric Paris's avatar Eric Paris Committed by David S. Miller
Browse files

net: pass kern to net_proto_family create function


The generic __sock_create function has a kern argument which allows the
security system to make decisions based on if a socket is being created by
the kernel or by userspace.  This patch passes that flag to the
net_proto_family specific create function, so it can do the same thing.

Signed-off-by: default avatarEric Paris <eparis@redhat.com>
Acked-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 13f18aa0
No related branches found
No related tags found
No related merge requests found
Showing
with 41 additions and 23 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment