diff options
author | Omar Polo <op@omarpolo.com> | 2021-07-23 06:50:30 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-07-23 06:50:30 +0000 |
commit | 21f7d2469937a5168542cc12586fb1153d5cc2f4 (patch) | |
tree | b311f787182ed4a7b9ef5a4d4a65656ada2389cd | |
parent | af5f9b271e852c641ff6c1d226e42d98f4182f25 (diff) |
allow fstat64
used by glibc on aarch64.
Found and tested by pine, thanks!
-rw-r--r-- | sandbox.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -300,6 +300,9 @@ static struct sock_filter filter[] = { #ifdef __NR_fstat SC_ALLOW(fstat), #endif +#ifdef __NR_fstat64 + SC_ALLOW(fstat64), +#endif #ifdef __NR_getdents64 SC_ALLOW(getdents64), #endif |