[refpolicy] what is a suitable type for /dev/cdc-wdm
dominick.grift at gmail.com
Mon Sep 26 05:27:35 CDT 2011
/dev/cdc-wdm character device nodes are currently labeled type
> # matchpathcon /dev/cdc-wdm0
> /dev/cdc-wdm0 system_u:object_r:device_t:s0
what would be suitable type for these devices?
> CDC Device Management (2 "devices")
> CDC Mobile Direct Line (1 "device")
> The first is supported by the cdc-wdm driver available in 2.6.29
> (haven't checked exactly when it was added, but it is rather new).
> will add two new devices you can send AT commands
> to /dev/cdc-wdm,
> but not do any high speed data transfers over. Quite useful, since
> three ACM devices are easily "lost" to GPS, SMS daemon and PPP.
> The CDC Mobile Direct Line is actually a masqueraded CDC Ethernet
> device. Ericsson has provided a driver which is mostly a copy of
> cdc_ether.c. Nice feature to have, but I've not been able to measure
> any speed advantages compared to PPP on ttyACM0. Still, fun to play
> with :-)
Also, why are ACM tty character device nodes labeled type tty_device_t
and not for example acmtty_device_t?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 836 bytes
Desc: This is a digitally signed message part
Url : http://oss.tresys.com/pipermail/refpolicy/attachments/20110926/549fc39e/attachment.bin
More information about the refpolicy