Revert "SELinux: use SECINITSID_NETMSG instead of SECINITSID_UNLABELED for NetLabel"
authorLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 13 Jul 2007 23:53:18 +0000 (16:53 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 13 Jul 2007 23:53:18 +0000 (16:53 -0700)
commit8d9107e8c50e1c4ff43c91c8841805833f3ecfb9
treeabc57f38cf659d4031d5a9915a088f2c47b2cc7e
parent16cefa8c3863721fd40445a1b34dea18cd16ccfe
Revert "SELinux: use SECINITSID_NETMSG instead of SECINITSID_UNLABELED for NetLabel"

This reverts commit 9faf65fb6ee2b4e08325ba2d69e5ccf0c46453d0.

It bit people like Michal Piotrowski:

  "My system is too secure, I can not login :)"

because it changed how CONFIG_NETLABEL worked, and broke older SElinux
policies.

As a result, quoth James Morris:

  "Can you please revert this patch?

   We thought it only affected people running MLS, but it will affect others.

   Sorry for the hassle."

Cc: James Morris <jmorris@namei.org>
Cc: Stephen Smalley <sds@tycho.nsa.gov>
Cc: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>
Cc: Paul Moore <paul.moore@hp.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
security/selinux/hooks.c
security/selinux/netlabel.c