all repos — dwm @ f40f86fa873bc4acccdf3d929aa0f786993ae31d

my dwm build

Pledge on OpenBSD
Klemens Nanni kn@openbsd.org
Fri, 25 May 2018 07:56:27 +0200
commit

f40f86fa873bc4acccdf3d929aa0f786993ae31d

parent

c3a2e016bb65c00bd44b6461b1b1bbaa61f20093

1 files changed, 4 insertions(+), 0 deletions(-)

jump to
M dwm.cdwm.c

@@ -2137,6 +2137,10 @@ if (!(dpy = XOpenDisplay(NULL)))

die("dwm: cannot open display"); checkotherwm(); setup(); +#ifdef __OpenBSD__ + if (pledge("stdio proc exec", NULL) == -1) + die("pledge"); +#endif /* __OpenBSD__ */ scan(); run(); cleanup();