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>] [day] [month] [year] [list]
Date:	Mon, 10 Feb 2014 14:52:37 +0100
From:	Peter Zijlstra <peterz@...radead.org>
To:	mingo@...nel.org, dave.hansen@...el.com,
	torvalds@...ux-foundation.org, peter@...leysoftware.com,
	alex.shi@...aro.org, riel@...hat.com, arnd@...db.de,
	figo1802@...il.com, akpm@...ux-foundation.org,
	matthew.r.wilcox@...el.com, aarcange@...hat.com,
	tglx@...utronix.de, scott.norton@...com,
	linux-kernel@...r.kernel.org, hpa@...or.com, andi@...stfloor.org,
	davidlohr.bueso@...com, waiman.long@...com, will.deacon@....com,
	tim.c.chen@...ux.intel.com, paulmck@...ux.vnet.ibm.com,
	raghavendra.kt@...ux.vnet.ibm.com, linux@...izon.com,
	walken@...gle.com, aswin@...com, mingo@...e.hu
Cc:	linux-tip-commits@...r.kernel.org
Subject: Re: [tip:core/locking] locking/mcs: Order the header files in Kbuild
 of each architecture in alphabetical order

On Mon, Feb 10, 2014 at 05:32:32AM -0800, tip-bot for Tim Chen wrote:

This script is actually buggy and lost some headers; the fixed version
is as follows:

> for i in arch/*/include/asm/Kbuild
> do
>         cat $i | gawk '/^generic-y/ {
>                 i = 3;
>                 do {
			n = NF;
                        for (; i <= n; i++) {
>                                 if ($i == "\\") {
>                                         getline;
                                         i = 0;
>                                         continue;
>                                 }
>                                 if ($i != "")
>                                         hdr[$i] = $i;
>                         }
>                         break;
>                 } while (1);
>                 next;
>         }
>         // {
>                 print $0;
>         }
>         END {
>                 n = asort(hdr);
>                 for (i = 1; i <= n; i++)
>                         print "generic-y += " hdr[i];
>         }' > ${i}.sorted;
>         mv ${i}.sorted $i;
> done
--
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