summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Remove hard-sentence breaks, canonify .Dd (no leading zero).ru2000-12-122-10/+15
|
* Document what Idle=* means in a short format display.ru2000-12-121-0/+3
|
* Change the proc information returned from the kernel so that itmckusick2000-12-128-155/+136
| | | | | | | | | | | | no longer contains kernel specific data structures, but rather only scalar values and structures that are already part of the kernel/user interface, specifically rusage and rtprio. It no longer contains proc, session, pcred, ucred, procsig, vmspace, pstats, mtx, sigiolst, klist, callout, pasleep, or mdproc. If any of these changed in size, ps, w, fstat, gcore, systat, and top would all stop working. The new structure has over 200 bytes of unassigned space for future values to be added, yet is nearly 100 bytes smaller per entry than the structure that it replaced.
* Re-add home born file(1) and magic(5) manual pages. Update them tophantom2000-12-113-13/+716
| | | | | | current file(1) version (3.33) Approved by: obrien
* mdoc(7) police: use canonical form of .Dd macro.ru2000-12-117-7/+7
|
* Add rcsid. Remove unused #include. Remove error() definition and replacecharnier2000-12-102-35/+26
| | | | with warn().
* Remove one more incorrect section name. Typos.charnier2000-12-102-11/+18
| | | | Add rcsid. fprintf -> warn.
* Add history.obrien2000-12-101-0/+4
|
* The options I added where not formated to new manpage style specs.obrien2000-12-091-4/+7
|
* Add or fix FreeBSD IDs.obrien2000-12-097-5/+10
|
* "Implement -[n]fcb (formatting of block comments) and attempt to implementobrien2000-12-096-11/+46
| | | | | | | no-space=after-sizeof (not optional) and no-space-after 'struct foo *' (not optional). Without these, indent unKNFizes even more perfectly KNF code." Submitted by: bde
* Add `_PATH_DEVZERO'.obrien2000-12-096-9/+15
| | | | Use _PATH_* where where possible.
* Retire this ancient version of rdist.obrien2000-12-0712-4409/+0
|
* Change the spelling of `.' to `.' from .OBJDIR since `.' really is whereobrien2000-12-052-2/+2
| | | | generated files land. Also give precedence to generated files.
* remove struct mount from useland visibilityalfred2000-12-041-1/+1
|
* Remove register keyword usage with prejudice.asmodai2000-12-034-16/+16
| | | | | Modern compilers are smarter when it comes to allocating register usage.
* There's also no point in #typedef'ing void/char pointers. Accordingly,will2000-12-0236-512/+472
| | | | | | rip out ClientData/Address pointers and use standard types. Obtained from: OpenBSD
* Use a size_t instead of an int.asmodai2000-12-021-1/+1
|
* Correct int/long type mismatch in the proper place this time. freevnodesgallatin2000-12-021-2/+2
| | | | | | | | | | | and numvnodes are longs in the kernel. They should remain longs in systat, what really needs to change is that they should be using SYSCTL_LONG rather than SYSCTL_INT. I also changed wantfreevnodes to SYSCTL_LONG because I happened to notice it. I wish there was a way to find all of these automatically.. Pointed out by: bde
* Properly constify some static arrays.asmodai2000-12-024-3/+17
| | | | Also #if out some sccsid's and add rcsid's.
* There's no reason to use fancy forms of NULL. Replace all instanceswill2000-12-0238-238/+224
| | | | | | of NIL, NILLST, NILLGNODE, etc. with NULL. Obtained from: OpenBSD
* fix another int/long type mismatch. This one was causing pigs togallatin2000-12-011-1/+1
| | | | die with an fpe on alpha because fscale wasn't properly initted
* fix int/long type mismatches found on alphagallatin2000-12-011-4/+4
|
* Grrr... GCC 2.95.2 and 2.96 just will not agree what the default includeobrien2000-12-011-1/+1
| | | | search paths are. So add the requirements of both. :-(
* The GCC 2.96 snapshots have slightly different rules for finding includeobrien2000-12-012-2/+2
| | | | | | | files. Mostly -I${.CURDIR} was needed -- especially for YACC generated files as the new cpp does not look in the ultimate source file (ie, the .y file)'s directory as told by the "#line" directive. Some were misspellings of "-I${.CURDIR}" as "-I.".
* o Make comment match reality, synch code with comment.rwatson2000-11-301-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | o In practice: the comment indicates that all but umask and environmental variables of the users login class are applied when su occurs, unless -m is used to specify a class. This was incorrect; in practice, the uid, gids, resources, and priority were set, and then resources and priority were selectively removed. This meant that some aspects of the user context were not set, including handling of login events (wtmp, utmp), as well as the path specified in login.conf. o I changed it so that the behavior is the same, but instead, LOGIN_SETALL is used, and appropriate flags are removed, including the LOGIN_SETLOGIN and LOGIN_SETPATH entries that were implicitly not present before. I also updated the comment to reflect reality, selecting reality as the "correct" behavior. o This has the practical benefit that as new LOGIN_SET* flags are introduced, they are supported by su unless specifically disabled. For example, of a LOGIN_SETLABEL flag is introduced to support MAC labels determined by the user's login class, then su no longer has to be modified. o It might be desirable to have su use LOGIN_SETPATH depending on its command line parameters, as it might or might not be considered part of the "environment". Obtained from: TrustedBSD Project
* Format string paranoia. This should avoid potential buffer overflows fromwill2000-11-303-13/+29
| | | | | | user input (in its ever-broadening definition). Obtained from: NetBSD
* If the transfer timed out, but we don't know how large the file is supposeddes2000-11-301-1/+10
| | | | to be, assume it was truncated.
* Make use of the full screen width to display p_comm rather than assuming ajhb2000-11-291-3/+6
| | | | hardcoded screen width of 80 chars.
* Display the name of the mutex we are blocked on in the state field. Tojhb2000-11-291-0/+6
| | | | | | | differentiate mutex names from wait channel names, prefix mutex names with an asterisk. Submitted by: Dan Nelson <dnelson@emsphone.com>
* Xref make.conf(5), and point to /usr/share/doc/psd/12.make for thenik2000-11-291-1/+4
| | | | tutorial paper.
* Eliminate groff(1) warnings.ru2000-11-291-27/+28
|
* Eliminate groff(1) warnings caused by vgrind(1).ru2000-11-291-4/+6
|
* Fix a typo and a punctuation mistake, the two of which conspiredsheldonh2000-11-291-2/+2
| | | | against the reader.
* Add LIBCRYPT to DPADD.marcel2000-11-281-1/+1
| | | | Implied by: bde
* Format string auditingkris2000-11-271-2/+2
|
* *** empty log message ***kris2000-11-271-1/+1
|
* Constifykris2000-11-271-1/+1
|
* Fix format string warnings.kris2000-11-271-1/+1
| | | | | Submitted by: nra Obtained from: NetBSD
* Cleanup this code a bit by attempting to sync it up with NetBSD andkris2000-11-262-26/+33
| | | | | | with each other. Reviewed by: markm, dwmalone
* Use the vendor's manpages (which are in old -man format) rather thanobrien2000-11-263-631/+16
| | | | our modified one based on a much older version of the vendor's manpage.
* Correct definition of MAXHOSTNAMELEN in ifdef'ed code.kris2000-11-261-1/+1
| | | | | Submitted by: Edwin Groothuis <mavetju@chello.nl> PR: bin/22787
* Constifykris2000-11-263-2/+2
|
* vsprintf() -> vsnprintf()kris2000-11-261-1/+1
|
* o Make systat/vmstat.c use sysctl() to retrieve cp_time, bufspace,rwatson2000-11-251-29/+50
| | | | | | | | | | maxvnodes, numvnodes, freevnodes, nchstats, and numdirtybuffers. o Make the hw.ncpu error checking code a little more rigorous by sanity checking the returned data size. o Didn't fix machine-dependent non-sysctl-exported variables: intrnames, eintrnames, intrcnt, eintrcnt, as these variables are defined and exported from machine-dependent kernel code in assembly. This should probably be fixed somehow.
* o make systat/pigs.c use syctl() to retrieve cp_time, fscale, and ccpurwatson2000-11-251-27/+32
| | | | instead of using kmem.
* o Make systat/iostat.c use sysctl() to retrieve cp_time instead ofrwatson2000-11-251-23/+9
| | | | kmem.
* o Make systat use sysctl() to retrieve hz and stathz, instead ofrwatson2000-11-251-19/+14
| | | | using kmem.
* Reimplement the groff(1) warnings elimination fixes in a better way.ru2000-11-242-10/+5
|
* [rsh.1] Document the `-4' and `-6' options.jkoshy2000-11-242-2/+6
| | | | [rsh.c] Make usage message match the code.
OpenPOWER on IntegriCloud