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]
Date:	Wed, 20 Jan 2010 19:04:22 +0100
From:	Krzysztof Halasa <khc@...waw.pl>
To:	Ramagudi Naziir <naziirr@...il.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: how do YOU hack the linux kernel ?

Ramagudi Naziir <naziirr@...il.com> writes:

> do you use vim ?

Sure, for small changes. And emacs.

> If so, how do you open files you want to read/edit ?
> Assuming you don't remember their exact name/location, you'd need to
> use something like 'find . -iname '*pattern*'. which is slow.

Not very slow, if the tree is already in cache. You need only ca. 1 GB
of RAM for this. I never use ".", I use "*" instead as it ignores .git
directory:

$ time find * -iname \*pattern\*
real    0m0.051s

$ time grep "The pattern" * -r
(results)
real    0m0.330s

(grep -i is much slower).

Other tools? Git, gitk and WWW browser :-)
-- 
Krzysztof Halasa
--
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