vsftpd: fix i686-musl

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller 2018-04-25 10:45:15 +02:00
parent 149551f87b
commit 4b78a00fcc
No known key found for this signature in database
GPG Key ID: 6764EC32352D0647
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
--- 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)
{