Home | History | Annotate | Download | only in ipcs
History log of /src/usr.bin/ipcs/ipcs.c
RevisionDateAuthorComments
 1.44  18-Mar-2021  cheusov ipcs.c: do not #include sys/inttypes.h header which is not necessary
 1.43  11-Jun-2014  joerg Remove KVM support.
 1.42  18-Jan-2009  lukem branches: 1.42.14; 1.42.24;
fix -Wsign-compare issues
 1.41  28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.40  12-Apr-2008  rmind branches: 1.40.2;
Fix shared memory code that it could handle > 4GB addresses correctly.
PR/38109, patch (a little bit modified) from Chris Brand.
 1.39  15-Dec-2007  perry convert __attribute__s to applicable cdefs.h macros
 1.38  15-Dec-2007  perry include sys/cdefs.h so that __attribute__ can be fixed later
 1.37  25-Nov-2006  christos branches: 1.37.8;
PR/34837: Mindaguas: Add SysV SHM dynamic reallocation and locking to the
physical memory
 1.36  22-Oct-2006  christos make nlist struct static and use c99 initializers
 1.35  28-Apr-2006  christos Coverity CID 1858, 1857: Fix leaks. While here, pass lint use warn/warnx
instead of perror/fprintf. KNF.
 1.34  21-Feb-2005  simonb Print a nice introductory line, per SUSv3 (and Posix?)
 1.33  15-Sep-2004  hubertf Change copyright to 2-clause BSD-copyright.
Changed with explicit permission of Thorsten Lockert (tholo sigmasoft com)
 1.32  21-Mar-2004  simonb branches: 1.32.2;
Fix option handling so that you can show information about more than
one thing at a time.
Patch from Chris Demetriou a very long time ago.
 1.31  21-Oct-2003  fvdl The last argument to sysctl() is a size_t, don't pass NULL in it.
 1.30  12-Jul-2003  itojun strlcpy
 1.29  07-Apr-2003  simonb Make the ID field a little wider.
 1.28  21-Sep-2002  chs fix a printf.
 1.27  21-May-2002  simonb branches: 1.27.2;
Widen the ID field to 7 chars; probably should be auto-sized...
 1.26  19-Feb-2001  cgd convert to use getprogname()
 1.25  16-Jun-2000  simonb Don't check namelist when choosing to use the sysctl interface.
 1.24  03-Jun-2000  simonb Include system info command line options [-MQST] in usage message.
Bomb out with usage message if extra command line arguments are present.
 1.23  03-Jun-2000  simonb Big makeover:
- Use new SysV IPC sysctl interface if no core file or system name
list supplied.
- Break up into functions instead of a 398 line main (necessary for
code re-use in kvm vs. sysctl case anyway).
- Remove "#define _KERNEL" before including some kernel files!
- Remove setgid bit.
 1.22  02-Jun-2000  thorpej Make this compile again.
 1.21  29-May-2000  sommerfeld Rip out semconfig, since it's now a NOOP
 1.20  12-Apr-2000  simonb branches: 1.20.2;
Make some columns and headers line up.
 1.19  28-Mar-2000  augustss Make this compile again after several global structs where declared extern.
 1.18  25-Aug-1999  thorpej Update for changes to SVID IPC data structures.
 1.17  06-Jul-1998  mrg use a buffer the size we fill. ensure another buffer is nul-terminated (ok in this code)
 1.16  06-Jul-1998  mrg - change setgid kmem programs (that lend themselves to this) so setegid(getgid())
and the top, and then set the effective gid back to kmem around the call to
kvm_openfiles(). this reduces the time group kmem is available.
- for those above that also allow this, setgid(getgid()) after the call to
kvm_openfiles() to fully revoke priviledges.
- some KNF
- use err(3) over fprintf(3) in some places
 1.15  01-Apr-1998  kleink Need <time.h> for localtime() prototype.
 1.14  19-Oct-1997  lukem WARNSify, fix .Nm usage, getopt returns -1 not EOF
 1.13  11-Feb-1997  mrg avoid not knowing the length of internal buffers.
 1.12  19-Jul-1996  explorer Allocate space for 'ipcs -m' correctly; this floated across a FreeBSD
mailing list, and seems correct
 1.11  07-Jun-1996  thorpej Discard setgid privileges if not reading the running kernel as suggested
by Mike Grupenhoff <kashmir@umiacs.umd.edu> in PR #2485.

While I'm here, update for modern libkvm interfaces, and be more
careful to check for error conditions reported by kvm_read(3).
 1.10  15-Apr-1995  cgd branches: 1.10.6;
some copyright updates requested by Thorsten Lockert <tholo@SigmaSoft.COM>
 1.9  28-Mar-1995  jtc KERNEL -> _KERNEL
 1.8  24-Dec-1994  cgd add string.h, fix up rcsid.
 1.7  05-Sep-1994  mycroft Fix typos, pointed out by Arne Juul.
 1.6  18-Jun-1994  cgd add thorsten's copyright, which he sent to me.
 1.5  18-Jun-1994  cgd KNF, also clean up error messages.
 1.4  18-Jun-1994  cgd new version by Thorsten Lockert <tholo@SigmaSoft.COM>
 1.3  11-May-1994  cgd don't include shm.h if NOSHM defined, and defined it
 1.2  01-Apr-1994  cgd bad cast
 1.1  14-Nov-1993  cgd Add a System V -style ipc status monitor. Implemented by Daniel Boulet
<danny@BouletFermat.ab.ca> Needs a man page, and *much* cleanup.
 1.10.6.1  07-Jun-1996  thorpej Update from trunk:

Discard setgid privileges if not reading the running kernel as suggested
by Mike Grupenhoff <kashmir@umiacs.umd.edu> in PR #2485.

While I'm here, update for modern libkvm interfaces, and be more
careful to check for error conditions reported by kvm_read(3).
 1.20.2.1  23-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.27.2.1  24-Dec-2003  jmc Pullup rev 1.28 (requested by tv (reviewed by jmc) in ticket #1576)

Fix a printf.
 1.32.2.1  16-Sep-2004  jmc Pullup rev 1.33 (requested by hubertf in ticket #850)

Change copyright to 2-clause BSD-copyright.
 1.37.8.1  09-Jan-2008  matt sync with HEAD
 1.40.2.1  18-May-2008  yamt sync with head.
 1.42.24.1  10-Aug-2014  tls Rebase.
 1.42.14.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.

RSS XML Feed