void-packages/srcpkgs/vsftpd/patches/009-i686-musl.patch

16 lines
394 B
Diff
Raw Normal View History

--- ptracesandbox.c.orig 2018-04-25 10:43:45.885676254 +0200
+++ ptracesandbox.c 2018-04-25 10:44:23.021677437 +0200
@@ -854,8 +854,12 @@
arg2 != F_SETOWN &&
arg2 != F_SETLK &&
arg2 != F_SETLKW &&
+#if defined(F_SETLK64)
arg2 != F_SETLK64 &&
+#endif
+#if defined(F_SETLK64)
arg2 != F_SETLKW64 &&
+#endif
arg2 != F_SETFD &&
arg2 != F_GETFD)
{