feat(whonix): add internal pam profiles.

This commit is contained in:
Alexandre Pujol 2024-04-05 23:28:50 +01:00
parent 14b779d29b
commit 7a3a856180
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
5 changed files with 103 additions and 0 deletions

View file

@ -0,0 +1,24 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{bin}/pam-tmpdir-helper
profile pam-tmpdir-helper @{exec_path} {
include <abstractions/base>
include <abstractions/consoles>
capability chown,
@{exec_path} mr,
owner /tmp/user/ rw,
owner /tmp/user/@{uid}/ rw,
/dev/ptmx rw,
include if exists <local/pam-tmpdir-helper>
}