History log of /freebsd-11.0-release/usr.bin/ipcrm/ipcrm.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 303975 11-Aug-2016 gjb

Copy stable/11@r303970 to releng/11.0 as part of the 11.0-RELEASE
cycle.

Prune svn:mergeinfo from the new branch, and rename it to RC1.

Update __FreeBSD_version.

Use the quarterly branch for the default FreeBSD.conf pkg(8) repo and
the dvd1.iso packages population.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 302408 08-Jul-2016 gjb

Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle.
Prune svn:mergeinfo from the new branch, as nothing has been merged
here.

Additional commits post-branch will follow.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 286093 30-Jul-2015 rodrigc

Use correct number of arguments to semctl() for IPC_RMID.

PR: 118292
Submitted by: araujo
Differential Revision: D2669


# 286088 30-Jul-2015 rodrigc

Get function prototypes for msg, shm, sem functions
from header files.

Differential Revision: D2669


# 286085 30-Jul-2015 rodrigc

Make some variables and functions static.


# 174891 25-Dec-2007 edwin

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@


# 174750 18-Dec-2007 edwin

Stylify ipcs/ipcs.c and ipcrm/ipcrm in preparation of the upcoming
changes as proposed in bin/118292.

Feel free to mention any I have missed, there is much to learn with
regarding to style(9).

Approved by: grog@


# 102944 04-Sep-2002 dwmalone

ANSIify function definitions.
Add some constness to avoid some warnings.
Remove use register keyword.
Deal with missing/unneeded extern/prototypes.
Some minor type changes/casts to avoid warnings.

Reviewed by: md5


# 99112 30-Jun-2002 obrien

Consistently use FBSDID


# 95651 28-Apr-2002 markm

Add some function prototypes to squash warnings.


# 92920 22-Mar-2002 imp

remove __P


# 87285 03-Dec-2001 dwmalone

Warns cleanups:
Declare functions in advance of using them
There is no printf specifies %k - I think it was supposed to be %s.


# 50477 28-Aug-1999 peter

$Id$ -> $FreeBSD$


# 27420 15-Jul-1997 charnier

Add rcsid. Cosmetic in usage string. Typo in man page.


# 23012 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


# 21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


# 8874 30-May-1995 rgrimes

Remove trailing whitespace.


# 2736 13-Sep-1994 dfr

Utility for deleting message queues, semaphores and shared memory segments.

Obtained from: NetBSD