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:	Fri, 4 Sep 2009 07:04:28 +0200
From:	Ingo Molnar <mingo@...e.hu>
To:	Wu Zhangjin <wuzhangjin@...il.com>
Cc:	linux-kernel@...r.kernel.org,
	James Bottomley <James.Bottomley@...e.de>,
	Rusty Russell <rusty@...tcorp.com.au>,
	Helge Deller <deller@....de>,
	Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: [PATCH] fix "no member named 'sect_attrs' of strcut module"


* Wu Zhangjin <wuzhangjin@...il.com> wrote:

> From: Wu Zhangjin <wuzhangjin@...il.com>
> 
> The commit(1b364bf438cf337a3818aee77d68c0713f3e1fc4, "module: workaround
> duplicate section names") introduced a condition to avoid null pointer
> reference:
> 
> -       add_notes_attrs(mod, hdr->e_shnum, secstrings, sechdrs);
> +       if (mod->sect_attrs)
> +               add_notes_attrs(mod, hdr->e_shnum, secstrings, sechdrs);
> 
> but sect_attrs is only defined when CONFIG_KALLSYMS enabled, so this
> patch is need to fix the following error:
> 
> error: 'struct module' has no member named 'sect_attrs'
> 
> Signed-off-by: Wu Zhangjin <wuzhangjin@...il.com>

This has been fixed already, see this upstream fix:

  ea6bff3: modules: Fix build error in the !CONFIG_KALLSYMS case

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