lkml.org 
[lkml]   [2012]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [3.3-rc7] sys_poll use after free (hibernate)
On Sun, Mar 18, 2012 at 07:27:55PM +0000, Al Viro wrote:
> On Sun, Mar 18, 2012 at 12:02:04PM -0700, Linus Torvalds wrote:
> Incidentally, I wonder if we want the whole thing in fs/proc; the argument
> against splitoff to a separate fs used to be "that would break userland
> setups - can't ask people to update /etc/fstab or init scripts to mount
> that thing on /proc/sys". Fair enough, but... what's to stop us from slapping
> ->d_automount() on /proc/sys like that:
> struct vfsmount *mnt = vfs_kern_mount(&sysctlfs_type, 0, "sysctl", 0);
> if (!IS_ERR(mnt))
> mntget(mnt);
> return mnt;
> and we are all set. IOW, now that ->d_automount() stuff is there, we can
> do that easily without any userland breakage. Comments?

IIRC, fstab argument was the only one.


\
 
 \ /
  Last update: 2012-03-19 09:21    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog