]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit63e6e845ebf4e2df2f80d4ccbc96e8bc1e8264ab
treeabc57f38cf659d4031d5a9915a088f2c47b2cc7e
parentc42929975e6759a0084ab7230ac21b7c4b6ecd57
Revert "SELinux: use SECINITSID_NETMSG instead of SECINITSID_UNLABELED for NetLabel"

This reverts commit 6fd0de5d23a15df79217f50ff4f4a52b34a80bfc.

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