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] [day] [month] [year] [list]
Message-ID: <20080911152916.GE4933@localhost.localdomain>
Date:	Thu, 11 Sep 2008 18:29:18 +0300
From:	"Kirill A. Shutemov" <kirill@...temov.name>
To:	David Miller <davem@...emloft.net>
Cc:	adobriyan@...il.com, linux-kernel@...r.kernel.org,
	caulfie@...hat.com, teigland@...hat.com, dwmw2@...radead.org,
	akpm@...ux-foundation.org
Subject: Re: [PATCH] include <linux/types.h> into linux/dlm_plock.h for
	__u* typedef

On Wed, Sep 10, 2008 at 01:18:24PM -0700, David Miller wrote:
> From: "Kirill A. Shutemov" <kirill@...temov.name>
> Date: Wed, 10 Sep 2008 16:15:13 +0300
> 
> > $ make headers_install
> > ...
> > $ gcc usr/include/linux/dlm_plock.h
> > usr/include/linux/dlm_plock.h:25: error: expected specifier-qualifier-list
> > before ‘__u32’
> 
> That's not how this file is used by real applications.
> Anybody can cook up contrived cases like this.
> 
> Please show a real application or kernel compilation which breaks
> because of the lack of types.h include here.

Any application which include this header before linux/types.h (directly or 
indirectly) will get the error. It's dependence on the order of inclusion.

-- 
Regards,  Kirill A. Shutemov
 + Belarus, Minsk
 + ALT Linux Team, http://www.altlinux.com/

Download attachment "signature.asc" of type "application/pgp-signature" (198 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ