Re: /dev/i2c*

"Christopher J. PeBenito" <[email protected]> Mon, 4 May 2026 11:41:07 -0400
Newsgroups org.kernel.vger.selinux-refpolicy
Message-ID <[email protected]>
On 5/2/26 7:51 AM, Russell Coker wrote:
> /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?

I don't recall the rationale, but I think i2c_device_t makes more sense.


-- 
Chris PeBenito