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]
Date:	Mon, 5 May 2008 13:02:34 +0100
From:	Al Viro <viro@...IV.linux.org.uk>
To:	Lothar Wa?mann <LW@...O-electronics.de>
Cc:	Willy Tarreau <w@....eu>, NeilBrown <neilb@...e.de>,
	Andrew Morton <akpm@...ux-foundation.org>,
	linux-kernel@...r.kernel.org, hch@...radead.org
Subject: Re: linux-2.6.25: 'mkdir -p' does not work with rootdir as mount
	point inside a read only filesystem

On Mon, May 05, 2008 at 09:38:57AM +0200, Lothar Wa?mann wrote:
> Hi,
> 
> Willy Tarreau writes:
> > > Interestingly your strace output showed a return value of EEXIST where
> > > mine had EROFS.
> > 
> > Oh you're right! I did not notice. There's something odd here.
> > And I can reproduce it right now (2.6.25.1). I really have
> > EEXIST.
> > 
> As I noted in my first message I have this problem with the kernel
> from git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
> which is currently 2.6.26-rc1 and still exhibits this behaviour.
> 
> So, this problem obviously does not exist in the 2.6.25 release kernel
> but would probably hit mainline in the 2.6.26 release.

Aye.  That's ro-bind fallout we'd not noticed; will fix...

And a fine example of the reasons why
	* relying on which particular errno value you get when several
are applicable is a Bad Idea(tm) and
	* changing the choice of the errno value in such situation might
be legal, but is to be done with care; sometimes it really has impact...
--
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