diff options
Diffstat (limited to 'methods')
-rw-r--r-- | methods/aptmethod.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/methods/aptmethod.h b/methods/aptmethod.h index 5616ad824..bb24463c7 100644 --- a/methods/aptmethod.h +++ b/methods/aptmethod.h @@ -245,6 +245,16 @@ protected: ALLOW(getdents64); } + if (getenv("FAKED_MODE")) + { + ALLOW(semop); + ALLOW(semget); + ALLOW(msgsnd); + ALLOW(msgrcv); + ALLOW(msgget); + ALLOW(msgctl); + } + for (auto &custom : _config->FindVector("APT::Sandbox::Seccomp::Allow")) { if ((rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, seccomp_syscall_resolve_name(custom.c_str()), 0))) |