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:	Sat, 10 Dec 2011 14:54:56 +0100
From:	Michal Marek <mmarek@...e.cz>
To:	Mike Frysinger <vapier@...too.org>
Cc:	linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org,
	Tony Finch <dot@...at.at>
Subject: Re: [PATCH] unifdef: drop unused errno.h include

On Tue, Dec 06, 2011 at 05:26:50PM -0500, Mike Frysinger wrote:
> This is the only header on my system that ends up requiring kernel
> headers, so if the kernel headers aren't available, we end up being
> unable to install kernel headers :).
> 
> Since this file doesn't actually use anything from errno.h, drop
> the include so it at least makes us a bit more robust on glibc.
> 
> Signed-off-by: Mike Frysinger <vapier@...too.org>
> ---
>  scripts/unifdef.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
> 
> diff --git a/scripts/unifdef.c b/scripts/unifdef.c
> index 7493c0e..c5dfae5 100644
> --- a/scripts/unifdef.c
> +++ b/scripts/unifdef.c
> @@ -48,7 +48,6 @@
>  
>  #include <ctype.h>
>  #include <err.h>
> -#include <errno.h>
>  #include <stdarg.h>
>  #include <stdbool.h>
>  #include <stdio.h>

Adding unifdef upstream maintainer to Cc. I can apply the patch to the
kernel copy if there is no objection from Tony.

Michal
--
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