/dev/i2c*

Russell Coker <[email protected]> Sat, 02 May 2026 21:51:17 +1000
Newsgroups org.kernel.vger.selinux-refpolicy
Message-ID <2777654.BddDVKsqQX@dojacat>
/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/