apparmor.d/apparmor.d/profiles-a-f/cups-backend-usb

29 lines
556 B
Text
Raw Normal View History

2022-08-31 23:10:41 +02:00
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2022-2024 Alexandre Pujol <alexandre@pujol.io>
2022-08-31 23:10:41 +02:00
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{lib}/cups/backend/usb
2022-08-31 23:10:41 +02:00
profile cups-backend-usb @{exec_path} {
include <abstractions/base>
include <abstractions/devices-usb>
2024-05-01 15:22:42 +02:00
capability net_admin,
2022-08-31 23:10:41 +02:00
network netlink raw,
@{exec_path} mr,
/usr/share/cups/usb/{,**} r,
/etc/cups/ppd/*.ppd r,
/etc/papersize r,
include if exists <local/cups-backend-usb>
}
# vim:syntax=apparmor