[seccomp] allow getrandom

This commit is contained in:
Omar Polo 2021-01-25 15:25:04 +00:00
parent 333a671107
commit 2d3f837ac5
1 changed files with 3 additions and 0 deletions

View File

@ -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),