From: cpebenito@tresys.com (Christopher J. PeBenito)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] what is a suitable type for /dev/cdc-wdm[01]
Date: Tue, 27 Sep 2011 11:42:25 -0400 [thread overview]
Message-ID: <4E81EEE1.8030204@tresys.com> (raw)
In-Reply-To: <1317137628.2861.24.camel@x220.mydomain.internal>
On 09/27/11 11:33, Dominick Grift wrote:
> On Tue, 2011-09-27 at 09:17 -0400, Christopher J. PeBenito wrote:
>> On 09/26/11 06:27, Dominick Grift wrote:
>>> Also, why are ACM tty character device nodes labeled type tty_device_t
>>> and not for example acmtty_device_t?
>>
>> It would seem that modem_device_t would be a better choice, assuming all ttyACM* devices are cellular modems.
>>
>
> why are serial ttys labeled tty_device_t?
>
>> ls -alZ /dev/ | grep ttyS
>> crw-rw----. root tty system_u:object_r:tty_device_t:s0 ttyS0
>> crw-rw----. root dialout system_u:object_r:tty_device_t:s0 ttyS1
>> crw-rw----. root dialout system_u:object_r:tty_device_t:s0 ttyS2
>> crw-rw----. root dialout system_u:object_r:tty_device_t:s0 ttyS3
Presumably due to serial terminals. Its an imperfect default label, since serial ports can support other things. I'm open to other suggestions.
--
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com
next prev parent reply other threads:[~2011-09-27 15:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-26 10:27 [refpolicy] what is a suitable type for /dev/cdc-wdm[01] Dominick Grift
2011-09-27 13:17 ` Christopher J. PeBenito
2011-09-27 15:33 ` Dominick Grift
2011-09-27 15:42 ` Christopher J. PeBenito [this message]
2011-09-27 15:49 ` Dominick Grift
2011-10-04 12:28 ` Christopher J. PeBenito
2011-10-04 12:44 ` Dominick Grift
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E81EEE1.8030204@tresys.com \
--to=cpebenito@tresys.com \
--cc=refpolicy@oss.tresys.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.