]> git.neil.brown.name Git - history.git/commit
[NET]: Add sock_create_lite()
authorJames Morris <jmorris@redhat.com>
Sat, 8 May 2004 08:05:57 +0000 (01:05 -0700)
committerDavid S. Miller <davem@nuts.davemloft.net>
Sat, 8 May 2004 08:05:57 +0000 (01:05 -0700)
commit398b3c447d458db2a7972603b3c36ceb97eb976a
treee9f6271bee7cf0099a04a18f2f453eeab62e5be7
parente2943dca2d5b67e9578111986495483fe720d58b
[NET]: Add sock_create_lite()

The purpose of this is to allow sockets created by the kernel in this way
to be passed through the LSM socket creation hooks and be labeled and
mediated in the same manner as other sockets.

This patches addresses a class of potential issues with LSMs, where such
sockets will not be labeled correctly (if at all), or mediated during
creation.  Under SELinux, it fixes a specific bug where RPC sockets
created by the kernel during TCP NFS serving are unlabeled.
include/linux/net.h
net/bluetooth/rfcomm/core.c
net/netlink/af_netlink.c
net/socket.c
net/sunrpc/svcsock.c