mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-22 05:00:08 +02:00
lbutils: remove xpledge/xunveil, just call them direct
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -24,8 +24,11 @@ main(int argc, char **argv)
|
||||
(void) errhook(exit_cleanup);
|
||||
(void) lbsetprogname(argv[0]);
|
||||
|
||||
#ifdef __OpenBSD__
|
||||
/* https://man.openbsd.org/pledge.2 */
|
||||
xpledgex("stdio", NULL);
|
||||
if (pledge("stdio", NULL) == -1)
|
||||
exitf("pledge");
|
||||
#endif
|
||||
|
||||
buf = rmalloc(size);
|
||||
if (!vcmp(buf, buf + (size >> 1), size >> 1))
|
||||
|
||||
Reference in New Issue
Block a user