Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
No build reason found for images:x86_64
openSUSE:Leap:15.2:Staging:A
syslogd
klogd-obsolete.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File klogd-obsolete.patch of Package syslogd
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) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor