Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Feb 1996 10:49:27 -0800 (PST)
From:      Peter Wemm <peter>
To:        CVS-committers, cvs-all, cvs-sys
Subject:   cvs commit:  src/sys/sys shm.h param.h filedesc.h src/sys/vm vm_extern.h vm_glue.c vm_mmap.c src/sys/kern kern_descrip.c kern_fork.c sysv_ipc.c sysv_shm.c
Message-ID:  <199602231849.KAA29307@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
peter       96/02/23 10:49:26

  Modified:    sys/kern  kern_descrip.c kern_fork.c sysv_ipc.c sysv_shm.c
               sys/sys   shm.h param.h filedesc.h
               sys/vm    vm_extern.h vm_glue.c vm_mmap.c
  Log:
  kern_descrip.c: add fdshare()/fdcopy()
  kern_fork.c: add the tiny bit of code for rfork operation.
  kern/sysv_*: shmfork() takes one less arg, it was never used.
  sys/shm.h: drop "isvfork" arg from shmfork() prototype
  sys/param.h: declare rfork args.. (this is where OpenBSD put it..)
  sys/filedesc.h: protos for fdshare/fdcopy.
  vm/vm_mmap.c: add minherit code, add rounding to mmap() type args where
  it makes sense.
  vm/*: drop unused isvfork arg.
  
  Note: this rfork() implementation copies the address space mappings,
  it does not connect the mappings together.  ie: once the two processes
  have split, the pages may be shared, but the address space is not. If one
  does a mmap() etc, it does not appear in the other.  This makes it not
  useful for pthreads, but it is useful in it's own right for having
  light-weight threads in a static shared address space.
  
  Obtained from: Original by Ron Minnich, extended by OpenBSD
  
  Revision  Changes    Path
  1.26      +45 -1     src/sys/kern/kern_descrip.c
  1.17      +61 -12    src/sys/kern/kern_fork.c
  1.4       +2 -3      src/sys/kern/sysv_ipc.c
  1.18      +2 -3      src/sys/kern/sysv_shm.c
  1.8       +2 -2      src/sys/sys/shm.h
  1.12      +17 -1     src/sys/sys/param.h
  1.8       +3 -1      src/sys/sys/filedesc.h
  1.24      +2 -2      src/sys/vm/vm_extern.h
  1.40      +3 -7      src/sys/vm/vm_glue.c
  1.36      +110 -17   src/sys/vm/vm_mmap.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602231849.KAA29307>