diff options
| author | default <nobody@localhost> | 2025-01-05 13:20:08 +0100 |
|---|---|---|
| committer | default <nobody@localhost> | 2025-01-05 13:20:08 +0100 |
| commit | 5af94dade65c615cd565f399cd2a6e1e83e679f7 (patch) | |
| tree | a70a1d05a49f0dcdce737dadcbe8389086fcbb51 /sandbox.c | |
| parent | 4985b3e17e1dc7574f8e28c758645a019ba65e7a (diff) | |
Minor sandbox fix for Debian stable.
Diffstat (limited to 'sandbox.c')
| -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) #endif LL_PATH("/etc/resolv.conf", rf ); LL_PATH("/etc/hosts", rf ); - LL_PATH("/etc/ssl/openssl.cnf", rf ); - LL_PATH("/etc/ssl/cert.pem", rf ); + LL_PATH("/etc/ssl", rf ); LL_PATH("/usr/share/zoneinfo", rf ); + if (mtime("/etc/pki") > 0) + LL_PATH("/etc/pki", rf ); + if (*address == '/') LL_PATH(address, s); |