From 70c1211b2c7e06499114cc6011b1e56d0338f0e1 Mon Sep 17 00:00:00 2001 From: nakst <> Date: Tue, 14 Dec 2021 11:22:58 +0000 Subject: [PATCH] change_sysroot allow getpid --- util/change_sysroot.c | 1 + 1 file changed, 1 insertion(+) diff --git a/util/change_sysroot.c b/util/change_sysroot.c index c246f12..6ca373a 100644 --- a/util/change_sysroot.c +++ b/util/change_sysroot.c @@ -132,6 +132,7 @@ int main(int argc, char **argv) { || registers.orig_rax == SYS_fstat || registers.orig_rax == SYS_getcwd || registers.orig_rax == SYS_getdents64 + || registers.orig_rax == SYS_getpid || registers.orig_rax == SYS_getrandom || registers.orig_rax == SYS_getrusage || registers.orig_rax == SYS_ioctl