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:	Wed, 23 May 2007 20:15:44 -0700
From:	Randy Dunlap <randy.dunlap@...cle.com>
To:	Ben Collins <bcollins@...ntu.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/6] i386/x86_64: Allow disabling the putstr's from
 compressed boot wrapper

On Wed, 23 May 2007 17:59:10 -0400 Ben Collins wrote:

> diff --git a/arch/i386/boot/compressed/misc.c b/arch/i386/boot/compressed/misc.c
> index b28505c..cc630d5 100644
> --- a/arch/i386/boot/compressed/misc.c
> +++ b/arch/i386/boot/compressed/misc.c
> @@ -278,6 +277,9 @@ static void putstr(const char *s)
>  	outb_p(15, vidport);
>  	outb_p(0xff & (pos >> 1), vidport+1);
>  }
> +#else
> +#define putstr(__x) do{}while(0)

Please find the spacebar:

#define putstr(__x)	do {} while (0)

> +#endif /* CONFIG_WRAPPER_PRINT */
>  
>  static void* memset(void* s, int c, unsigned n)
>  {
> diff --git a/arch/x86_64/boot/compressed/misc.c b/arch/x86_64/boot/compressed/misc.c
> index f932b0e..43bb44c 100644
> --- a/arch/x86_64/boot/compressed/misc.c
> +++ b/arch/x86_64/boot/compressed/misc.c
> @@ -274,6 +273,9 @@ static void putstr(const char *s)
>  	outb_p(15, vidport);
>  	outb_p(0xff & (pos >> 1), vidport+1);
>  }
> +#else
> +#define putstr(__x) do{}while(0)

ditto.

> +#endif /* CONFIG_WRAPPER_PRINT */
>  
>  static void* memset(void* s, int c, unsigned n)
>  {


---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
-
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