Date: Fri, 13 Oct 1995 22:25:47 -0700 From: Bruce Evans <bde> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/i386 conf.c Message-ID: <199510140525.WAA24793@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 95/10/13 22:25:46 Modified: sys/i386/i386 conf.c Log: Don't allow mmapping of physical page 6 (ENXIO). nxmmap() returned a bogus value as well as having a bogus type. Some drivers use nxmmap() for configured devices (`nx' functions should only be used for unconfigured devices). These drivers allowed mmapping physical page 6, which may have interesting contents. vm has kludges to avoid the same bug with nullop() returning page 0 and enodev() returning page 19 (ENODEV), but didn't handle enxio() returning page 6. vm is the wrong place to handle these bugs.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510140525.WAA24793>