From 8046370a9d0c8333d84a1294c302d21634729cc8 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Mon, 28 Nov 2016 16:33:04 +0100 Subject: test-conf: don't create the setuid copy in /tmp The temporary directory is often mounted with nosuid, thus whatever runs from there doesn't get AT_SECURE in auxv. --- common/test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') diff --git a/common/test.c b/common/test.c index 9605d03..86c8c52 100644 --- a/common/test.c +++ b/common/test.c @@ -501,7 +501,7 @@ p11_test_copy_setgid (const char *input) return NULL; } - path = strdup ("/tmp/test-setgid.XXXXXX"); + path = strdup (BUILDDIR "/test-setgid.XXXXXX"); assert (path != NULL); fd = mkstemp (path); -- cgit v1.1