summaryrefslogtreecommitdiffstats
path: root/recipes-security/refpolicy/refpolicy-2.20130424/filesystem-associate-tmpfs_t-shm-to-device_t-devtmpf.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-security/refpolicy/refpolicy-2.20130424/filesystem-associate-tmpfs_t-shm-to-device_t-devtmpf.patch')
-rw-r--r--recipes-security/refpolicy/refpolicy-2.20130424/filesystem-associate-tmpfs_t-shm-to-device_t-devtmpf.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/recipes-security/refpolicy/refpolicy-2.20130424/filesystem-associate-tmpfs_t-shm-to-device_t-devtmpf.patch b/recipes-security/refpolicy/refpolicy-2.20130424/filesystem-associate-tmpfs_t-shm-to-device_t-devtmpf.patch
deleted file mode 100644
index 094d9e5..0000000
--- a/recipes-security/refpolicy/refpolicy-2.20130424/filesystem-associate-tmpfs_t-shm-to-device_t-devtmpf.patch
+++ /dev/null
@@ -1,30 +0,0 @@
1Upstream-Status: backport
2
3Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
4=========================
5From e3072cb7bf8f9e09598f01c9eb58d9cfb319d8a1 Mon Sep 17 00:00:00 2001
6From: Dominick Grift <dominick.grift@gmail.com>
7Date: Tue, 24 Sep 2013 15:39:21 +0200
8Subject: [PATCH] filesystem: associate tmpfs_t (shm) to device_t (devtmpfs)
9 file systems
10
11Signed-off-by: Dominick Grift <dominick.grift@gmail.com>
12---
13 policy/modules/kernel/filesystem.te | 1 +
14 1 file changed, 1 insertion(+)
15
16diff --git a/policy/modules/kernel/filesystem.te b/policy/modules/kernel/filesystem.te
17index ed59e5e..f72cde1 100644
18--- a/policy/modules/kernel/filesystem.te
19+++ b/policy/modules/kernel/filesystem.te
20@@ -177,6 +177,7 @@ genfscon vxfs / gen_context(system_u:object_r:vxfs_t,s0)
21 # tmpfs_t is the type for tmpfs filesystems
22 #
23 type tmpfs_t;
24+dev_associate(tmpfs_t)
25 fs_type(tmpfs_t)
26 files_type(tmpfs_t)
27 files_mountpoint(tmpfs_t)
28--
291.7.10.4
30