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:	Sat, 7 Jun 2008 22:08:18 +0200
From:	Willy Tarreau <w@....eu>
To:	Alejandro Riveira Fernández 
	<ariveira@...il.com>
Cc:	Dave Jones <davej@...hat.com>,
	Linux Kernel <linux-kernel@...r.kernel.org>
Subject: Re: wrong hardlink count in /proc

On Sat, Jun 07, 2008 at 10:04:18PM +0200, Alejandro Riveira Fernández wrote:
> El Sat, 7 Jun 2008 15:50:42 -0400
> Dave Jones <davej@...hat.com> escribió:
> 
> > On Sat, Jun 07, 2008 at 09:46:04PM +0200, Willy Tarreau wrote:
> >  > On Sat, Jun 07, 2008 at 03:34:24PM -0400, Dave Jones wrote:
> >  > > In 2.6.25, 'find /proc/ -name foo' will print out ..
> >  > > 
> >  > > find: WARNING: Hard link count is wrong for /proc/1: this may be a bug
> >  > > in your filesystem driver.  Automatically turning on find's -noleaf
> >  > > option.  Earlier results may have failed to include directories that
> >  > > should have been searched.
> >  > 
> >  > I also encountered this one. I think it is the one which 2.6.25.6 stable
> >  > patch 42/50 fixes.
> > 
> > Ah, great.   I just noticed that .26rc doesn't seem affected, so sounds good.
> 
>  well on my ubuntu box i get with .26-rc5
> 
>  [alex@...da:kernel/linux-2.6]$ uname -a                      
>  Linux Varda 2.6.26-rc5 #1 SMP PREEMPT Thu Jun 5 10:59:53 CEST 2008 x86_64 GNU/Linux
>  [alex@...da:kernel/linux-2.6]$ LC_ALL=C sudo find /proc -name foo                                              
>  find: WARNING: Hard link count is wrong for /proc/1: this may be a bug in your filesystem driver.  Automatically turning   on find's -noleaf option.  Earlier results may have failed to include directories that should have been searched.
>  find: /proc/5257/net: Invalid argument
>  [alex@...da:kernel/linux-2.6]$ 

It was merged after 2.6.26-rc5. Commit id is aed54175 which is post-rc5.

Regards,
Willy

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