1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/usr.bin/ipcs
Edwin Groothuis 55e2cb41f2 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@optusnet.com.au>
Not reviewed by:	grog@
Approved by:	grog@
2007-12-25 00:52:24 +00:00
..
ipc.c Add the ability to clean up all shared memory segments which are 2007-12-25 00:52:24 +00:00
ipc.h Add the ability to clean up all shared memory segments which are 2007-12-25 00:52:24 +00:00
ipcs.1
ipcs.c Add the ability to clean up all shared memory segments which are 2007-12-25 00:52:24 +00:00
Makefile Add the ability to clean up all shared memory segments which are 2007-12-25 00:52:24 +00:00