]> err.no Git - linux-2.6/commit
[PATCH] SELinux: fix bug in Netlink message type detection
authorJames Morris <jmorris@redhat.com>
Sat, 16 Apr 2005 22:24:03 +0000 (15:24 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 16 Apr 2005 22:24:03 +0000 (15:24 -0700)
commit388c69789a2a2e50965e805e3e641418082b352c
tree6a715440068d1df09fee5bc2e7e9ac0d8af37cae
parent1db7fc75a410d9a15cbc58a9b073a688669c6d42
[PATCH] SELinux: fix bug in Netlink message type detection

This patch fixes a bug in the SELinux Netlink message type detection code,
where the wrong constant was being used in a case statement.  The incorrect
value is not valid for this class of object so it would not have been
reached, and fallen through to a default handler for all Netlink messages.

Signed-off-by: James Morris <jmorris@redhat.com>
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
security/selinux/nlmsgtab.c