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:	Tue, 8 May 2007 20:49:54 +0200
From:	Sam Ravnborg <sam@...nborg.org>
To:	"Luck, Tony" <tony.luck@...el.com>
Cc:	David Woodhouse <dwmw2@...radead.org>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Kees Cook <kees@...flux.net>,
	Randy Dunlap <randy.dunlap@...cle.com>,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/3] kbuild: complain about missing system calls.

On Tue, May 08, 2007 at 11:35:27AM -0700, Luck, Tony wrote:
> Looks more complex than necessary.  Why do you want to execute
> an arch specific script to list the __IGNORE symbols?  That would
> allow an arch to generate a list with sed/perl/etc. but that
> looks like overkill.
> 
> If you just have an arch specific file with the right defines.
> E.g. for x86_64 in include/asm-x86_64/ignore_syscalls:
> 
> #include __IGNORE_getcpu
> 
> Then the checksyscalls.sh changes would just be something like
> (do I need a ${srctree} before the include??):
Much better - thanks.

Yes. For "make O=..." builds we need to refer to the file in
the srctree. include/asm/... is not pointing back to the original tree.
So I had to use:

if [ -f ${srctree}/include/asm-${ARCH}/ignore_syscalls ]; then
	cat ${srctree}/include/asm-${ARCH}/ignore_syscalls
fi

To make it work.
I will push this change out during the weekend I hope.

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