diff options
author | Omar Polo <op@omarpolo.com> | 2021-01-25 15:25:04 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-01-25 15:25:04 +0000 |
commit | 2d3f837ac587063ac967c12afbdb219ba231256c (patch) | |
tree | 5e01b24f4d502b74e27b29b0ff4751975d009266 /sandbox.c | |
parent | 333a671107317e26f5dfe7bbb86489c62593aca7 (diff) |
[seccomp] allow getrandom
Diffstat (limited to 'sandbox.c')
-rw-r--r-- | sandbox.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -179,6 +179,9 @@ sandbox() /* alpine on amd64 does a clock_gettime(2) */ SC_ALLOW(clock_gettime), + /* void on aarch64 does a gettrandom */ + SC_ALLOW(getrandom), + /* for directory listing */ SC_ALLOW(getdents64), |