sites

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

commit b15a0b78132b2df5e6b10651a236ee8091dd26c9
parent 1086af2c6537176d44373af3baee3589264dc613
Author: Michael Hendricks <michael@ndrix.org>
Date:   Thu, 21 Apr 2022 14:56:28 -0600

[dwm][patch][pledge] remove patch

This patch was committed to dwm in commit f40f86fa, on 25 May 2018.
There's no need to keep it separate at this point.

Diffstat:
Ddwm.suckless.org/patches/pledge/dwm-pledge-6.1.diff | 12------------
Ddwm.suckless.org/patches/pledge/index.md | 14--------------
2 files changed, 0 insertions(+), 26 deletions(-)

diff --git a/dwm.suckless.org/patches/pledge/dwm-pledge-6.1.diff b/dwm.suckless.org/patches/pledge/dwm-pledge-6.1.diff @@ -1,12 +0,0 @@ -Index: dwm.c ---- dwm.c.orig -+++ dwm.c -@@ -2133,6 +2133,8 @@ main(int argc, char *argv[]) - die("dwm: cannot open display\n"); - checkotherwm(); - setup(); -+ if (pledge("stdio rpath proc exec", NULL) == -1) -+ die("pledge\n"); - scan(); - run(); - cleanup(); diff --git a/dwm.suckless.org/patches/pledge/index.md b/dwm.suckless.org/patches/pledge/index.md @@ -1,14 +0,0 @@ -pledge -====== - -Description ------------ -Restrict system operations on OpenBSD using [pledge(2)](https://man.openbsd.org/pledge). - -Download --------- -* [dwm-pledge-6.1.diff](dwm-pledge-6.1.diff) - -Authors -------- -* Klemens Nanni <kn@openbsd.org>