From 81765a2d4fcce23f42495d5ec03bbfecb2a3c381 Mon Sep 17 00:00:00 2001 | |
From: tka <tka@kamph.org> | |
Date: Wed, 24 Jun 2020 11:18:45 +0200 | |
Subject: [PATCH] Allow getcwd for Gentoo's portage sandbox | |
Bug: https://bugs.gentoo.org/728978 | |
--- a/src/seccomp.c | |
+++ b/src/seccomp.c | |
@@ -229,6 +229,8 @@ enable_sandbox_full(void) | |
ALLOW_RULE(write); | |
ALLOW_RULE(writev); | |
+ // needed by Gentoo's portage sandbox | |
+ ALLOW_RULE(getcwd); | |
#if 0 | |
// needed by valgrind |