/dev/jsflash -> mouse_device_t ??

Russell Coker russell at coker.com.au
Wed Jul 21 23:07:59 UTC 2004


On Thu, 22 Jul 2004 03:16, Tom London <selinux at comcast.net> wrote:
> I think the latest file_contexts is mislabeling /dev/jsflash....
>
> The problem line is
> types.fc:/u?dev/js.*            -c      system_u:object_r:mouse_device_t
>
> It overrides earlier lines:
> types.fc:/u?dev/jsfd            -b
> system_u:object_r:fixed_disk_device_t
> types.fc:/u?dev/jsflash         -c
> system_u:object_r:fixed_disk_device_t

It won't affect jsfd because of the -b vs -c issue.  The correct thing to do 
is to move the jsflash line after the js.* line.  It's in my tree, I'll send 
a patch to Steve when he's ready to do a CVS commit.

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page



More information about the selinux mailing list