commit - 1bcb98996d9263f4db8045d0b71c8029749ca0bf
commit + d3d07147e45c1d13f2879130149ab354574e0f32
blob - 034c9aba8c8aac1385b6ce31efa31acdbc3ac51f
blob + acfd9974e463b664ad9b3ba61bb7ddf9d965338e
--- mexp
+++ mexp
unveil("/usr/local/bin/mshow", "rx") or die "unveil mshow: $!";
unveil($outdir, "rwc") or die "unveil $outdir: $!";
+
+# can't use tmppath because File::Temp checks whether /tmp exists.
unveil("/tmp", "rwc") or die "unveil /tmp: $!";
unveil(".", "r") or die "unveil .: $!";
-# fattr because of File::Temp somehow.
+# fattr for File::Temp
pledge("stdio rpath wpath cpath proc exec fattr") or die "pledge: $!";
my $tid;