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:	Thu, 23 Feb 2012 19:20:24 +0800
From:	Ian Kent <raven@...maw.net>
To:	"H. Peter Anvin" <hpa@...or.com>
Cc:	Thomas Meyer <thomas@...3r.de>, David Miller <davem@...emloft.net>,
	linux-kernel@...r.kernel.org, autofs@...r.kernel.org,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	Al Viro <viro@...iv.linux.org.uk>
Subject: Re: compat: autofs v5 packet size ambiguity - update

On Wed, 2012-02-22 at 22:31 -0800, H. Peter Anvin wrote:
> However, I liked Linus' approach.of using the version ioctl; any reason not to?

Not really, although that ioctl is used it doesn't have to be but you
must mount the autofs file system to use it. Setting a timeout is
another ioctl that is almost mandatory although not using it amounts to
saying you don't want anything to expire which is valid.

> 
> Ian Kent <raven@...maw.net> wrote:
> 
> >On Thu, 2012-02-23 at 10:21 +0800, Ian Kent wrote:
> >> On Thu, 2012-02-23 at 09:54 +0800, Ian Kent wrote:
> >> > On Thu, 2012-02-23 at 09:48 +0800, Ian Kent wrote:
> >> > > On Wed, 2012-02-22 at 08:12 -0800, Linus Torvalds wrote:
> >> > > > On Wed, Feb 22, 2012 at 1:32 AM, Ian Kent <raven@...maw.net>
> >wrote:
> >> > > > >
> >> > > > > Oh, DOH ...
> >> > > > >
> >> > > > > The process mounting the autofs mount is passing the pipe it
> >will use
> >> > > > > for communication via a mount option so we can do this right
> >in
> >> > > > > fill_super.
> >> > > > 
> >> > > > No, we really cannot.
> >> > > 
> >> > > Sorry, I think your wrong this time.
> >> > 
> >> > On second thought, I suppose other user space users don't "have" to
> >use
> >> > mount(2) ....
> >> 
> >> Thomas, what does systemd use to mount the autofs mounts that it
> >uses?
> >
> >Mmm ... AFAICS systemd uses mount(2) so that looks OK too.
> >
> >Ian
> 


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