summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Fix tftpd and tftp to support file transfers of over 65535 blocksasmodai2001-02-022-2/+7
| | | | | | | (about 31 MB - 32 MB). Submitted (partially) by: Pascal Hofstee <daeron@wit401305.student.utwente.nl>
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-0137-137/+160
|
* De-__P()-ifywill2001-01-281-6/+6
| | | | Reviewed by: markm
* BDECFLAGS: constify; use proper types. Add $FreeBSD$, clean up #ifndef lint.will2001-01-281-10/+13
| | | | Reviewed by: markm
* Fix typophantom2001-01-252-4/+4
|
* Slightly re-word sentence to allow using .Nm macro without parameterphantom2001-01-251-1/+2
|
* Slightly re-word sentence to allow using .Nm macro without parameterphantom2001-01-251-4/+6
| | | | Use .St macro instead of hardcoding standard name
* Fix bogus checking of snprintf() by decreasing the remaining size of thewill2001-01-251-0/+3
| | | | | | | string after each successful snprintf() call. This makes apply(1) work *correctly*, although the whole snprintf() deal really should be redone. Bug noted by: nectar (about 3 weeks ago)
* Catch up to proc flag changes.jhb2001-01-241-3/+3
|
* Catch up to proc flag change.jhb2001-01-241-1/+1
|
* Catch up to new proc flags.jhb2001-01-241-1/+1
|
* Mention the -F in the usage().ru2001-01-241-1/+1
| | | | | PR: 24586 Submitted by: Cyrille Lefevre <clefevre@citeweb.net>
* Call pam_setcred.nectar2001-01-231-0/+4
| | | | Reviewed by: markm, months ago
* Add mibs to hold the number of forks since boot. New mibs are:ume2001-01-231-0/+8
| | | | | | | | | | | | | | vm.stats.vm.v_forks vm.stats.vm.v_vforks vm.stats.vm.v_rforks vm.stats.vm.v_kthreads vm.stats.vm.v_forkpages vm.stats.vm.v_vforkpages vm.stats.vm.v_rforkpages vm.stats.vm.v_kthreadpages Submitted by: Paul Herman <pherman@frenchfries.net> Reviewed by: alfred
* Add the -empty flag, from OpenBSD. It returns true if the directorypeter2001-01-235-2/+49
| | | | | | | | | | | is empty. There doesn't appear to be another easy way to do this. mobile# mkdir foo mobile# mkdir foo/bar mobile# mkdir bar mobile# find . -empty ./foo/bar ./bar
* Document that the -z option is equivalent to 'sysctl vm.zone'.des2001-01-231-1/+5
|
* Use the vm.zone sysctl rather that grope through the zone allocator'sdes2001-01-231-52/+15
| | | | internal data structures.
* Update vm zone list traversal for changes made to kernel. Note that thismjacob2001-01-231-2/+6
| | | | | | is ultimately silly because no locks are held in user space while traversing the list via kvm_reads... really, this should use the sysctl interface which *is* protected by a lock in the kernel.
* Fix numerous style(9) bugs: Put #define's before declarations; sort thewill2001-01-211-12/+11
| | | | | | | | | declarations & their arguments; use only one tab after types; restore the type of argv to sync with src tree style; sort new variables under main(); fix continuation indents; remove extra blank line before free()'s. Still to do: fix snprintf() handling as nectar & bde suggested to me. Submitted by: bde
* Fix style(9) bug; use ISDOT[DOT,]() macro available in util.c by movingwill2001-01-213-11/+9
| | | | | | | it to make.h so both dir.c and util.c can use it, although bde didn't particularly like this part of the idea, IMO it's cleaner than it was. Submitted by: bde
* Print out resid portion of MTIOCGET returned data.mjacob2001-01-211-3/+4
|
* Fix typo: -c -> -tache2001-01-211-1/+1
|
* Make "killall -t p0" really works.ache2001-01-211-1/+2
| | | | Old code works only if at least one process name additionly specified.
* Check strdup() return valuesjedgar2001-01-201-4/+8
| | | | Reviewed by: kris
* Minor grammar nit.ben2001-01-161-1/+1
| | | | | PR: 23742 Submitted by: Rich Morin <rdm@cfcl.com>
* man(7) -> mdoc(7).ru2001-01-161-165/+135
|
* mdoc(7) police: fixed broken references.ru2001-01-163-4/+2
|
* Correct spelling of millennium.dwmalone2001-01-161-1/+1
| | | | | PR: 24369 Submitted by: Tony Finch <dot@dotat.at>
* Prepare for mdoc(7)NG.ru2001-01-1612-14/+14
|
* mdoc(7) police: fix the weird construct.ru2001-01-151-2/+8
|
* The patch for the new calendar contained spaces instead of tabs.dwmalone2001-01-151-184/+184
| | | | I only noticed when I went to check that it worked OK in RELENG_3.
* /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
OpenPOWER on IntegriCloud