Add wttrbar

This commit is contained in:
odomingao 2024-12-06 09:41:35 -03:00 committed by Alex
parent c8cbeac9b2
commit 6dcb6c0362

View 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