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  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 22 Feb 2017 20:56:03 +0100
From:   Alexey Gladkov <gladkov.alexey@...il.com>
To:     Oleg Nesterov <oleg@...hat.com>
Cc:     "Dmitry V. Levin" <ldv@...linux.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        "Kirill A. Shutemov" <kirill@...temov.name>,
        Vasiliy Kulikov <segoon@...nwall.com>,
        Al Viro <viro@...iv.linux.org.uk>,
        "Eric W. Biederman" <ebiederm@...ssion.com>,
        Pavel Emelyanov <xemul@...allels.com>
Subject: Re: [PATCH] Add pidfs filesystem

On Wed, Feb 22, 2017 at 06:48:03PM +0100, Oleg Nesterov wrote:
> On 02/22, Dmitry V. Levin wrote:
> >
> > On Tue, Feb 21, 2017 at 03:57:47PM +0100, Oleg Nesterov wrote:
> > >
> > > But perhaps we can use mnt_flags? For example, lets abuse MNT_NODEV, see
> > > the simple patch below. Not sure it is correct/complete, just to illustrate
> > > the idea.
> 
> ...
> 
> > I like the idea of using mnt_flags to turn procfs into pidfs, thus
> > avoiding yet another filesystem, but MNT_NODEV has a different meaning,
> 
> Yes, yes, see "abuse MNT_NODEV" above. The patch just tries to illustrate
> the idea.

I think I can try to use subtype for this. In this case, it is still the same
procfs, but with the subtype:

mount -t proc.pidfs ...

-- 
Rgrds, legion

Powered by blists - more mailing lists