Ubuntu 22.04, first batch and misc

This commit is contained in:
nobodysu 2022-05-27 01:15:49 +03:00 committed by Alex
parent db649628a5
commit b42b8c66cc
12 changed files with 178 additions and 51 deletions

View file

@ -6,7 +6,7 @@ abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{usr/,}sbin/agetty
@{exec_path} = /{usr/,}{s,}bin/agetty
profile agetty @{exec_path} {
include <abstractions/base>
include <abstractions/nameservice-strict>
@ -15,6 +15,7 @@ profile agetty @{exec_path} {
capability fsetid,
capability sys_admin,
capability sys_tty_config,
capability chown,
@{exec_path} mr,
@ -25,7 +26,9 @@ profile agetty @{exec_path} {
owner @{run}/agetty.reload rw,
@{run}/resolvconf/resolv.conf r,
/dev/tty[0-9]* rw,
/dev/tty[0-9]* rw,
owner /dev/ttyGS[0-9]* rw,
owner /dev/ttyS[0-9]* rw,
include if exists <local/agetty>
}