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]
Message-ID: <20070812202320.GE21089@ftp.linux.org.uk>
Date:	Sun, 12 Aug 2007 21:23:20 +0100
From:	Al Viro <viro@....linux.org.uk>
To:	Jan Engelhardt <jengelh@...putergmbh.de>
Cc:	Mark Cannon <random.bits@...ers.com>,
	"H. Peter Anvin" <hpa@...or.com>, linux-kernel@...r.kernel.org
Subject: Re: Use of directories to hold root?

On Sun, Aug 12, 2007 at 09:49:02PM +0200, Jan Engelhardt wrote:
> 
> On Aug 12 2007 15:39, Mark Cannon wrote:
> >> >> No, but you can use pivot_root.
> >> >
> >> >Or better yet, use an initramfs with MS_MOVE; same as you would with the
> >> >"normal" use of initramfs.
> >
> >I am not sure I understand initramfs with MS_MOVE concept. I will look into
> >it. Any pointers for documentation? 
> 
> pivot_root is atomic afaict, for `mount --move` (which I think Al meant 
> which MS_MOVE - or some C program using mount(2) of your own), you'd 
> need multiple calls to mount.

Move itself is done by a single syscall anyway...
-
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