From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.sws.net.au (smtp.sws.net.au [144.76.186.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7297232571D for ; Sat, 2 May 2026 11:57:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=144.76.186.9 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777723042; cv=none; b=lEbK7nBmV8PQPBpreG5ADoncFgjoYXaqRYb/Mj1oatd2YOYrd8a0FkUi/g7JwzpfhPRZgZqxoDxwJu+nzypqBSV3ahU7He0sgMhEe66AqCXzddKiZPyOcefQw/xA5/PG/gV03vXQeXMgap0Vi/auqLZeRjYmGUVcBUPvFdxcCtA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777723042; c=relaxed/simple; bh=1pLURvObOZ0WB2uwwaL0U3n6MLyGmresDPS1L+ACMcc=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=DkUHvCySNXGWeOtsua7z3nEEpafvmd6yS8p0X1S3t9v1xbxppxbvKwK7a2uDKFvyq4J/ixeuDPHa87TL7IBhoahFbS07nr3WkvswKijgy6eRq8FbpqvKniZCBlzFVe8wp0Spf8/10J7IPmreIID1yHusBWjdNSYgKV6xVpRVkk8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=coker.com.au; spf=pass smtp.mailfrom=coker.com.au; dkim=pass (1024-bit key) header.d=coker.com.au header.i=@coker.com.au header.b=C5sUsmiJ; arc=none smtp.client-ip=144.76.186.9 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=coker.com.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=coker.com.au Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=coker.com.au header.i=@coker.com.au header.b="C5sUsmiJ" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=coker.com.au; s=2008; t=1777722685; bh=z0UzOWUfKNCoRQzVc3Pq07YRAJ6kXhEgKbBHMxFqZHQ=; l=327; h=From:To:Subject:Date:From; b=C5sUsmiJebJAGBJt9JI46gaf9rjhb7QH3R/Fy9KUql7YkVQKtLgYK66bMmvwVZiKo xcZWEcsoJfdQMfm9Jn8UzYSWqJRLD0NriYyuJ09r6IjHNoiZda7i1p0Td915VZdNt4 loTYmx9/UKMbty3DeDcCgGpt1JRJ2p+9t/cLnSOk= Received: from liv.coker.com.au (unknown [IPv6:2001:4479:4401:9500:fbf8:5e28:e565:a93c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) (Authenticated sender: russell@coker.com.au) by smtp.sws.net.au (Postfix) with ESMTPSA id 8F98010B3D for ; Sat, 02 May 2026 21:51:24 +1000 (AEST) From: Russell Coker To: selinux-refpolicy@vger.kernel.org Subject: /dev/i2c* Date: Sat, 02 May 2026 21:51:17 +1000 Message-ID: <2777654.BddDVKsqQX@dojacat> Precedence: bulk X-Mailing-List: selinux-refpolicy@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" /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/