missing rpath pledge for openbsd

This commit is contained in:
Joris Vink 2018-07-18 15:14:07 +02:00
parent 5a5d9fd0c2
commit 25c8dfbdaa

View File

@ -117,7 +117,7 @@ kore_keymgr_run(void)
last_seed = 0; last_seed = 0;
#if defined(__OpenBSD__) #if defined(__OpenBSD__)
if (pledge("stdio", NULL) == -1) if (pledge("stdio rpath", NULL) == -1)
fatal("failed to pledge keymgr process"); fatal("failed to pledge keymgr process");
#endif #endif