SELinux Reference Policy development
 help / color / mirror / Atom feed
From: Russell Coker <russell@coker.com.au>
To: selinux-refpolicy@vger.kernel.org
Subject: /dev/i2c*
Date: Sat, 02 May 2026 21:51:17 +1000	[thread overview]
Message-ID: <2777654.BddDVKsqQX@dojacat> (raw)

/dev/i2c[^/]*	-c	gen_context(system_u:object_r:tty_device_t,s0)

What is the rationale for this?

https://www.kernel.org/doc/Documentation/i2c/dev-interface

They don't seem anything like terminals.  Should we have a i2c_device_t?

-- 
My Main Blog         http://etbe.coker.com.au/
My Documents Blog    http://doc.coker.com.au/




             reply	other threads:[~2026-05-02 11:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-02 11:51 Russell Coker [this message]
2026-05-04 15:41 ` /dev/i2c* Christopher J. PeBenito

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=2777654.BddDVKsqQX@dojacat \
    --to=russell@coker.com.au \
    --cc=selinux-refpolicy@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox