Files @ f5d062a5d761
Branch filter:

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

binki
dev-util/fastconf: New ebuild: fastconf-0.0.1_pre20100930, a snapshot of sedzimir's fastconf to act as a dependency for sunrise-commit which now comes with a fastconf-based ./configure.

(Portage version: 2.2_rc88-r1/hg/Linux x86_64, signed Manifest commit)
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)
 {