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:	Wed, 13 May 2009 18:20:43 +0300
From:	Gleb Natapov <gleb@...hat.com>
To:	Masami Hiramatsu <mhiramat@...hat.com>
Cc:	Przemysssaw Paweeeczyk <przemyslaw@...elczyk.it>,
	Ingo Molnar <mingo@...e.hu>,
	Steven Rostedt <rostedt@...dmis.org>,
	lkml <linux-kernel@...r.kernel.org>,
	systemtap <systemtap@...rces.redhat.com>,
	kvm <kvm@...r.kernel.org>, Jim Keniston <jkenisto@...ibm.com>,
	"H. Peter Anvin" <hpa@...or.com>,
	Ananth N Mavinakayanahalli <ananth@...ibm.com>,
	Frederic Weisbecker <fweisbec@...il.com>,
	Andi Kleen <ak@...ux.intel.com>,
	Vegard Nossum <vegard.nossum@...il.com>,
	Avi Kivity <avi@...hat.com>
Subject: Re: [PATCH -tip v5 1/7] x86: instruction decorder API

On Wed, May 13, 2009 at 10:35:55AM -0400, Masami Hiramatsu wrote:
> Gleb Natapov wrote:
> > On Wed, May 13, 2009 at 11:35:16AM +0200, Przemysssaw Paweeeczyk wrote:
> >> On Wed, May 13, 2009 at 10:23, Gleb Natapov <gleb@...hat.com> wrote:
> >>> On Fri, May 08, 2009 at 08:48:42PM -0400, Masami Hiramatsu wrote:
> >>>> +++ b/arch/x86/scripts/gen-insn-attr-x86.awk
> >>>> @@ -0,0 +1,314 @@
> >>>> +#!/bin/awk -f
> >>> On some distributions (debian) it is /usr/bin/awk.
> >> True, but on most of them (all?) there is also an appropriate link in /bin.
> > Nope, not on debian testing. Although I assume if kernel compilation
> > will start to fail it will appear :)
> > 
> >> If shebang could have more that one argument, then '/usr/bin/env awk
> >> -f' would be the best solution I think.
> 
> Ah, I see.
> Actually, it will be executed from Makefile with 'awk -f'.
> 
> > --- a/arch/x86/lib/Makefile
> > +++ b/arch/x86/lib/Makefile
> > @@ -2,12 +2,21 @@
> >  # Makefile for x86 specific library files.
> >  #
> >  
> > +quiet_cmd_inat_tables = GEN     $@
> > +      cmd_inat_tables = awk -f $(srctree)/arch/x86/scripts/gen-insn-attr-x86.awk $(srctree)/arch/x86/lib/x86-opcode-map.txt > $@
> > +
> 
> So, if awk is on the PATH, it will pass.
Ah, that is good enough I thing. I tried to run scrip manually.

> Maybe, I need to add 'HOSTAWK = awk' line in Makefile.
> 

--
			Gleb.
--
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