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:	Fri, 30 Oct 2009 01:53:37 -0400
From:	Christoph Hellwig <hch@...radead.org>
To:	Kusanagi Kouichi <slash@...auone-net.jp>
Cc:	linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] fs: Don't ignore MS_RDONLY in bind and not remount
	case.

On Fri, Oct 30, 2009 at 02:31:46PM +0900, Kusanagi Kouichi wrote:
> A readonly bind mount needed to be created in 2 steps
> 
> # mount --bind
> # mount --bind -o remount,ro
> 
> instead of single
> 
> # mount --bind -o ro
> 
> because MS_RDONLY is ignored in bind and not remount case.

I'm pretty sure that was intentional, but I don't remember why anymore.

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