mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
util/nvmutil: fix regression on openbsd
when i removed arc4random integration, i forgot to change this line back. oops! Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -583,7 +583,7 @@ main(int argc, char *argv[])
|
|||||||
#ifdef NVMUTIL_UNVEIL
|
#ifdef NVMUTIL_UNVEIL
|
||||||
if (pledge("stdio rpath wpath unveil", NULL) == -1)
|
if (pledge("stdio rpath wpath unveil", NULL) == -1)
|
||||||
err(errno, "pledge");
|
err(errno, "pledge");
|
||||||
if (unveil("/dev/null", "r") == -1)
|
if (unveil("/dev/urandom", "r") == -1)
|
||||||
err(errno, "unveil '/dev/null'");
|
err(errno, "unveil '/dev/null'");
|
||||||
#else
|
#else
|
||||||
if (pledge("stdio rpath wpath", NULL) == -1)
|
if (pledge("stdio rpath wpath", NULL) == -1)
|
||||||
|
|||||||
Reference in New Issue
Block a user