mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
@@ -33,10 +33,11 @@ main(int argc, char *argv[])
|
||||
size_t c;
|
||||
|
||||
(void) errhook(exit_cleanup);
|
||||
|
||||
if (lbgetprogname(argv[0]) == NULL)
|
||||
if (lbsetprogname(argv[0]) == NULL)
|
||||
err_exit(errno, "could not set progname");
|
||||
|
||||
/* https://man.openbsd.org/pledge.2 */
|
||||
/* https://man.openbsd.org/unveil.2 */
|
||||
xpledgex("stdio flock rpath wpath cpath unveil", NULL);
|
||||
xunveilx("/dev/urandom", "r");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user