blob: 094d9e5b6539882b657de881ff4d9b86a328b9e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
Upstream-Status: backport
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
=========================
From e3072cb7bf8f9e09598f01c9eb58d9cfb319d8a1 Mon Sep 17 00:00:00 2001
From: Dominick Grift <dominick.grift@gmail.com>
Date: Tue, 24 Sep 2013 15:39:21 +0200
Subject: [PATCH] filesystem: associate tmpfs_t (shm) to device_t (devtmpfs)
file systems
Signed-off-by: Dominick Grift <dominick.grift@gmail.com>
---
policy/modules/kernel/filesystem.te | 1 +
1 file changed, 1 insertion(+)
diff --git a/policy/modules/kernel/filesystem.te b/policy/modules/kernel/filesystem.te
index ed59e5e..f72cde1 100644
--- a/policy/modules/kernel/filesystem.te
+++ b/policy/modules/kernel/filesystem.te
@@ -177,6 +177,7 @@ genfscon vxfs / gen_context(system_u:object_r:vxfs_t,s0)
# tmpfs_t is the type for tmpfs filesystems
#
type tmpfs_t;
+dev_associate(tmpfs_t)
fs_type(tmpfs_t)
files_type(tmpfs_t)
files_mountpoint(tmpfs_t)
--
1.7.10.4
|