sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

commit 3ae4caac371875a01f7ca910ecb3a83494c72fd5
parent db1cf4df877e9083fadd67e6f16f1a5552effe99
Author: Klemens Nanni <klemens@posteo.de>
Date:   Wed,  6 Jun 2018 10:02:51 +0200

[dwm] Update pledge diff

Diffstat:
dwm.suckless.org/patches/pledge/dwm-pledge-20180522-c8e9479.diff | 13-------------
dwm.suckless.org/patches/pledge/dwm-pledge-6.1.diff | 2+-
dwm.suckless.org/patches/pledge/index.md | 1-
3 files changed, 1 insertion(+), 15 deletions(-)

diff --git a/dwm.suckless.org/patches/pledge/dwm-pledge-20180522-c8e9479.diff b/dwm.suckless.org/patches/pledge/dwm-pledge-20180522-c8e9479.diff @@ -1,13 +0,0 @@ -diff --git a/dwm.c b/dwm.c -index bb95e26..abfb097 100644 ---- a/dwm.c -+++ b/dwm.c -@@ -2137,6 +2137,8 @@ main(int argc, char *argv[]) - die("dwm: cannot open display"); - checkotherwm(); - setup(); -+ if (pledge("stdio proc exec", NULL) == -1) -+ die("pledge"); - scan(); - run(); - cleanup(); diff --git a/dwm.suckless.org/patches/pledge/dwm-pledge-6.1.diff b/dwm.suckless.org/patches/pledge/dwm-pledge-6.1.diff @@ -5,7 +5,7 @@ Index: dwm.c die("dwm: cannot open display\n"); checkotherwm(); setup(); -+ if (pledge("stdio proc exec", NULL) == -1) ++ if (pledge("stdio rpath proc exec", NULL) == -1) + die("pledge\n"); scan(); run(); diff --git a/dwm.suckless.org/patches/pledge/index.md b/dwm.suckless.org/patches/pledge/index.md @@ -10,7 +10,6 @@ Download -------- * [dwm-pledge-6.1.diff](dwm-pledge-6.1.diff) - * [dwm-pledge-20180522-c8e9479.diff](dwm-pledge-20180522-c8e9479.diff) Authors -------