feat(profile): add some new profile.
This commit is contained in:
parent
239d5efe63
commit
fe1e3c3be8
10 changed files with 264 additions and 0 deletions
20
apparmor.d/profiles-s-z/switcherooctl
Normal file
20
apparmor.d/profiles-s-z/switcherooctl
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# 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 own bus=system name=net.hadess.SwitcherooControl
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
include if exists <local/switcherooctl>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue