From ccceb10908befaefab21100cd7e1d305c3a24b44 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Sun, 6 Sep 2020 16:56:18 +0200 Subject: 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. --- mpick.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- cgit 1.4.1