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

Martin Blapp mbr at FreeBSD.org
Mon May 5 02:23:00 PDT 2003


mbr         2003/05/05 02:22:58 PDT

  FreeBSD src repository

  Modified files:
    sys/compat/linux     linux_ipc.c 
    sys/sys              syscallsubr.h 
    sys/kern             sysv_shm.c 
  Log:
  Change the semantics of sysv shm emulation to take a additional
  argument to the functions shm{at,ctl}1 and shm_find_segment_by_shmid{x}.
  The BSD semantics didn't allow the usage of shared segment after
  being marked for removal through IPC_RMID.
  
  The patch involves the following functions:
    - shmat
    - shmctl
    - shm_find_segment_by_shmid
    - shm_find_segment_by_shmidx
    - linux_shmat
    - linux_shmctl
  
  Submitted by:   Orlando Bassotto <orlando.bassotto at ieo-research.it>
  Reviewed by:    marcel
  
  Revision  Changes    Path
  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


More information about the cvs-src mailing list