BACKPORT: Smack: Label cgroup files for systemd
authorCasey Schaufler <casey@schaufler-ca.com>
Mon, 28 Apr 2014 22:23:01 +0000 (15:23 -0700)
committerRafal Krypa <r.krypa@samsung.com>
Thu, 30 Jun 2016 12:57:36 +0000 (14:57 +0200)
commit829048ae37834ac3834aa731c3d288b96fa63071
tree79503617f6481de9e982571a1dc1846faec5b016
parenta24886fcee3e13c62e990716e53f72c8a523ba9b
BACKPORT: Smack: Label cgroup files for systemd

The cgroup filesystem isn't ready for an LSM to
properly use extented attributes. This patch makes
files created in the cgroup filesystem usable by
a system running Smack and systemd.

Targeted for git://git.gitorious.org/smack-next/kernel.git

Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
(cherry-picked from upstream 36ea735b522d09826ae0dac0e540f294436c52f3)
security/smack/smack_lsm.c