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] [day] [month] [year] [list]
Message-ID: <da8706b9-f1e5-4f88-9250-d05f33021cc7@themaw.net>
Date: Wed, 14 Aug 2024 16:00:07 +0800
From: Ian Kent <raven@...maw.net>
To: Al Viro <viro@...iv.linux.org.uk>
Cc: Christian Brauner <brauner@...nel.org>,
 autofs mailing list <autofs@...r.kernel.org>,
 linux-fsdevel <linux-fsdevel@...r.kernel.org>,
 Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] autofs: add per dentry expire timeout


On 14/8/24 13:45, Al Viro wrote:
> On Wed, Aug 14, 2024 at 11:50:37AM +0800, Ian Kent wrote:
>
>> +		inode_lock_shared(inode);
>> +		dentry = try_lookup_one_len(param->path, base, path_len);
>> +		inode_unlock_shared(inode);
>> +		if (!dentry)
>> +			return -ENOENT;
>> +		ino = autofs_dentry_ino(dentry);
> Why can't we get ERR_PTR(...) from try_lookup_one_len() here?

Oops!

Thanks Al, I'll post a v2.


Ian


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ