mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
Add pkcs11-register.
This commit is contained in:
parent
9cff5676c8
commit
ca13b4be36
23
apparmor.d/profiles-m-z/pkcs11-register
Normal file
23
apparmor.d/profiles-m-z/pkcs11-register
Normal file
@ -0,0 +1,23 @@
|
||||
# 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/pkcs11-register
|
||||
profile pkcs11-register @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
/etc/opensc.conf r,
|
||||
|
||||
owner @{HOME}/.pki/nssdb/pkcs11.txt r,
|
||||
owner @{HOME}/.mozilla/firefox/profiles.ini r,
|
||||
owner @{HOME}/.mozilla/firefox/*/pkcs11.txt r,
|
||||
owner @{HOME}/.thunderbird/profiles.ini r,
|
||||
|
||||
include if exists <local/pkcs11-register>
|
||||
}
|
Loading…
Reference in New Issue
Block a user