lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sun, 3 Sep 2017 11:28:20 -0700 From: Ben Greear <greearb@...delatech.com> To: Stephen Hemminger <stephen@...workplumber.org> Cc: netdev@...r.kernel.org Subject: Re: [PATCH] Fix build on fedora-14 (and other older systems) On 09/03/2017 08:50 AM, Stephen Hemminger wrote: > On Sat, 2 Sep 2017 07:15:02 -0700 > greearb@...delatech.com wrote: > >> diff --git a/include/linux/sysinfo.h b/include/linux/sysinfo.h >> index 934335a..3596b02 100644 >> --- a/include/linux/sysinfo.h >> +++ b/include/linux/sysinfo.h >> @@ -3,6 +3,14 @@ >> >> #include <linux/types.h> >> >> +/* So we can compile on older OSs, hopefully this is correct. --Ben */ >> +#ifndef __kernel_long_t >> +typedef long __kernel_long_t; >> +#endif >> +#ifndef __kernel_ulong_t >> +typedef unsigned long __kernel_ulong_t; >> +#endif >> + >> #define SI_LOAD_SHIFT 16 >> struct sysinfo { >> __kernel_long_t uptime; /* Seconds since boot */ > > I am not accepting this patch because all files in include/linux are automatically > regenerated from kernel 'make install_headers'. No exceptions. If you want to change > a header in include/linux it has to go through upstream kernel inclusion. It would be wrong to add this to the actual kernel header I think. Do you have another suggestion for fixing iproute2 compile? Thanks, Ben -- Ben Greear <greearb@...delatech.com> Candela Technologies Inc http://www.candelatech.com
Powered by blists - more mailing lists