22 lines
533 B
Text
22 lines
533 B
Text
# 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}/switcherooctl
|
|
profile switcherooctl @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/bus-system>
|
|
include <abstractions/python>
|
|
|
|
#aa:dbus talk bus=system name=net.hadess.SwitcherooControl label=switcheroo-control
|
|
|
|
@{exec_path} mr,
|
|
|
|
include if exists <local/switcherooctl>
|
|
}
|
|
|
|
# vim:syntax=apparmor
|