apparmor.d/apparmor.d/profiles-g-l/id

23 lines
453 B
Plaintext
Raw Normal View History

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2021 Mikhail Morfikov
# SPDX-License-Identifier: GPL-2.0-only
2021-03-13 16:52:36 +01:00
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{usr/,}bin/id
profile id @{exec_path} {
include <abstractions/base>
2021-03-14 18:57:00 +01:00
include <abstractions/consoles>
2021-03-13 16:52:36 +01:00
include <abstractions/nameservice-strict>
@{exec_path} mr,
2022-02-09 20:35:18 +01:00
/etc/machine-id r,
2022-03-13 22:04:42 +01:00
deny @{user_share_dirs}/gvfs-metadata/* r,
2021-03-13 16:52:36 +01:00
include if exists <local/id>
}