Update hyprpm
This commit is contained in:
parent
03516160a4
commit
2c60383087
1 changed files with 5 additions and 7 deletions
|
|
@ -8,7 +8,7 @@ include <tunables/global>
|
||||||
|
|
||||||
@{exec_path} = @{bin}/hyprpm
|
@{exec_path} = @{bin}/hyprpm
|
||||||
|
|
||||||
profile hyprpm /{,usr/}{,s}bin/hyprpm {
|
profile hyprpm @{exec_path} {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
include <abstractions/nameservice-strict>
|
include <abstractions/nameservice-strict>
|
||||||
include <abstractions/ssl_certs>
|
include <abstractions/ssl_certs>
|
||||||
|
|
@ -17,27 +17,25 @@ profile hyprpm /{,usr/}{,s}bin/hyprpm {
|
||||||
network inet dgram,
|
network inet dgram,
|
||||||
network inet stream,
|
network inet stream,
|
||||||
network inet6 dgram,
|
network inet6 dgram,
|
||||||
|
network inet6 stream,
|
||||||
|
|
||||||
@{exec_path} mr,
|
@{exec_path} mr,
|
||||||
|
|
||||||
@{bin}/** rix,
|
@{bin}/** rix,
|
||||||
@{lib}/gcc/** rix,
|
@{lib}/gcc/** rix,
|
||||||
@{lib}/gcc/*/*/** rix,
|
|
||||||
@{lib}/git-core/** rix,
|
@{lib}/git-core/** rix,
|
||||||
|
|
||||||
/usr/include/** r,
|
/usr/include/** r,
|
||||||
/usr/share/git-core/** r,
|
/usr/share/git-core/** r,
|
||||||
/usr/share/pkgconfig/** r,
|
/usr/share/pkgconfig/** r,
|
||||||
|
|
||||||
owner @{user_share_dirs}/hyprpm/ r,
|
owner @{HOME}/.gitconfig r,
|
||||||
owner @{user_share_dirs}/hyprpm/** rw,
|
|
||||||
owner @{user_share_dirs}/hyprpm/*/*/** rw,
|
owner @{user_share_dirs}/hyprpm/{,**} rw,
|
||||||
|
|
||||||
/tmp/hyprpm/** rw,
|
/tmp/hyprpm/** rw,
|
||||||
/tmp/hyprpm/*/*/** rw,
|
|
||||||
|
|
||||||
include if exists <local/hyprpm>
|
include if exists <local/hyprpm>
|
||||||
}
|
}
|
||||||
|
|
||||||
# vim:syntax=apparmor
|
# vim:syntax=apparmor
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue