[master] d042154ee Let jailed glob(3) read ${tmpdir}

Poul-Henning Kamp phk at FreeBSD.org
Thu May 6 07:21:05 UTC 2021


commit d042154eefdf59f1fa7ca5c0e24b1b71ff37241c
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Thu May 6 07:20:42 2021 +0000

    Let jailed glob(3) read ${tmpdir}

diff --git a/bin/varnishtest/vtc_main.c b/bin/varnishtest/vtc_main.c
index 31f8cb712..309bd876e 100644
--- a/bin/varnishtest/vtc_main.c
+++ b/bin/varnishtest/vtc_main.c
@@ -407,7 +407,7 @@ start_test(void)
 
 	bprintf(tmpdir, "%s/vtc.%d.%08x", tmppath, (int)getpid(),
 		(unsigned)random());
-	AZ(mkdir(tmpdir, 0711));
+	AZ(mkdir(tmpdir, 0755));
 
 	tp = VTAILQ_FIRST(&tst_head);
 	CHECK_OBJ_NOTNULL(tp, TST_MAGIC);


More information about the varnish-commit mailing list