Date: Fri, 1 Apr 2005 20:00:11 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/osf1 imgact_osf1.c osf1_misc.c src/sys/compat/linux linux_misc.c src/sys/compat/svr4 imgact_svr4.c src/sys/dev/drm drm_bufs.h src/sys/i386/ibcs2 imgact_coff.c src/sys/i386/linux imgact_linux.c src/sys/kern ... Message-ID: <200504012000.j31K0BSG077043@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2005-04-01 20:00:11 UTC FreeBSD src repository Modified files: sys/alpha/osf1 imgact_osf1.c osf1_misc.c sys/compat/linux linux_misc.c sys/compat/svr4 imgact_svr4.c sys/dev/drm drm_bufs.h sys/i386/ibcs2 imgact_coff.c sys/i386/linux imgact_linux.c sys/kern imgact_gzip.c sys/vm vm.h vm_extern.h vm_mmap.c vm_object.h Log: - Change the vm_mmap() function to accept an objtype_t parameter specifying the type of object represented by the handle argument. - Allow vm_mmap() to map device memory via cdev objects in addition to vnodes and anonymous memory. Note that mmaping a cdev directly does not currently perform any MAC checks like mapping a vnode does. - Unbreak the DRM getbufs ioctl by having it call vm_mmap() directly on the cdev the ioctl is acting on rather than trying to find a suitable vnode to map from. Reviewed by: alc, arch@ Revision Changes Path 1.23 +2 -2 src/sys/alpha/osf1/imgact_osf1.c 1.55 +2 -1 src/sys/alpha/osf1/osf1_misc.c 1.167 +3 -3 src/sys/compat/linux/linux_misc.c 1.25 +2 -2 src/sys/compat/svr4/imgact_svr4.c 1.13 +1 -5 src/sys/dev/drm/drm_bufs.h 1.64 +9 -5 src/sys/i386/ibcs2/imgact_coff.c 1.54 +4 -3 src/sys/i386/linux/imgact_linux.c 1.54 +4 -2 src/sys/kern/imgact_gzip.c 1.26 +4 -0 src/sys/vm/vm.h 1.76 +1 -1 src/sys/vm/vm_extern.h 1.199 +72 -5 src/sys/vm/vm_mmap.c 1.110 +0 -4 src/sys/vm/vm_object.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504012000.j31K0BSG077043>