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-next>] [day] [month] [year] [list]
Message-Id: <466D2337.76E4.0078.0@novell.com>
Date:	Mon, 11 Jun 2007 10:25:59 +0200
From:	"Jan Beulich" <jbeulich@...ell.com>
To:	<sam@...nborg.org>
Cc:	<linux-kernel@...r.kernel.org>
Subject: Re: kbuild: fix section mismatch check for vmlinux

>vmlinux does not contain relocation entries which is
>used by the section mismatch checks.
>Reported by: Atsushi Nemoto <anemo@....ocn.ne.jp>
>
>Use the individual objects as inputs to overcome
>this limitation.
>In modpost check the .o files and skip non-ELF files.
>
>Signed-off-by: Sam Ravnborg <sam@...nborg.org>

This still doesn't appear to catch all cases - since the checking logic works
on a per-module basis, references between the individual .o files aren't
being checked. A current instance where this is visible is x86-64's recently
added alloc_bootmem_high_node (non-__init, in arch/x86_64/mm/built-in.o)
calling __alloc_bootmem_core (__init, in mm/built-in.o). I suppose there's
no way around linking $(KBUILD_VMLINUX_OBJS) into vmlinux.o, and
checking that file instead.

Jan

-
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