socat: minor fix in the profile
- Use @{bin}
- Allow executable mapping and read for the binary
Signed-off-by: Nishit Majithia <nishit.nm@gmail.com>
This commit is contained in:
parent
b9eb783338
commit
d567f5156e
1 changed files with 3 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ abi <abi/3.0>,
|
||||||
|
|
||||||
include <tunables/global>
|
include <tunables/global>
|
||||||
|
|
||||||
@{exec_path} = /usr/bin/socat
|
@{exec_path} = @{bin}/socat
|
||||||
profile socat @{exec_path} {
|
profile socat @{exec_path} {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
include <abstractions/nameservice-strict>
|
include <abstractions/nameservice-strict>
|
||||||
|
|
@ -29,6 +29,8 @@ profile socat @{exec_path} {
|
||||||
# fuctionalities that is why it is necessary to allow whole `network`
|
# fuctionalities that is why it is necessary to allow whole `network`
|
||||||
network,
|
network,
|
||||||
|
|
||||||
|
@{exec_path} mr,
|
||||||
|
|
||||||
# Enale /dev/ptmx access for testsuite
|
# Enale /dev/ptmx access for testsuite
|
||||||
# /dev/ptmx rw,
|
# /dev/ptmx rw,
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue