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 ...

John Baldwin jhb at FreeBSD.org
Fri Apr 1 12:00:12 PST 2005


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


More information about the cvs-src mailing list