mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-12 07:17:13 +01:00
Add wttrbar
This commit is contained in:
parent
c8cbeac9b2
commit
6dcb6c0362
1 changed files with 26 additions and 0 deletions
26
apparmor.d/profiles-s-z/wttrbar
Normal file
26
apparmor.d/profiles-s-z/wttrbar
Normal file
|
@ -0,0 +1,26 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2024 odomingao
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/4.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{bin}/wttrbar
|
||||
profile wttrbar @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
||||
network inet dgram,
|
||||
network inet6 dgram,
|
||||
network inet stream,
|
||||
network inet6 stream,
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
owner /tmp/wttrbar--wttr.in.json rw,
|
||||
|
||||
include if exists <local/wttrbar>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
Loading…
Reference in a new issue