From 5af94dade65c615cd565f399cd2a6e1e83e679f7 Mon Sep 17 00:00:00 2001 From: default Date: Sun, 5 Jan 2025 13:20:08 +0100 Subject: Minor sandbox fix for Debian stable. --- sandbox.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sandbox.c') diff --git a/sandbox.c b/sandbox.c index f417e86..0078551 100644 --- a/sandbox.c +++ b/sandbox.c @@ -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); -- cgit v1.2.3