Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow systemd-sleep read/write efivarfs variables
The commit addresses the following AVC denial examples: type=AVC msg=audit(09/25/2023 04:21:31.281:610) : avc: denied { write open } for pid=18107 comm=systemd-sleep path=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67 dev="efivarfs" ino=160797 scontext=system_u:system_r:systemd_sleep_t:s0 tcontext=system_u:object_r:efivarfs_t:s0 tclass=file permissive=1 type=AVC msg=audit(09/25/2023 05:05:33.538:650) : avc: denied { linux_immutable } for pid=20005 comm=systemd-sleep capability=linux_immutable scontext=system_u:system_r:systemd_sleep_t:s0 tcontext=system_u:system_r:systemd_sleep_t:s0 tclass=capability permissive=1 The fs_rw_efivarfs_files() interface was added. Resolves: rhbz#2240320
- Loading branch information