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
1 changed files with 1 additions and 1 deletions
2
st.c
2
st.c
|
|
@ -1089,7 +1089,7 @@ ttynew(const char *line, char *cmd, const char *out, char **args)
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
#ifdef __OpenBSD__
|
#ifdef __OpenBSD__
|
||||||
#if RIGHTCLICKTOPLUMB_PATCH
|
#if RIGHTCLICKTOPLUMB_PATCH || OPENCOPIED_PATCH
|
||||||
if (pledge("stdio rpath tty proc ps exec", NULL) == -1)
|
if (pledge("stdio rpath tty proc ps exec", NULL) == -1)
|
||||||
#else
|
#else
|
||||||
if (pledge("stdio rpath tty proc", NULL) == -1)
|
if (pledge("stdio rpath tty proc", NULL) == -1)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue