cvs commit: src/usr.bin/ipcs Makefile ipc.c ipc.h ipcs.c src/usr.bin/ipcrm Makefile ipcrm.1 ipcrm.c

Edwin Groothuis edwin at FreeBSD.org
Mon Dec 24 16:52:25 PST 2007


edwin       2007-12-25 00:52:25 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/ipcs         Makefile ipcs.c 
    usr.bin/ipcrm        Makefile ipcrm.1 ipcrm.c 
  Added files:
    usr.bin/ipcs         ipc.c ipc.h 
  Log:
  Add the ability to clean up all shared memory segments which are
  unused in one go.
  
  From the original PR:
  
          I've observed that linux apps running under the linuxulator
          have a habit of leaving behind shared memory segments which
          are unused, but which eventually cause the system to run
          out of free segments and these apps will stop working.
          ipcrm(1) currently only allows removal of unused message
          queues, shared memory segments and semaphores on an individual
          basis, or those having a matching (non-zero) key. However
          it would often be convenient to just do a complete cleanup
          of everything, usually as root.
  
  PR:             bin/118292
  Submitted by:   Callum Gibson <callumgibson at optusnet.com.au>
  Not reviewed by:        grog@
  Approved by:    grog@
  
  Revision  Changes    Path
  1.7       +5 -0      src/usr.bin/ipcrm/Makefile
  1.15      +36 -1     src/usr.bin/ipcrm/ipcrm.1
  1.13      +133 -18   src/usr.bin/ipcrm/ipcrm.c
  1.8       +1 -0      src/usr.bin/ipcs/Makefile
  1.1       +207 -0    src/usr.bin/ipcs/ipc.c (new)
  1.1       +71 -0     src/usr.bin/ipcs/ipc.h (new)
  1.31      +17 -197   src/usr.bin/ipcs/ipcs.c


More information about the cvs-src mailing list