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:	Fri, 8 Sep 2006 11:04:02 -0700
From:	Andrew Morton <akpm@...l.org>
To:	Stefan Richter <stefanr@...6.in-berlin.de>
Cc:	David Howells <dhowells@...hat.com>, linux-kernel@...r.kernel.org,
	Ingo Molnar <mingo@...e.hu>
Subject: Re: 2.6.18-rc6-mm1

On Fri, 08 Sep 2006 19:43:19 +0200
Stefan Richter <stefanr@...6.in-berlin.de> wrote:

> Andrew Morton wrote:
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc6/2.6.18-rc6-mm1/
> ...
> > +nommu-move-the-fallback-arch_vma_name-to-a-sensible-place.patch
> ...
> 
> I get
> 
> 	kernel/signal.c:2742: warning: weak declaration of
> 	'arch_vma_name' after first use results in unspecified behavior
> 
> on X86_32, gcc 3.4.1-4mdk.
> 
> nommu-move-the-fallback-arch_vma_name-to-a-sensible-place.patch moves
> arch_vma_name() into kernel/signal.c, near its end.
> 
> vdso-improve-print_fatal_signals-support-by-adding-memory-maps.patch
> inserts a call to arch_vma_name() into kernel/signal.c, in the first
> half of signal.c.

Thanks.   Does this fix it?

--- a/include/linux/mm.h~nommu-move-the-fallback-arch_vma_name-to-a-sensible-place-fix
+++ a/include/linux/mm.h
@@ -1266,7 +1266,7 @@ void drop_slab(void);
 extern int randomize_va_space;
 #endif
 
-const char *arch_vma_name(struct vm_area_struct *vma);
+__attribute__((weak)) const char *arch_vma_name(struct vm_area_struct *vma);
 
 #endif /* __KERNEL__ */
 #endif /* _LINUX_MM_H */
_

-
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