init: allow systemd-init to set the attributes of unallocated terminals
type=AVC msg=audit(1678150061.367:292): avc: denied { setattr } for pid=1 comm="systemd" name="tty1" dev="devtmpfs" ino=18 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:tty_device_t:s0 tclass=chr_file permissive=0 Signed-off-by: Kenton Groombridge <me@concord.sh>
This commit is contained in:
parent
104e2014ea
commit
9307110277
@ -542,6 +542,7 @@ ifdef(`init_systemd',`
|
||||
term_create_devpts_dirs(init_t)
|
||||
term_create_ptmx(init_t)
|
||||
term_create_controlling_term(init_t)
|
||||
term_setattr_unallocated_ttys(init_t)
|
||||
term_watch_unallocated_ttys(init_t)
|
||||
term_watch_reads_unallocated_ttys(init_t)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user