Date: Wed, 24 May 1995 18:35:26 -0700 From: David Greenman <davidg> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/miscfs/procfs procfs.h procfs_vfsops.c procfs_vnops.c Message-ID: <199505250135.SAA02626@freefall.cdrom.com>
next in thread | raw e-mail | index | archive | help
davidg 95/05/24 18:35:25 Modified: sys/miscfs/kernfs kernfs_vfsops.c kernfs_vnops.c sys/miscfs/procfs procfs.h procfs_vfsops.c procfs_vnops.c Log: Fixed panic that resulted from mmaping files in kernfs and procfs. A regular user could panic the machine with a simple "tail /proc/curproc/mem" command. The problem was twofold: both kernfs and procfs didn't fill in the mnt_stat statfs struct (which would later lead to an integer divide fault in the vnode pager), and kernfs bogusly paniced if a bmap was attempted. Reviewed by: John Dyson
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199505250135.SAA02626>