mirror of
https://github.com/mintycube/st.git
synced 2024-10-22 14:05:49 +02:00
open copied url: add exec promise to pledge for OpenBSD
Ref. https://git.suckless.org/sites/commit/a30f1e4947c67cfdde4aa094d45b54c571ef74c5.html
This commit is contained in:
parent
271a807111
commit
0045b68966
2
st.c
2
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)
|
||||
|
Loading…
Reference in New Issue
Block a user