Revert "selinux: consider filesystem subtype in policies"
authorLinus Torvalds <torvalds@linux-foundation.org>
Sun, 15 Dec 2013 19:17:45 +0000 (11:17 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 15 Dec 2013 19:17:45 +0000 (11:17 -0800)
commit29b1deb2a48a9dd02b93597aa4c055a24c0e989f
tree7e179afa1380b31646512aa5cf025e7b162c4885
parent0925f2cdf9d11fb24130d00d6bbea84502610535
Revert "selinux: consider filesystem subtype in policies"

This reverts commit 102aefdda4d8275ce7d7100bc16c88c74272b260.

Tom London reports that it causes sync() to hang on Fedora rawhide:

  https://bugzilla.redhat.com/show_bug.cgi?id=1033965

and Josh Boyer bisected it down to this commit.  Reverting the commit in
the rawhide kernel fixes the problem.

Eric Paris root-caused it to incorrect subtype matching in that commit
breaking fuse, and has a tentative patch, but by now we're better off
retrying this in 3.14 rather than playing with it any more.

Reported-by: Tom London <selinux@gmail.com>
Bisected-by: Josh Boyer <jwboyer@fedoraproject.org>
Acked-by: Eric Paris <eparis@redhat.com>
Cc: James Morris <jmorris@namei.org>
Cc: Anand Avati <avati@redhat.com>
Cc: Paul Moore <paul@paul-moore.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
security/selinux/hooks.c
security/selinux/ss/services.c