summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJames Morris <jmorris@redhat.com>2004-11-17 22:26:01 -0800
committerDavid S. Miller <davem@nuts.davemloft.net>2004-11-17 22:26:01 -0800
commitbfa523d1df4634ac74e412d0dc3afb9620071d00 (patch)
tree627b11514477ab88b467dd8e569405279d36882e /lib
parent0cfbca35d262d806dd83f3198bf0989674bbcdc9 (diff)
[AF_UNIX]: Fix SELinux crashes with SOCK_SEQPACKET
1) Don't call security_unix_may_send() hook during sendmsg() for SOCK_SEQPACKET, and ensure that sendmsg() can only be called on a connected socket so as not to bypass the security_unix_stream_connect() hook. 2) Return -EINVAL if sendto() is called on SOCK_SEQPACKET with an address supplied. Signed-off-by: James Morris <jmorris@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions