commit | 51357e032284d84b389bfb025d370497fc1a1491 | [log] [tgz] |
---|---|---|
author | Yi-Yo Chiang <[email protected]> | Thu Jan 09 18:26:49 2025 +0800 |
committer | Yi-Yo Chiang <[email protected]> | Mon Jan 20 01:34:42 2025 -0800 |
tree | 76caacc7996678b6904f5c0230078d5d7da6e008 | |
parent | b61a4f4345683311acbac5bf231f1be55196d341 [diff] |
insmod-sh: Allow writing to kmsg modprobe would log errors to /dev/kmsg, need to explicit allow this. ``` avc: denied { write } for comm="modprobe" name="kmsg" dev="tmpfs" ino=5 scontext=u:r:insmod-sh:s0 tcontext=u:object_r:kmsg_device:s0 tclass=chr_file permissive=0 ``` Bug: 388717752 Test: DeviceBootTest#SELinuxUncheckedDenialBootTest Change-Id: I49a3e6a9f76f20151034cb00f772247b0e9c668e