diff options
| author | Nicholas Bishop <[email protected]> | 2023-05-12 19:43:02 +0000 |
|---|---|---|
| committer | Ard Biesheuvel <[email protected]> | 2023-06-06 13:33:59 +0000 |
| commit | d0a1865cf7e2211d9227592ef4141f4632e33908 (patch) | |
| tree | e2e6846a539db7f47aac98612d6cff1fd18ced9d /drivers/cdx/controller/cdx_controller.c | |
| parent | efivarfs: expose used and total size (diff) | |
| download | kernel-d0a1865cf7e2211d9227592ef4141f4632e33908.tar.gz kernel-d0a1865cf7e2211d9227592ef4141f4632e33908.zip | |
efi/esrt: Allow ESRT access without CAP_SYS_ADMIN
Access to the files in /sys/firmware/efi/esrt has been restricted to
CAP_SYS_ADMIN since support for ESRT was added, but this seems overly
restrictive given that the files are read-only and just provide
information about UEFI firmware updates.
Remove the CAP_SYS_ADMIN restriction so that a non-root process can read
the files, provided a suitably-privileged process changes the file
ownership first. The files are still read-only and still owned by root
by default.
Signed-off-by: Nicholas Bishop <[email protected]>
Signed-off-by: Ard Biesheuvel <[email protected]>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions
