diff options
| author | 2025-01-05 13:20:08 +0100 | |
|---|---|---|
| committer | 2025-01-05 13:20:08 +0100 | |
| commit | 5af94dade65c615cd565f399cd2a6e1e83e679f7 (patch) | |
| tree | a70a1d05a49f0dcdce737dadcbe8389086fcbb51 | |
| parent | Merge branch 'master' of grunfink-codeberg:grunfink/snac2 (diff) | |
| download | snac2-5af94dade65c615cd565f399cd2a6e1e83e679f7.tar.gz snac2-5af94dade65c615cd565f399cd2a6e1e83e679f7.tar.xz snac2-5af94dade65c615cd565f399cd2a6e1e83e679f7.zip | |
Minor sandbox fix for Debian stable.
| -rw-r--r-- | sandbox.c | 6 |
1 files changed, 4 insertions, 2 deletions
| @@ -34,10 +34,12 @@ LL_BEGIN(sbox_enter_linux_, const char* basedir, const char *address, int smail) | |||
| 34 | #endif | 34 | #endif |
| 35 | LL_PATH("/etc/resolv.conf", rf ); | 35 | LL_PATH("/etc/resolv.conf", rf ); |
| 36 | LL_PATH("/etc/hosts", rf ); | 36 | LL_PATH("/etc/hosts", rf ); |
| 37 | LL_PATH("/etc/ssl/openssl.cnf", rf ); | 37 | LL_PATH("/etc/ssl", rf ); |
| 38 | LL_PATH("/etc/ssl/cert.pem", rf ); | ||
| 39 | LL_PATH("/usr/share/zoneinfo", rf ); | 38 | LL_PATH("/usr/share/zoneinfo", rf ); |
| 40 | 39 | ||
| 40 | if (mtime("/etc/pki") > 0) | ||
| 41 | LL_PATH("/etc/pki", rf ); | ||
| 42 | |||
| 41 | if (*address == '/') | 43 | if (*address == '/') |
| 42 | LL_PATH(address, s); | 44 | LL_PATH(address, s); |
| 43 | 45 | ||