28 lines
599 B
Text
28 lines
599 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2023-2024 Alexandre Pujol <alexandre@pujol.io>
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/4.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = @{bin}/onefetch
|
|
profile onefetch @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/ssl_certs>
|
|
|
|
@{exec_path} mr,
|
|
|
|
@{bin}/git rPx,
|
|
@{lib}/git{,-core}/git rPx,
|
|
|
|
owner @{user_config_dirs}/git/{,**} r,
|
|
owner @{user_projects_dirs}/{,**} r,
|
|
|
|
owner @{PROC}/@{pid}/cgroup r,
|
|
owner @{PROC}/@{pid}/stat r,
|
|
|
|
include if exists <local/onefetch>
|
|
}
|
|
|
|
# vim:syntax=apparmor
|