summaryrefslogtreecommitdiffstats
path: root/usr.bin/ipcs
AgeCommit message (Collapse)AuthorFilesLines
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt1-10/+10
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.
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt1-2/+2
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)
2014-03-22standard blurb;jmc1-3/+4
2013-07-16use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@schwarze1-3/+3
2012-02-05Fix handling of msg queues when in crash dump mode: the kernel structuresguenther1-10/+16
have changed, so update to match ok miod@ blambert@
2011-04-06Avoid using NULL in non-pointer contexts: use 0 for integer values and '\0'miod1-10/+10
for chars.
2010-09-03add an EXIT STATUS section for /usr/bin;jmc1-4/+4
2010-07-22document exit returns; from daniel dickmanjmc1-2/+4
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.ray1-8/+1
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@
2007-09-02more malloc(n * m) -> calloc(n, m); from Igor Zinovikderaadt1-7/+7
2007-05-31convert to new .Dd format;jmc1-2/+2
2007-05-31- note some apps which are xpg4, not posixjmc1-1/+11
- note that some apps are optional to posix after some discussion w/ otto
2005-02-22sort options; sync usage();jmc2-17/+17
2003-06-10- section reorderjmc1-2/+2
- COMPATIBILITY merge - macro cleanup - kill whitespace at EOL - new sentence, new line ssh pages ok markus@
2003-06-04term 3 & 4 from tholo after permissionderaadt2-6/+2
2002-12-17Make SysV-style shared memory and semaphore limits sysctl'able.millert1-60/+70
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.
2002-06-15enlarge ID column to fix output alignment.matthieu1-7/+7
ok deraadt@, millert@.
2002-06-12a real pid_t cleanup.mpech1-2/+2
espie@ ok for make/, deraadt@ one extra eye, millert@ ok
2001-11-09Since all our arches have /dev/ksyms, replace rigid mentions of the kernelmiod1-18/+3
being /bsd with more correct terms, and remove /bsd and /dev/kmem from the FILES section if they were there.
2001-09-28Use the new KERN_SYSVIPC_*_INFO sysctls; simonb@netbsd.orgmillert2-281/+622
2001-09-27Add missing "and semaphores" at the end of the description of the -T optionmillert1-2/+2
2001-08-13Declare globals made extern in sys/sem.h; naddy@millert1-1/+8
2001-08-13Don't reference seminfo.semmap as it no longer exists.millert1-3/+1
2001-07-12first pass at a -Wall cleanupderaadt1-8/+8
2001-02-14Relax advertising requirements on copyrighttholo2-10/+4
2000-11-10- Section shuffling: comply to the section ordering outlined in mdoc(7).aaron1-6/+6
- Some .Nm trimming. - .Sh AUTHOR -> .Sh AUTHORS - Other miscellaneous fixes here and there.
2000-05-29Print space between the last process to attach/use and the access time.angelos1-4/+4
2000-05-01do not use semconfig()deraadt1-9/+1
2000-03-08Various cleanups and improvements.aaron1-5/+9
1999-10-05The .Bl -tag flag expects a -width argument.aaron1-3/+1
1999-09-07The descriptions of the -C and -N options were swapped. Also, mentionmillert1-13/+17
that /dev/ksysms is used in preference to /bsd.
1999-08-16nuke unused variablemillert1-2/+1
1999-07-04correct use of .Nm; some other formatting nitsaaron1-4/+4
1999-03-18typo; nash@mcs.netaaron1-2/+2
1998-09-26usr.bin/ man page fixes, f-m.aaron1-3/+2
1998-07-08whack kmem gid after kvm_openfiles()deraadt1-1/+4
1997-09-21$OpenBSD$deraadt1-2/+1
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!millert1-2/+2
1996-12-22Deal with _POSIX_SAVED_IDS when relinquishing privilegestholo1-2/+4
1996-10-08Attempt at cleanup.michaels1-2/+2
1996-08-11one incorrect variable; jin@george.lbl.gov via freebsdderaadt1-2/+2
1996-07-06kernel is /bsdccappuc1-3/+3
1996-06-26rcsidderaadt3-0/+3
1996-06-16syncderaadt1-26/+66
1996-05-30revoke privs before opening kvm if user has specified mem/kernel pathsderaadt1-0/+6
1995-10-18initial import of NetBSD treederaadt3-0/+640