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: <1452275227.4028.76.camel@perches.com>
Date:	Fri, 08 Jan 2016 09:47:07 -0800
From:	Joe Perches <joe@...ches.com>
To:	Dan Carpenter <dan.carpenter@...cle.com>
Cc:	linux-kernel@...r.kernel.org,
	Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [patch] get_maintainer: handle file names beginning with ./

On Fri, 2016-01-08 at 16:44 +0300, Dan Carpenter wrote:
> On Fri, Jan 08, 2016 at 03:37:56AM -0800, Joe Perches wrote:
> > On Fri, 2016-01-08 at 13:51 +0300, Dan Carpenter wrote:
> > > The problem is that get_maintainer.pl doesn't work if you have a ./
> > > prefix on the filename.  For example, if you type:
> > > 
> > >     ./scripts/get_maintainer.pl -f ./drivers/usb/usb-skeleton.c
> > 
> > Someone's been feeding find output to get_maintainer?
> 
> Yep.

So strip the leading './' before using it.

Also, if you're looking for unmaintained files,
I think have a script for that too.

> > Then maybe you'd also have to consider fully qualified
> > file names, tilde expansion, $PWD, and probably a bunch
> > of other things too.
> 
> I don't think you'd "have" to consider those as well, but I won't stand
> in your way if you want to...

Half measures aren't generally good enough.

Using a combination of CWnd abs_fast_path and $lk_path
is probably better.  $lkpath is set to './' by default.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ