feat(profile): various core update.
This commit is contained in:
parent
7badf80854
commit
47b6e3c616
18 changed files with 30 additions and 21 deletions
|
|
@ -20,6 +20,8 @@ profile agetty @{exec_path} {
|
|||
|
||||
network netlink raw,
|
||||
|
||||
signal receive set=hup peer=@{p_systemd},
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
@{bin}/login rPx,
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ profile login @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
network netlink raw,
|
||||
|
||||
signal (send) set=(hup term),
|
||||
signal send set=(hup term),
|
||||
|
||||
ptrace read,
|
||||
|
||||
|
|
@ -38,7 +38,7 @@ profile login @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
@{exec_path} mr,
|
||||
|
||||
@{bin}/@{shells} rUx,
|
||||
@{shells_path} rUx,
|
||||
|
||||
@{etc_ro}/environment r,
|
||||
@{etc_ro}/security/group.conf r,
|
||||
|
|
|
|||
|
|
@ -15,9 +15,9 @@ profile su @{exec_path} {
|
|||
|
||||
capability chown, # pseudo-terminal
|
||||
|
||||
signal (send) set=(term,kill),
|
||||
signal (receive) set=(int,quit,term),
|
||||
signal (receive) set=(cont,hup) peer=sudo,
|
||||
signal send set=(term kill),
|
||||
signal receive set=(int quit term),
|
||||
signal receive set=(cont hup) peer=sudo,
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
|
|
|
|||
|
|
@ -14,9 +14,6 @@ profile uname @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
@{exec_path} mr,
|
||||
|
||||
@{lib}/@{multiarch}/ld-linux-*so* r,
|
||||
@{lib}/@{multiarch}/libc.so* mr,
|
||||
|
||||
@{att}/dev/tty@{int} rw,
|
||||
|
||||
deny network,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue