void-packages/srcpkgs/vsftpd/patches/008-allow-getrandom.patch
2017-02-09 17:19:29 +01:00

12 lines
277 B
Diff

--- seccompsandbox.c.orig
+++ seccompsandbox.c
@@ -286,6 +286,9 @@
static void
seccomp_sandbox_setup_base()
{
+ /* allow getrandom. */
+ allow_nr(__NR_getrandom);
+
/* Simple reads and writes on existing descriptors. */
allow_nr(__NR_read);
allow_nr(__NR_write);