OpenBSD CVS

CVS log for src/usr.bin/ipcs/ipcs.c


[BACK] Up to [local] / src / usr.bin / ipcs

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.27 / (download) - annotate - [select for diffs], Fri Jun 28 13:35:01 2019 UTC (4 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, HEAD
Changes since 1.26: +10 -10 lines
Diff to previous 1.26 (colored)

When system calls indicate an error they return -1, not some arbitrary
value < 0.  errno is only updated in this case.  Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Jan 16 06:40:08 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

Replace <sys/param.h> with <limits.h> and other less dirty headers where
possible.  Annotate <sys/param.h> lines with their current reasons.  Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc.  Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution.  These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)

Revision 1.25 / (download) - annotate - [select for diffs], Sun Feb 5 18:27:03 2012 UTC (12 years, 3 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1
Changes since 1.24: +16 -10 lines
Diff to previous 1.24 (colored)

Fix handling of msg queues when in crash dump mode: the kernel structures
have changed, so update to match

ok miod@ blambert@

Revision 1.24 / (download) - annotate - [select for diffs], Wed Apr 6 11:36:26 2011 UTC (13 years, 1 month ago) by miod
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.23: +10 -10 lines
Diff to previous 1.23 (colored)

Avoid using NULL in non-pointer contexts: use 0 for integer values and '\0'
for chars.

Revision 1.23 / (download) - annotate - [select for diffs], Thu Jun 26 05:42:21 2008 UTC (15 years, 10 months ago) by ray
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.22: +1 -8 lines
Diff to previous 1.22 (colored)

First pass at removing clauses 3 and 4 from NetBSD licenses.

Not sure what's more surprising: how long it took for NetBSD to
catch up to the rest of the BSDs (including UCB), or the amount of
code that NetBSD has claimed for itself without attributing to the
actual authors.

OK deraadt@

Revision 1.22 / (download) - annotate - [select for diffs], Sun Sep 2 23:50:04 2007 UTC (16 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.21: +7 -7 lines
Diff to previous 1.21 (colored)

more malloc(n * m) -> calloc(n, m); from Igor Zinovik

Revision 1.21 / (download) - annotate - [select for diffs], Tue Feb 22 14:47:45 2005 UTC (19 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

sort options; sync usage();

Revision 1.20 / (download) - annotate - [select for diffs], Wed Jun 4 16:24:45 2003 UTC (20 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.19: +1 -3 lines
Diff to previous 1.19 (colored)

term 3 & 4 from tholo after permission

Revision 1.19 / (download) - annotate - [select for diffs], Tue Dec 17 23:11:32 2002 UTC (21 years, 5 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.18: +70 -60 lines
Diff to previous 1.18 (colored)

Make SysV-style shared memory and semaphore limits sysctl'able.
Instead of allocating a static amount of memory for the data
structures via valloc() in allocsys(), allocate things dynamically
using pool(9) when possible and malloc(9) when not.  The various
members of struct seminfo and struct shminfo are in kern.seminfo
and kern.shminfo respectively (not all members of kern.seminfo are
changable).

The data structures used still leave something to be desired but
things are not made worse in that respect by this commit.

Revision 1.18 / (download) - annotate - [select for diffs], Sat Jun 15 18:47:50 2002 UTC (21 years, 11 months ago) by matthieu
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.17: +7 -7 lines
Diff to previous 1.17 (colored)

enlarge ID column to fix output alignment.
ok deraadt@, millert@.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Jun 12 06:07:15 2002 UTC (21 years, 11 months ago) by mpech
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

a real pid_t cleanup.

espie@ ok for make/,
deraadt@ one extra eye,
millert@ ok

Revision 1.16 / (download) - annotate - [select for diffs], Fri Sep 28 01:44:37 2001 UTC (22 years, 7 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.15: +622 -279 lines
Diff to previous 1.15 (colored)

Use the new KERN_SYSVIPC_*_INFO sysctls; simonb@netbsd.org

Revision 1.15 / (download) - annotate - [select for diffs], Mon Aug 13 15:10:21 2001 UTC (22 years, 9 months ago) by millert
Branch: MAIN
Changes since 1.14: +8 -1 lines
Diff to previous 1.14 (colored)

Declare globals made extern in sys/sem.h; naddy@

Revision 1.14 / (download) - annotate - [select for diffs], Mon Aug 13 15:04:29 2001 UTC (22 years, 9 months ago) by millert
Branch: MAIN
Changes since 1.13: +1 -3 lines
Diff to previous 1.13 (colored)

Don't reference seminfo.semmap as it no longer exists.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Jul 12 05:17:11 2001 UTC (22 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.12: +8 -8 lines
Diff to previous 1.12 (colored)

first pass at a -Wall cleanup

Revision 1.12 / (download) - annotate - [select for diffs], Wed Feb 14 17:48:01 2001 UTC (23 years, 3 months ago) by tholo
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.11: +2 -5 lines
Diff to previous 1.11 (colored)

Relax advertising requirements on copyright

Revision 1.11 / (download) - annotate - [select for diffs], Mon May 29 01:07:49 2000 UTC (23 years, 11 months ago) by angelos
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.10: +4 -4 lines
Diff to previous 1.10 (colored)

Print space between the last process to attach/use and the access time.

Revision 1.10 / (download) - annotate - [select for diffs], Mon May 1 21:49:40 2000 UTC (24 years ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.9: +1 -9 lines
Diff to previous 1.9 (colored)

do not use semconfig()

Revision 1.9 / (download) - annotate - [select for diffs], Mon Aug 16 16:58:22 1999 UTC (24 years, 9 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.8: +1 -2 lines
Diff to previous 1.8 (colored)

nuke unused variable

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jul 8 22:14:13 1998 UTC (25 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4
Changes since 1.7: +4 -1 lines
Diff to previous 1.7 (colored)

whack kmem gid after kvm_openfiles()

Revision 1.7 / (download) - annotate - [select for diffs], Wed Jan 15 23:42:37 1997 UTC (27 years, 4 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2, OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

getopt(3) returns -1 when out of args, not EOF, whee!

Revision 1.6 / (download) - annotate - [select for diffs], Sun Dec 22 03:25:54 1996 UTC (27 years, 5 months ago) by tholo
Branch: MAIN
Changes since 1.5: +4 -2 lines
Diff to previous 1.5 (colored)

Deal with _POSIX_SAVED_IDS when relinquishing privileges

Revision 1.5 / (download) - annotate - [select for diffs], Sun Aug 11 00:24:32 1996 UTC (27 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

one incorrect variable; jin@george.lbl.gov via freebsd

Revision 1.4 / (download) - annotate - [select for diffs], Wed Jun 26 05:34:37 1996 UTC (27 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.3: +1 -0 lines
Diff to previous 1.3 (colored)

rcsid

Revision 1.3 / (download) - annotate - [select for diffs], Sun Jun 16 10:35:59 1996 UTC (27 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.2: +66 -26 lines
Diff to previous 1.2 (colored)

sync

Revision 1.2 / (download) - annotate - [select for diffs], Thu May 30 09:11:19 1996 UTC (27 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +6 -0 lines
Diff to previous 1.1 (colored)

revoke privs before opening kvm if user has specified mem/kernel paths

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:45:26 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:45:26 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.