Re: [3.3-rc7] sys_poll use after free (hibernate)
From: Alexey Dobriyan
Date: Mon Mar 19 2012 - 04:18:08 EST
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/