From 0045b6896601f6db346857405ca01b8e88eca13b Mon Sep 17 00:00:00 2001 From: bakkeby Date: Wed, 18 Aug 2021 10:11:34 +0200 Subject: [PATCH] open copied url: add exec promise to pledge for OpenBSD Ref. https://git.suckless.org/sites/commit/a30f1e4947c67cfdde4aa094d45b54c571ef74c5.html --- st.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/st.c b/st.c index 54f58af..91ab57f 100644 --- a/st.c +++ b/st.c @@ -1089,7 +1089,7 @@ ttynew(const char *line, char *cmd, const char *out, char **args) break; default: #ifdef __OpenBSD__ - #if RIGHTCLICKTOPLUMB_PATCH + #if RIGHTCLICKTOPLUMB_PATCH || OPENCOPIED_PATCH if (pledge("stdio rpath tty proc ps exec", NULL) == -1) #else if (pledge("stdio rpath tty proc", NULL) == -1)