Re: /dev/mpt*ctl

Chris PeBenito <[email protected]> Mon, 20 Jul 2026 09:07:38 -0400
Newsgroups org.kernel.vger.selinux-refpolicy
Message-ID <[email protected]>
On 7/15/2026 10:58 AM, Russell Coker wrote:
> policy/modules/kernel/storage.fc:/dev/mpt[23]?ctl	-c	
> gen_context(system_u:object_r:fixed_disk_device_t,mls_systemhigh)
> policy/modules/kernel/devices.fc:/dev/mpt[2-9]*ctl       -c
> gen_context(system_u:object_r:mptctl_device_t,s0)
> 
> How did this get in?
> 
> Also the mptctl_device_t type doesn't have any specific rules to allow access
> to it.
I'll accept a patch to make all the fc entries fixed_disk_device_t, 
remove mptctl_device_t and make it an alias of fixed_disk_device_t, if 
that's what you're suggesting.

--
Chris PeBenito