summaryrefslogtreecommitdiff
path: root/resources/grub/keymap
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-06-01 13:35:34 +0100
committerLeah Rowe <leah@libreboot.org>2023-06-01 13:35:34 +0100
commit69fa333e25c070689b707e261b31b08be82d9fc4 (patch)
tree21a981e6dea9bcd4d0f896eb348e2f76dbb4a989 /resources/grub/keymap
parentadf3aece6faa134379bde6f72ae0521b7012f707 (diff)
util/nvmutil: harden pledge/unveil calls (OpenBSD)
*Open* files at the start, then unveil. The same overall behaviour is observed. In the case that invalid arguments are given, simply opening a file does not cause much performance impact (if any). Restrict operations as early as possible in code. Bonus: writeGbeFile also hardened; if flags is O_RDONLY, it aborts. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'resources/grub/keymap')
0 files changed, 0 insertions, 0 deletions