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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+55aFzK_OBwhuBw1Oap6Z-Q4+D3NZipZXBn50JuRvcYVz60+w@mail.gmail.com>
Date:	Thu, 21 Mar 2013 14:57:29 -0700
From:	Linus Torvalds <torvalds@...ux-foundation.org>
To:	Al Viro <viro@...iv.linux.org.uk>
Cc:	Dave Jones <davej@...hat.com>,
	Linux Kernel <linux-kernel@...r.kernel.org>
Subject: Re: VFS deadlock ?

On Thu, Mar 21, 2013 at 2:55 PM, Al Viro <viro@...iv.linux.org.uk> wrote:
> On Thu, Mar 21, 2013 at 02:47:06PM -0700, Linus Torvalds wrote:
>
>> It will also end up giving you
>> the information about whether the dentry is unlinked or not.
>
> You also want to know if p2 is unlinked, though (and yes, it's dentry_path(),
> of course - apologies for the braino).

Just do dentry_path on both p1 and p2. You'll have to have two
different buffers for them, of course.

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