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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20081217161522.GF25779@one.firstfloor.org>
Date:	Wed, 17 Dec 2008 17:15:22 +0100
From:	Andi Kleen <andi@...stfloor.org>
To:	Steven Rostedt <srostedt@...hat.com>
Cc:	Peter Zijlstra <peterz@...radead.org>,
	Andi Kleen <andi@...stfloor.org>,
	George Spelvin <linux@...izon.com>,
	linux-kernel@...r.kernel.org, tj@...nel.org
Subject: Re: [RFC] globmatch() helper function

> I need to look at your code (I would like a generalized glob feature for
> user input). Can you accomplish the same with using a loop instead of
> recursion?

Standard * always requires a stack, it's a recursive problem unless
you change the semantics to non greedy. While you can open code the
stack it would be be easier to just limit the recursion.  Not more than 
10 or so should be plenty.

But the other problem is that Linux doesn't accept anonymous code 
contributions.

-Andi

-- 
ak@...ux.intel.com
--
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