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>] [day] [month] [year] [list]
Message-Id: <E1OWDkX-0002mT-0t@pomaz-ex.szeredi.hu>
Date:	Tue, 06 Jul 2010 21:24:09 +0200
From:	Miklos Szeredi <miklos@...redi.hu>
To:	David Howells <dhowells@...hat.com>
Cc:	viro@....linux.org.uk, akpm@...ux-foundation.org,
	linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/7] cachefiles: use path_get instead of lone dget

On Tue, 06 Jul 2010, David Howells wrote:
> Miklos Szeredi <miklos@...redi.hu> wrote:
> 
> > Dentry references should not be acquired without a corresponding
> > vfsmount ref.
> 
> Which we have: current->fs holds one.  Or is this unsafe due to CLONE_FS?

current->fs doesn't change, but the contents can (e.g. another thread
does chdir()).

Thanks,
Miklos
--
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