diff options
-rw-r--r-- | configure.ac | 9 | ||||
-rw-r--r-- | etc/sandbox.d/00default.in (renamed from etc/sandbox.d/00default) | 2 |
2 files changed, 6 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index 55306c7..772064a 100644 --- a/configure.ac +++ b/configure.ac @@ -404,15 +404,16 @@ AC_SUBST([LDFLAG_VER]) AC_CONFIG_TESTDIR([tests]) AC_CONFIG_FILES([ - src/sandbox.sh Makefile - scripts/Makefile + data/Makefile etc/Makefile + etc/sandbox.d/00default etc/sandbox.d/Makefile - data/Makefile - libsbutil/Makefile libsandbox/Makefile + libsbutil/Makefile + scripts/Makefile src/Makefile + src/sandbox.sh tests/atlocal tests/Makefile tests/package.m4 diff --git a/etc/sandbox.d/00default b/etc/sandbox.d/00default.in index a419480..264fdf3 100644 --- a/etc/sandbox.d/00default +++ b/etc/sandbox.d/00default.in @@ -14,7 +14,7 @@ SANDBOX_READ="/" # Finally add current directory if interactive SANDBOX_WRITE="${SANDBOX_WORKDIR}" # Needed for configure tests -SANDBOX_WRITE="/usr/tmp/conftest:/usr/lib/conftest:/usr/lib32/conftest:/usr/lib64/conftest:/usr/tmp/cf:/usr/lib/cf:/usr/lib32/cf:/usr/lib64/cf" +SANDBOX_WRITE="@prefix@/tmp/conftest:@prefix@/lib/conftest:@prefix@/lib32/conftest:@prefix@/lib64/conftest:@prefix@/tmp/cf:@prefix@/lib/cf:@prefix@/lib32/cf:@prefix@/lib64/cf" # Usually writes in /home should not cause violations SANDBOX_PREDICT="${HOME}" |