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-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 21 Oct 2007 14:26:46 -0700
From:	"H. Peter Anvin" <hpa@...or.com>
To:	Gabriel C <nix.or.die@...glemail.com>
CC:	Sam Ravnborg <sam@...nborg.org>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	Ingo Molnar <mingo@...e.hu>, Gabriel C <crazy@...pmylinux.org>,
	Thomas Gleixner <tglx@...utronix.de>
Subject: Re: some kernel headers broken in current git ?

Gabriel C wrote:
>>
>> Add a #include <linux/types.h> to the-linux-kernel.h and let us know if it helps.
> 
> Does not help , now I get on top the other errors :
> 
> /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/include/iprt/types.h:121: error: redefinition of typedef 'bool'
> /lib/modules/2.6.23-gcfa76f02/build/include/linux/types.h:33: error: previous declaration of 'bool' was here
> 
> ...
> 
> /*
>  * C doesn't have bool.
>  */
> #ifndef __cplusplus
> # if defined(__GNUC__)
> #  if defined(RT_OS_LINUX) && __GNUC__ < 3
> typedef uint8_t bool;
> #  else
> #   if defined(RT_OS_DARWIN) && defined(_STDBOOL_H)
> #    undef bool
> #   endif
> typedef _Bool bool; <- line 121
> #  endif
> # else
> typedef unsigned char bool;
> # endif
> # ifndef true
> #  define true  (1)
> # endif
> # ifndef false
> #  define false (0)
> # endif
> #endif
> 
> 
> Looking at include/iprt/types.h that has already #include <linux/types.h>.
> 

Yeah, this is a VirtualBox problem.

At this point, this is clearly a matter for innotek, not for the 
mainstream kernel development community.

	-hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ