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
Current tag: OPENBSD_3_3


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.

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.