pledge: add rpath promise for the ugly Xft font fallback

This commit is contained in:
Hiltjo Posthuma 2018-06-02 17:15:42 +02:00
parent e78b4a9207
commit b69c870a30

2
dwm.c
View file

@ -2138,7 +2138,7 @@ main(int argc, char *argv[])
checkotherwm(); checkotherwm();
setup(); setup();
#ifdef __OpenBSD__ #ifdef __OpenBSD__
if (pledge("stdio proc exec", NULL) == -1) if (pledge("stdio rpath proc exec", NULL) == -1)
die("pledge"); die("pledge");
#endif /* __OpenBSD__ */ #endif /* __OpenBSD__ */
scan(); scan();