Files @ 9c72f8d8b1ad
Branch filter:

Location: ohnobinki_overlay/net-ftp/vsftpd/files/vsftpd-2.0.6-libcap1.patch

binki
sys-devel/libtool: Simple patch against ltdl.m4 for bug 293921 . Removed old versions of libtool.
diff -ur vsftpd-2.0.5.orig/sysdeputil.c vsftpd-2.0.5/sysdeputil.c
--- vsftpd-2.0.5.orig/sysdeputil.c	2007-01-05 17:58:28.000000000 +0000
+++ vsftpd-2.0.5/sysdeputil.c	2007-01-05 17:55:30.000000000 +0000
@@ -508,6 +505,18 @@
 }
   
   #ifndef VSF_SYSDEP_HAVE_LIBCAP
+
+static int
+capset(struct __user_cap_header_struct *header,
+       const struct __user_cap_data_struct *data);
+
+static int
+capset(struct __user_cap_header_struct *header,
+       const struct __user_cap_data_struct *data)
+{
+  return syscall(__NR_capset, header, data);
+}
+
 static int
 do_checkcap(void)
 {