[refpolicy] what is a suitable type for /dev/media0

Dominick Grift dominick.grift at gmail.com
Mon Sep 26 05:10:09 CDT 2011

/dev/media0 character device node is currently labeled type device_t:

> # matchpathcon /dev/media0
> /dev/media0	system_u:object_r:device_t:s0

What would be a suitable type for this device? v4l_device_t?

> Media Device 
> A Media device is the umbrella device under which multiple
> sub-entities called Media entities can be accessed, modified and
> worked upon. The Media Device is exposed to the user in form of a
> device file, which can be opened to enumerate, set and get the
> parameters of each of the media entities. For example, in DM365
> implementation the entire VPFE capture device with its IPIPE, IPIPEIF,
> CCDC etc is exposed as a Media Device - /dev/media0. If there were a
> display driver, it would be exposed as a Media device too. 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
Url : http://oss.tresys.com/pipermail/refpolicy/attachments/20110926/261d3676/attachment.bin 

More information about the refpolicy mailing list