diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2017-11-25 20:58:31 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2017-11-25 20:59:25 +0000 |
commit | b63d0db0bbcf3eebef952e56081e10f9043ed7ad (patch) | |
tree | f82d888d740269f68d1c807a9752a140008fe4f8 /net-ftp/vsftpd/files | |
parent | gnome-extra/gnome-commander: Whitespace (diff) | |
download | gentoo-b63d0db0bbcf3eebef952e56081e10f9043ed7ad.tar.gz gentoo-b63d0db0bbcf3eebef952e56081e10f9043ed7ad.tar.bz2 gentoo-b63d0db0bbcf3eebef952e56081e10f9043ed7ad.zip |
net-ftp/vsftpd: fix clone usage, bug #630704
Rolf Eike Beer found and fixed the cause of
vsftpd being broken on sparc: clone syscall
needs special handling of sparc as argument
passing is special there.
Reported-by: Rolf Eike Beer
Fixed-by: Rolf Eike Beer
Closes: https://bugs.gentoo.org/630704
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'net-ftp/vsftpd/files')
-rw-r--r-- | net-ftp/vsftpd/files/vsftpd-3.0.3-sparc.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/net-ftp/vsftpd/files/vsftpd-3.0.3-sparc.patch b/net-ftp/vsftpd/files/vsftpd-3.0.3-sparc.patch new file mode 100644 index 000000000000..9bae9c0238f8 --- /dev/null +++ b/net-ftp/vsftpd/files/vsftpd-3.0.3-sparc.patch @@ -0,0 +1,16 @@ +Workaround clone syscall mishandling. + +https://bugs.gentoo.org/630704 +--- a/sysdeputil.c 2017-09-11 11:38:06.522229630 +0200 ++++ b/sysdeputil.c 2017-09-11 11:38:10.422229500 +0200 +@@ -67,7 +67,9 @@ + #if defined(__linux__) + #include <errno.h> + #include <syscall.h> +- #define VSF_SYSDEP_HAVE_LINUX_CLONE ++ #ifndef __sparc__ ++ #define VSF_SYSDEP_HAVE_LINUX_CLONE ++ #endif + #include <sched.h> + #ifndef CLONE_NEWPID + #define CLONE_NEWPID 0x20000000 |