diff options
author | Stephen Smalley <sds@tycho.nsa.gov> | 2005-07-28 21:16:21 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-28 21:46:05 -0700 |
commit | 911656f8a630e36b22c7e2bba3317dec9174209c (patch) | |
tree | 2257dd4c04f4d234caf770a748b290b4d144fcf5 /kernel | |
parent | f0b9d796002d9d39575cf1beabfb625f68b507fa (diff) | |
download | blackbird-op-linux-911656f8a630e36b22c7e2bba3317dec9174209c.tar.gz blackbird-op-linux-911656f8a630e36b22c7e2bba3317dec9174209c.zip |
[PATCH] selinux: Fix address length checks in connect hook
This patch fixes the address length checks in the selinux_socket_connect
hook to be no more restrictive than the underlying ipv4 and ipv6 code;
otherwise, this hook can reject valid connect calls. This patch is in
response to a bug report where an application was calling connect on an
INET6 socket with an address that didn't include the optional scope id and
failing due to these checks.
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: James Morris <jmorris@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions