Sophie

Sophie

distrib > Mageia > 6 > i586 > media > core-release-src > by-pkgid > 48507765d6e27f6b38e2638a1b15d45e > files > 20

vsftpd-3.0.3-4.mga6.src.rpm

diff -urN vsftpd-3.0.2/seccompsandbox.c vsftpd-3.0.2.new/seccompsandbox.c
--- vsftpd-3.0.2/seccompsandbox.c	2012-09-18 08:52:30.000000000 +0200
+++ vsftpd-3.0.2.new/seccompsandbox.c	2014-04-10 14:55:30.855607231 +0200
@@ -303,6 +303,14 @@
   allow_nr(__NR_rt_sigreturn); /* Used to handle SIGPIPE. */
   allow_nr(__NR_restart_syscall);
   allow_nr(__NR_close);
+  
+ /*
+  * Calls to alarm and date
+  * Seems to be some part of the logging
+  * wrt bnc#870122
+  */
+   allow_nr(__NR_alarm);
+   allow_nr(__NR_gettimeofday);
 
   /* Always need to be able to exit ! */
   allow_nr(__NR_exit_group);