Hello community, here is the log from the commit of package syslogd for openSUSE:Factory checked in at 2016-02-03 10:17:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/syslogd (Old) and /work/SRC/openSUSE:Factory/.syslogd.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "syslogd" Changes: -------- --- /work/SRC/openSUSE:Factory/syslogd/syslogd.changes 2015-05-10 10:56:52.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.syslogd.new/syslogd.changes 2016-02-03 10:17:07.000000000 +0100 @@ -1,0 +2,5 @@ +Mon Jan 25 14:22:13 UTC 2016 - [email protected] + +- klogd-obsolete.patch: avoid use of obsolete function get_kernel_syms + +------------------------------------------------------------------- New: ---- klogd-obsolete.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ syslogd.spec ++++++ --- /var/tmp/diff_new_pack.vfLHaS/_old 2016-02-03 10:17:09.000000000 +0100 +++ /var/tmp/diff_new_pack.vfLHaS/_new 2016-02-03 10:17:09.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package syslogd # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -85,6 +85,7 @@ Patch26: sysklogd-1.4.1-systemd-sock-name.patch # PATCH-FIX-SUSE bsc#897262, CVE-2014-3634 rsyslog/syslogd: remote syslog PRI vulnerability Patch28: sysklogd-1.4.1-CVE-2014-3634.patch +Patch29: klogd-obsolete.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -175,6 +176,7 @@ %patch25 -p0 -b .sd2 %patch26 -p0 -b .sd3 %patch28 -p0 -b .cve20143634 +%patch29 -p1 %patch0 -p0 %build ++++++ klogd-obsolete.patch ++++++ Index: sysklogd-1.4.1/ksym_mod.c =================================================================== --- sysklogd-1.4.1.orig/ksym_mod.c +++ sysklogd-1.4.1/ksym_mod.c @@ -89,6 +89,7 @@ #include <errno.h> #include <sys/fcntl.h> #include <sys/stat.h> +#include <sys/syscall.h> #include <stdarg.h> #include <paths.h> #include <limits.h> @@ -105,7 +106,16 @@ struct kernel_sym }; extern __off64_t lseek64 __P ((int __fd, __off64_t __offset, int __whence)); -extern int get_kernel_syms __P ((struct kernel_sym *__table)); + +static int get_kernel_syms(struct kernel_sym *table) +{ +#ifdef SYS_get_kernel_syms + return syscall(SYS_get_kernel_syms, table); +#else + errno = ENOSYS; + return -1; +#endif +} static inline __off64_t seek64(int fd, uintptr_t address) {
