mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 08:58:15 +01:00
Update cupsd
This commit is contained in:
parent
aeb3dc0ea3
commit
bde3ca0d08
1 changed files with 11 additions and 0 deletions
|
@ -47,11 +47,20 @@ profile cupsd @{exec_path} flags=(attach_disconnected) {
|
||||||
@{exec_path} mr,
|
@{exec_path} mr,
|
||||||
|
|
||||||
/{usr/,}bin/{,ba,da}sh rix,
|
/{usr/,}bin/{,ba,da}sh rix,
|
||||||
|
/{usr/,}bin/cat rix,
|
||||||
|
/{usr/,}bin/chmod rix,
|
||||||
|
/{usr/,}bin/cp rix,
|
||||||
|
/{usr/,}bin/grep rix,
|
||||||
/{usr/,}bin/gsc rix,
|
/{usr/,}bin/gsc rix,
|
||||||
/{usr/,}bin/hostname rix,
|
/{usr/,}bin/hostname rix,
|
||||||
/{usr/,}bin/ippfind rix,
|
/{usr/,}bin/ippfind rix,
|
||||||
|
/{usr/,}bin/mktemp rix,
|
||||||
|
/{usr/,}bin/printenv rix,
|
||||||
/{usr/,}bin/python3.[0-9]* rix,
|
/{usr/,}bin/python3.[0-9]* rix,
|
||||||
|
/{usr/,}bin/rm rix,
|
||||||
|
/{usr/,}bin/sed rix,
|
||||||
/{usr/,}bin/smbspool rPx,
|
/{usr/,}bin/smbspool rPx,
|
||||||
|
/{usr/,}bin/touch rix,
|
||||||
/{usr/,}bin/xz rix,
|
/{usr/,}bin/xz rix,
|
||||||
/{usr/,}lib/cups/backend/* rPx,
|
/{usr/,}lib/cups/backend/* rPx,
|
||||||
/{usr/,}lib/cups/cgi-bin/*.cgi rix,
|
/{usr/,}lib/cups/cgi-bin/*.cgi rix,
|
||||||
|
@ -85,6 +94,8 @@ profile cupsd @{exec_path} flags=(attach_disconnected) {
|
||||||
@{PROC}/@{pids}/fd r,
|
@{PROC}/@{pids}/fd r,
|
||||||
owner @{PROC}/@{pid}/mounts r,
|
owner @{PROC}/@{pid}/mounts r,
|
||||||
|
|
||||||
|
owner /tmp/*_latest_print_info w,
|
||||||
|
|
||||||
/dev/tty rw,
|
/dev/tty rw,
|
||||||
|
|
||||||
include if exists <local/cupsd>
|
include if exists <local/cupsd>
|
||||||
|
|
Loading…
Reference in a new issue