mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-02-15 22:55:06 +01:00
36 lines
No EOL
912 B
Text
36 lines
No EOL
912 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2021 Alexandre Pujol <alexandre@pujol.io>
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/3.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = /{usr/,}bin/pimport
|
|
profile pass-import @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/python>
|
|
include <abstractions/openssl>
|
|
|
|
@{exec_path} mr,
|
|
|
|
/{usr/,}bin/ r,
|
|
/{usr/,}bin/pass rPx,
|
|
/{usr/,}{s,}bin/ldconfig rix,
|
|
/{usr/,}bin/gcc rix,
|
|
/{usr/,}bin/ld rix,
|
|
/{usr/,}bin/python3.[0-9]* rix,
|
|
/{usr/,}lib/gcc/**/collect2 rix,
|
|
|
|
/usr/share/file/misc/magic.mgc r,
|
|
|
|
owner @{HOME}/.password-store/{,**} rw,
|
|
owner @{HOME}/@{XDG_PROJECTS_DIR}/**/*-store/{,**} rw,
|
|
owner @{user_config_dirs}/password-store/{,**} rw,
|
|
|
|
owner /tmp/[a-zA-Z0-9]* rw,
|
|
|
|
@{PROC}/@{pids}/fd/ r,
|
|
|
|
include if exists <local/pass-import>
|
|
} |