Messages in this thread |  | | Date | Mon, 19 Mar 2012 11:17:53 +0300 | | From | Alexey Dobriyan <> | | Subject | Re: [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.
|  |