Archlinux has no libexec.

/usr/libexec ->{lib,libexec}
This commit is contained in:
Alexandre Pujol 2021-04-01 23:36:58 +01:00
parent 08c220deee
commit 9f02bd0ab9
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
52 changed files with 69 additions and 68 deletions

View file

@ -6,7 +6,8 @@ abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /usr/libexec/blueman-mechanism
@{exec_path} = /usr/{lib,libexec}/blueman-mechanism
@{exec_path} += /{usr/,}lib/blueman/blueman-mechanism
profile blueman-mechanism @{exec_path} {
include <abstractions/base>
include <abstractions/python>
@ -22,7 +23,7 @@ profile blueman-mechanism @{exec_path} {
@{exec_path} r,
/{usr/,}bin/python3.[0-9]* r,
/usr/libexec/ r,
/usr/{lib,libexec}/ r,
/var/lib/blueman/network.state rw,
@ -33,9 +34,9 @@ profile blueman-mechanism @{exec_path} {
# For network AP
#/{usr/,}bin/ip rix,
#/{usr/,}sbin/xtables-nft-multi rix,
#/{usr/,}sbin/dnsmasq rPx,
#/{usr/,}sbin/dhclient rPx,
#/{usr/,}{s,}bin/xtables-nft-multi rix,
#/{usr/,}{s,}bin/dnsmasq rPx,
#/{usr/,}{s,}bin/dhclient rPx,
# @{PROC}/sys/net/ipv4/ip_forward w,
# @{PROC}/sys/net/ipv4/conf/ r,
# @{PROC}/sys/net/ipv4/conf/*/forwarding w,