summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* /usr/libexec/cpp -> /usr/bin/cppache2001-01-131-1/+1
| | | | because of new rename to /usr/libexec/cpp0
* Have rpcgen actually tell us what cpp it is looking for (as it would if weobrien2001-01-101-1/+1
| | | | were SVR%).
* Use /usr/bin/cpp as on NetBSD, not /usr/libexec/cpp.obrien2001-01-091-3/+1
|
* Off by one error in reading mmap data.wosch2001-01-061-1/+2
| | | | Submitted by: Martin Kraemer <Martin.Kraemer@Fujitsu-Siemens.com>
* Reinstate revision 1.11:will2001-01-051-37/+62
| | | | | | | | | | | | | | | | | | | | | | BDECFLAGS; ANSIfy; use EXEC instead of "exec " where appropriate; use proper types (size_t, int); use proper variable names for certain things; get rid of static 'cache' style stuff by moving and sanitizing the original SHELL checking code to main(), this also makes it easier to free() the string; rename file-scope system() to exec_shell(); use snprintf() everywhere instead of sprintf(); actually remember to free() other malloc()'d char pointers in main(). I left out the -s option in this revision along with getusershell() checking because of objections made by Warner Losh <imp> and Garrett Wollman <wollman>. I agreed with their assertions that such code was unnecessary in a program like this. I dare people to make this coredump now. Some suggestions: nectar (snprintf() truncate checking) Reviewed by: markm, eivind, jedgar Tortured by: examples in apply(1), fuzz(1), and a lot of random ideas I came up with
* Back out last commit; it had string function mistakes. I will fix thiswill2001-01-042-47/+23
| | | | | | and make sure it works next time. Submitted by: markm, jhb
* Document new -s option: pass a shell to apply(1) when the desired shellwill2001-01-041-0/+7
| | | | isn't found in /etc/shells.
* BDECFLAGS; de-__P()-ify, ANSIfy, use snprintf() instead of sprintf(),will2001-01-041-23/+40
| | | | | | | | | | | | | | especially on strings passed from argv; rename system() to exec_shell(), and make it static; use strlcpy() and make sure it works; use proper type (size_t) to be passed to malloc()/realloc(). Use getusershell() to make sure the SHELL environment variable passed is safe to use. Add new option -s to allow anal users to pass things like perl; this option is here along with getusershell() checking since the such checking is only intended to affect things like suidperl that might call apply(1). Reviewed by: markm, jhb, C. Stephen Gunn <csg@waterspout.com>
* Update for 2001.dwmalone2001-01-041-138/+186
| | | | | PR: 23456 Submitted by: jgrosch@mooseriver.com
* .publickey -> .pubkey to match other finger daemons.des2001-01-043-4/+4
| | | | Suggested by: assar
* Use a slightly better documented way of calculating easter anddwmalone2001-01-022-61/+38
| | | | | | | include a reference to the Calendar FAQ. Also make argument parsing a little more robust. PR: 23881
* Oops, I'm such an idiot. For reasons I don't really agree with,mjacob2000-12-311-1/+1
| | | | | | | | | all devices are by default known by their 'cooked' name, so my change was wrong. I thought it was a hangover from old 'block tape device' support which hasn't worked (if it ever did) since v6/PWB. So, the default tape name is now the same as Linux. Far out, man....
* The default is /dev/nrsa0 (now), not /dev/nsa0.mjacob2000-12-311-1/+1
|
* My bad, committed the submitted patch rather than the fixed patch.phk2000-12-301-2/+3
|
* Use macro API to <sys/queue.h>phk2000-12-303-18/+17
| | | | | Submitted by: "Jason" <jsmethers@pdq.net> Reviewed by: phk
* Use macro API to <sys/queue.h>phk2000-12-301-31/+16
| | | | | Submitted by: "Jason" <jsmethers@pdq.net> Reviewed by: phk
* Use macro API to <sys/queue.h>phk2000-12-301-1/+1
| | | | | Submitted by: "Jason" <jsmethers@pdq.net> Reviewed by: /sbin/md5
* Add support for a .publickey file.des2000-12-293-4/+9
| | | | | Submitted by: Svein Skogen <tds@nsn.no> Reviewed by: brian, ru
* Used macro-API to <sys/queue.h>.phk2000-12-291-13/+13
| | | | Submitted by: ben
* 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
|
OpenPOWER on IntegriCloud