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]
Date:	Sat, 13 Oct 2007 21:19:34 +1000
From:	Nigel Cunningham <nigel@...el.suspend2.net>
To:	Dave Jones <davej@...hat.com>
Cc:	LKML <linux-kernel@...r.kernel.org>
Subject: Re: Current Linus' git compilation breakage.

Hi Dave et al.

On Saturday 13 October 2007 11:22:44 Dave Jones wrote:
> On Sat, Oct 13, 2007 at 11:11:31AM +1000, Nigel Cunningham wrote:
>  > Hi all.
>  > 
>  > Maybe I just picked a bad time to try, but...
>  > 
>  > arch/x86/kernel/alternative.c: In function 'apply_alternatives':
>  > arch/x86/kernel/alternative.c:191: error: 'VSYSCALL_START' undeclared 
(first use in this function)
>  > arch/x86/kernel/alternative.c:191: error: (Each undeclared identifier is 
reported only once
>  > arch/x86/kernel/alternative.c:191: error: for each function it appears 
in.)
>  > arch/x86/kernel/alternative.c:191: error: 'VSYSCALL_END' undeclared 
(first use in this function)
>  > make[1]: *** [arch/x86/kernel/alternative.o] Error 1
>  > make: *** [arch/x86/kernel] Error 2
> 
> Try this.
> 
> Include missing header for vsyscall.
> 
> Signed-off-by: Dave Jones <davej@...hat.com>

Thanks.

Compile-Tested-by: Nigel Cunningham <ncunning@...hat.com>

> diff --git a/arch/x86/kernel/alternative.c b/arch/x86/kernel/alternative.c
> index bd72d94..11b03d3 100644
> --- a/arch/x86/kernel/alternative.c
> +++ b/arch/x86/kernel/alternative.c
> @@ -10,6 +10,7 @@
>  #include <asm/pgtable.h>
>  #include <asm/mce.h>
>  #include <asm/nmi.h>
> +#include <asm/vsyscall.h>
>  
>  #define MAX_PATCH_LEN (255-1)
-
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