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:Eric Paris <eparis@redhat.com> Acked-by:
Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/isdn/mISDN/socket.c 1 addition, 1 deletiondrivers/isdn/mISDN/socket.c
- drivers/net/pppox.c 2 additions, 1 deletiondrivers/net/pppox.c
- include/linux/net.h 2 additions, 1 deletioninclude/linux/net.h
- net/appletalk/ddp.c 2 additions, 1 deletionnet/appletalk/ddp.c
- net/atm/pvc.c 2 additions, 1 deletionnet/atm/pvc.c
- net/atm/svc.c 4 additions, 3 deletionsnet/atm/svc.c
- net/ax25/af_ax25.c 2 additions, 1 deletionnet/ax25/af_ax25.c
- net/bluetooth/af_bluetooth.c 3 additions, 2 deletionsnet/bluetooth/af_bluetooth.c
- net/bluetooth/bnep/sock.c 2 additions, 1 deletionnet/bluetooth/bnep/sock.c
- net/bluetooth/cmtp/sock.c 2 additions, 1 deletionnet/bluetooth/cmtp/sock.c
- net/bluetooth/hci_sock.c 2 additions, 1 deletionnet/bluetooth/hci_sock.c
- net/bluetooth/hidp/sock.c 2 additions, 1 deletionnet/bluetooth/hidp/sock.c
- net/bluetooth/l2cap.c 2 additions, 1 deletionnet/bluetooth/l2cap.c
- net/bluetooth/rfcomm/sock.c 2 additions, 1 deletionnet/bluetooth/rfcomm/sock.c
- net/bluetooth/sco.c 2 additions, 1 deletionnet/bluetooth/sco.c
- net/can/af_can.c 2 additions, 1 deletionnet/can/af_can.c
- net/decnet/af_decnet.c 2 additions, 1 deletionnet/decnet/af_decnet.c
- net/econet/af_econet.c 2 additions, 1 deletionnet/econet/af_econet.c
- net/ieee802154/af_ieee802154.c 1 addition, 1 deletionnet/ieee802154/af_ieee802154.c
- net/ipv4/af_inet.c 2 additions, 1 deletionnet/ipv4/af_inet.c
Loading
Please register or sign in to comment