feat(profiles): apply rule from #51.
This commit is contained in:
parent
d93879d9df
commit
393e339b48
7 changed files with 17 additions and 3 deletions
|
|
@ -47,14 +47,16 @@ profile systemd-journald @{exec_path} {
|
|||
@{run}/udev/data/+pci:* r,
|
||||
@{run}/udev/data/+platform* r,
|
||||
@{run}/udev/data/+scsi:* r,
|
||||
@{run}/udev/data/+sdio:* r,
|
||||
@{run}/udev/data/+usb-serial:* r,
|
||||
@{run}/udev/data/+usb:* r,
|
||||
@{run}/udev/data/+virtio:* r,
|
||||
@{run}/udev/data/+sdio:* r,
|
||||
@{run}/udev/data/c1:[0-9]* r,
|
||||
@{run}/udev/data/c10:224 r, # for /dev/tpm0
|
||||
@{run}/udev/data/c189:[0-9]* r, # for /dev/bus/usb/**
|
||||
@{run}/udev/data/c23[0-9]:[0-9]* r,
|
||||
@{run}/udev/data/c24[0-9]:[0-9]* r,
|
||||
@{run}/udev/data/c4:[0-9]* r,
|
||||
|
||||
@{sys}/devices/**/uevent r,
|
||||
@{sys}/firmware/efi/efivars/SecureBoot-@{uuid} r,
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ include <tunables/global>
|
|||
@{exec_path} = /{usr/,}lib/systemd/systemd-makefs
|
||||
profile systemd-makefs @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/disks-read>
|
||||
include <abstractions/disks-write>
|
||||
include <abstractions/systemd-common>
|
||||
|
||||
capability net_admin,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue