diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2016-11-28 16:33:04 +0100 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2016-11-29 16:25:47 +0100 |
commit | 8046370a9d0c8333d84a1294c302d21634729cc8 (patch) | |
tree | 005e07ed02d42ca7df4ba6a08e931301b1952be5 /common | |
parent | 9cb55d7357db929960dca26b9f22f488b756bac2 (diff) |
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.
Diffstat (limited to 'common')
-rw-r--r-- | common/test.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |