diff options
author | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2015-04-21 13:59:31 -0400 |
---|---|---|
committer | Luis Henriques <luis.henriques@canonical.com> | 2015-08-11 09:57:28 +0100 |
commit | 20267e45276da9d4f4cb7f4bb274ccdc94b9cc22 (patch) | |
tree | ed64e01f47f2ef0b861049597274c94ef6da33fe /kernel | |
parent | 9760c0f9a5a7dbfb696b799189609a3471151cb5 (diff) | |
download | linux-stable-20267e45276da9d4f4cb7f4bb274ccdc94b9cc22.tar.gz linux-stable-20267e45276da9d4f4cb7f4bb274ccdc94b9cc22.tar.bz2 linux-stable-20267e45276da9d4f4cb7f4bb274ccdc94b9cc22.zip |
evm: labeling pseudo filesystems exception
commit 5101a1850bb7ccbf107929dee9af0cd2f400940f upstream.
To prevent offline stripping of existing file xattrs and relabeling of
them at runtime, EVM allows only newly created files to be labeled. As
pseudo filesystems are not persistent, stripping of xattrs is not a
concern.
Some LSMs defer file labeling on pseudo filesystems. This patch
permits the labeling of existing files on pseudo files systems.
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
[ luis: backported to 3.16:
- added magic.h header file ]
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions