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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+CX+bjErkFu=VVv55PtiWg-Z88twBUyE20vo5A3fk9=ZD_LLw@mail.gmail.com>
Date:   Sat, 15 Oct 2016 13:05:10 +0100
From:   Pascal Terjan <pterjan@...il.com>
To:     Mikko Rapeli <mikko.rapeli@....fi>,
        "David S. Miller" <davem@...emloft.net>
Cc:     netdev@...r.kernel.org
Subject: linux/atm_zatm.h not really usable in userspace since cf00713a655d3019be7faa184402f16c43a0fed3

It is no longer possible to include <linux/atm_zatm.h> + userspace
headers using time, for example  <stdlib.h>, this broke for example
the build of linux-atm.

Reproducer:

$ cat test.c
#include <linux/atm_zatm.h>
#include <stdlib.h>

$ gcc -c test.c
In file included from /usr/include/sys/select.h:43:0,
                 from /usr/include/sys/types.h:219,
                 from /usr/include/stdlib.h:314,
                 from test.c:2:
/usr/include/time.h:120:8: error: redefinition of 'struct timespec'
 struct timespec
        ^
In file included from /usr/include/linux/atm_zatm.h:17:0,
                 from test.c:1:
/usr/include/linux/time.h:9:8: note: originally defined here
 struct timespec {
        ^
In file included from /usr/include/sys/select.h:45:0,
                 from /usr/include/sys/types.h:219,
                 from /usr/include/stdlib.h:314,
                 from test.c:2:
/usr/include/bits/time.h:30:8: error: redefinition of 'struct timeval'
 struct timeval
        ^
In file included from /usr/include/linux/atm_zatm.h:17:0,
                 from test.c:1:
/usr/include/linux/time.h:15:8: note: originally defined here
 struct timeval {
        ^

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ