add consoles abstraction where needed
This commit is contained in:
parent
99106a2231
commit
26f92f0c7c
4 changed files with 6 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ include <tunables/global>
|
|||
@{exec_path} = /{usr/,}bin/dig
|
||||
profile dig @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
include <abstractions/nameservice-strict>
|
||||
include <abstractions/openssl>
|
||||
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ include <tunables/global>
|
|||
@{exec_path} = /{,usr/}bin/host
|
||||
profile host @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
include <abstractions/openssl>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ include <tunables/global>
|
|||
@{exec_path} = /{,usr/}bin/nslookup
|
||||
profile nslookup @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
include <abstractions/openssl>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ include <tunables/global>
|
|||
@{exec_path} = /{,usr/}bin/ss
|
||||
profile ss @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
||||
capability net_admin,
|
||||
|
|
@ -41,5 +42,7 @@ profile ss @{exec_path} {
|
|||
owner @{PROC}/@{pids}/mounts r,
|
||||
@{sys}/fs/cgroup/{,**/} r,
|
||||
|
||||
owner /dev/tty[0-9]* rw,
|
||||
|
||||
include if exists <local/ss>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue