summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Prepare for mdoc(7)NG.ru2000-12-279-25/+19
|
* Fix for the case where the first two entries returned by readdir() arewill2000-12-261-6/+12
| | | | | | | | | | | | actually NOT '.' and '..'. Apparently this isn't the case when accessing a directory via XFS over NFS on SGI systems. Since I don't have access to an environment like that, this will sit out in -current for at least six weeks. However, the patch proposed by the submitter seems acceptable, so I've decided to commit it to the tree, in the hope that it will solve some problems without bringing up others. PR: 23300 Submitted by: Jim Pirzyk <Jim.Pirzyk@disney.com>
* Use the real user ID so non-root users can kill setuid processesps2000-12-251-1/+1
| | | | | | | they started. PR: 23356 Submitted by: Maxim Konovalov <maxim@macomnet.ru>
* Don't abuse the SCCS `@(#)' for RCS.obrien2000-12-256-6/+6
| | | | Requested by: bde
* As far as I can tell, you have never been able to use 'ab' as a unitdwmalone2000-12-241-1/+1
| | | | name if 'a' and 'b' are unit names. You can use 'a b' though.
* Warn if the size of the remote file isn't known.des2000-12-221-2/+11
| | | | | | | If the -R option was specified, don't truncate the local file even if its mtime is incorrect. PR: bin/23719
* Hostnames are case-insensitivebrian2000-12-221-1/+2
|
* Fix printf(1) for cases where a long string with no format specifiers isben2000-12-211-4/+16
| | | | | | followed by a %d (probably others too) format specifier. Reviewed by: audit
* If the utmp login time is greater than the tty atime, use it to calculatebrian2000-12-212-2/+14
| | | | | | | | | the idle time instead of the atime. This makes entries for people that have logged in but done nothing else show up correctly. Reviewed by: markk@knigma.org
* Prepare for mdoc(7)NG.ru2000-12-1955-211/+259
|
* mdoc(7) police: document IPv6 options in the SYNOPSIS.ru2000-12-181-1/+1
|
* o Fix up includes which built due to excessive nested including in therwatson2000-12-171-6/+5
| | | | | | | | | base system, but not in BruceBSD. o Fix up style violations of various sorts. o Remove redundant normalization of hertz variable, as the sysctl handler does this work (unlike when kread was used). Submitted by: bde
* IPv6 support for logger.ume2000-12-163-25/+82
| | | | Reviewed by: freebsd-current
* Fix a bug introduced in rev. 1.17: initialize variables before use, not after.des2000-12-161-1/+1
| | | | | Rev. 1.17 was "Obtained from NetBSD", but is significantly different from the equivalent NetBSD revision (rev. 1.30), which does not have this bug.
* Fix lseek args order (PR 23549)ache2000-12-151-12/+15
| | | | | | | | Catch and report lseek errors too While reading header don't attempt to continue reading if some IO operation fails PR: 23549
* Fix typo reported by Rich Morin <rdm@cfcl.com> on -doc mailing list.phantom2000-12-141-4/+5
| | | | | Correct .Xr macro usage. Also fix few more typos while I'm here.
* mdoc(7) police: added missing .Os call.ru2000-12-143-0/+3
|
* mdoc(7) police: removed history info from the .Os FreeBSD call.ru2000-12-143-3/+3
|
* mdoc(7) police: removed history info from the .Os call.ru2000-12-141-1/+1
|
* If the URL did not specify a scheme, try to guess it from the host name.des2000-12-131-0/+10
|
* Catch up to the new kinfo_proc.jhb2000-12-121-4/+4
|
* 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.
OpenPOWER on IntegriCloud