cvs commit: src/sys/sys syscallsubr.h src/sys/kern sysv_shm.c src/sys/compat/linux linux_ipc.c

Max Khon fjoe at FreeBSD.org
Tue Nov 4 17:53:11 PST 2003


fjoe        2003/11/04 17:53:10 PST

  FreeBSD src repository

  Modified files:
    sys/sys              syscallsubr.h 
    sys/kern             sysv_shm.c 
    sys/compat/linux     linux_ipc.c 
  Log:
  Back out the following revisions:
  
  1.36      +73 -60    src/sys/compat/linux/linux_ipc.c
  1.83      +102 -48   src/sys/kern/sysv_shm.c
  1.8       +4 -0      src/sys/sys/syscallsubr.h
  
  That change was intended to support vmware3, but
  wantrem parameter is useless because vmware3 uses SYSV shared memory
  to talk with X server and X server is native application.
  The patch worked because check for wantrem was not valid
  (wantrem and SHMSEG_REMOVED was never checked for SHMSEG_ALLOCATED segments).
  
  Add kern.ipc.shm_allow_removed (integer, rw) sysctl (default 0) which when set
  to 1 allows to return removed segments in
  shm_find_segment_by_shmid() and shm_find_segment_by_shmidx().
  
  MFC after:      1 week
  
  Revision  Changes    Path
  1.38      +6 -6      src/sys/compat/linux/linux_ipc.c
  1.88      +21 -18    src/sys/kern/sysv_shm.c
  1.10      +2 -2      src/sys/sys/syscallsubr.h


More information about the cvs-src mailing list