Revert "selinux: fix the default socket labeling in sock_graft()"
authorPaul Moore <pmoore@redhat.com>
Mon, 28 Jul 2014 14:42:48 +0000 (10:42 -0400)
committerPaul Moore <pmoore@redhat.com>
Mon, 28 Jul 2014 14:46:07 +0000 (10:46 -0400)
commit2873ead7e46694910ac49c3a8ee0f54956f96e0c
treeca9560e878d2842d45c6f99077d0d8b8f8b0f9ba
parent4da6daf4d3df5a977e4623963f141a627fd2efce
Revert "selinux: fix the default socket labeling in sock_graft()"

This reverts commit 4da6daf4d3df5a977e4623963f141a627fd2efce.

Unfortunately, the commit in question caused problems with Bluetooth
devices, specifically it caused them to get caught in the newly
created BUG_ON() check.  The AF_ALG problem still exists, but will be
addressed in a future patch.

Cc: stable@vger.kernel.org
Signed-off-by: Paul Moore <pmoore@redhat.com>
include/linux/security.h
security/selinux/hooks.c