Skip to contentSkip to conversation

filesystem: associate tmpfs_t (shm) to device_t (devtmpfs) file systems

PATCH New Dominick Grift 2 participants 2 messages Sep 24, 2013 – Sep 26, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 5/20 filesystem: associate tmpfs_t (shm) to device_t (devtmpfs) file systems

---
 policy/modules/kernel/filesystem.te | 1 +
 1 file changed, 1 insertion(+)
policy/modules/kernel/filesystem.te +1 -0
index 1c66416..6a332a7 100644
@@ -172,6 +172,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)
Signature · 1 line
1.8.3.1
#1 lore raw

PATCH 5/20 filesystem: associate tmpfs_t (shm) to device_t (devtmpfs) file systems

Quoted 10 lines · Dominick Grift
---
 policy/modules/kernel/filesystem.te | 1 +
 1 file changed, 1 insertion(+)
policy/modules/kernel/filesystem.te +0 -0
index 1c66416..6a332a7 100644

policy/modules/kernel/filesystem.te genfscon vxfs / gen_context(system_u:object_r:vxfs_t,s0) · line 178

Quoted 7 lines
policy/modules/kernel/filesystem.te +1 -0
@@ -172,6 +172,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)

Merged.

--
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com