This commit is contained in:
Miroslav Grepl 2011-05-03 19:50:50 +00:00
parent 6347ee7725
commit cead053ef4

View File

@ -15668,7 +15668,7 @@ index a9b8982..57c4a6a 100644
+/lib/udev/devices/loop.* -b gen_context(system_u:object_r:fixed_disk_device_t,mls_systemhigh) +/lib/udev/devices/loop.* -b gen_context(system_u:object_r:fixed_disk_device_t,mls_systemhigh)
+/lib/udev/devices/fuse -c gen_context(system_u:object_r:fuse_device_t,s0) +/lib/udev/devices/fuse -c gen_context(system_u:object_r:fuse_device_t,s0)
diff --git a/policy/modules/kernel/storage.if b/policy/modules/kernel/storage.if diff --git a/policy/modules/kernel/storage.if b/policy/modules/kernel/storage.if
index 3723150..a137563 100644 index 3723150..097a2cc 100644
--- a/policy/modules/kernel/storage.if --- a/policy/modules/kernel/storage.if
+++ b/policy/modules/kernel/storage.if +++ b/policy/modules/kernel/storage.if
@@ -101,6 +101,8 @@ interface(`storage_raw_read_fixed_disk',` @@ -101,6 +101,8 @@ interface(`storage_raw_read_fixed_disk',`
@ -15775,13 +15775,13 @@ index 3723150..a137563 100644
+# +#
+interface(`storage_filetrans_all_named_dev',` +interface(`storage_filetrans_all_named_dev',`
+ +
+gen_require(` + gen_require(`
+ type tape_device_t; + type tape_device_t;
+ type fixed_disk_device_t; + type fixed_disk_device_t;
+ type removable_device_t; + type removable_device_t;
+ type scsi_generic_device_t; + type scsi_generic_device_t;
+ type fuse_device_t; + type fuse_device_t;
+') + ')
+ +
+ dev_filetrans($1, tape_device_t, chr_file, ht00) + dev_filetrans($1, tape_device_t, chr_file, ht00)
+ dev_filetrans($1, tape_device_t, chr_file, ht01) + dev_filetrans($1, tape_device_t, chr_file, ht01)