diff options
author | Leah Neukirchen <leah@vuxu.org> | 2020-09-06 16:56:18 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2020-09-06 16:56:18 +0200 |
commit | ccceb10908befaefab21100cd7e1d305c3a24b44 (patch) | |
tree | 99697c7c8278776bd9a82a0f7a9073d8313c3552 | |
parent | 4763032430834ff1d7dfe4293826cf845a71b990 (diff) | |
download | mblaze-ccceb10908befaefab21100cd7e1d305c3a24b44.tar.gz mblaze-ccceb10908befaefab21100cd7e1d305c3a24b44.tar.xz mblaze-ccceb10908befaefab21100cd7e1d305c3a24b44.zip |
mpick: relax pledge for redirects
This allows mpick to create files and run popen. In the future, we can only pledge this if these features are actually used.
-rw-r--r-- | mpick.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mpick.c b/mpick.c index 93bbafb..379200d 100644 --- a/mpick.c +++ b/mpick.c @@ -1464,7 +1464,7 @@ main(int argc, char *argv[]) exit(1); } - xpledge("stdio rpath", ""); + xpledge("stdio rpath wpath cpath proc exec", 0); void *cb = need_thr ? collect : oneline; if (argc == optind && isatty(0)) |