Skip to content

Commit

Permalink
Label /dev/pmem[0-9]+ with fixed_disk_device_t
Browse files Browse the repository at this point in the history
Non-Volatile Dual In-line Memory Modules (NVDIMM) is a persistent memory
technology which combines the durability of storage with the low access
latency and the high bandwidth of dynamic RAM. In the linux kernel, the
support is implemented in the nd_pmem.ko module.
zpytela committed Jan 14, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 251f15d commit fc05cc8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions policy/modules/kernel/storage.fc
Original file line number Diff line number Diff line change
@@ -50,6 +50,7 @@
/dev/pktcdvd[0-7] -b gen_context(system_u:object_r:removable_device_t,s0)
/dev/pktcdvd/control -c gen_context(system_u:object_r:pktcdvd_control_device_t,s0)
/dev/pktcdvd/.+ -b gen_context(system_u:object_r:removable_device_t,s0)
/dev/pmem[0-9]+ -b gen_context(system_u:object_r:fixed_disk_device_t,mls_systemhigh)
/dev/ps3d.* -b gen_context(system_u:object_r:fixed_disk_device_t,mls_systemhigh)
/dev/ram.* -b gen_context(system_u:object_r:fixed_disk_device_t,mls_systemhigh)
/dev/(raw/)?rawctl -c gen_context(system_u:object_r:fixed_disk_device_t,mls_systemhigh)

0 comments on commit fc05cc8

Please sign in to comment.