aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Fix a bunch of spelling errors.Steve Price1998-06-044-9/+9
| | | | | | | | PR: 6856 Submitted by: Josh Gilliam <josh@quick.net> Notes: svn path=/head/; revision=36649
* Don't forget to pretend that `make -n -jN' makes the targets that itBruce Evans1998-06-041-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | says it pretends to make. This bug was apparently harmless except for normal cases involving .ORDER statements when it made debugging of -jN using -n very confusing. E.g., for: .ORDER: beforedepend .depend depend: beforedepend .depend where beforedepend depends on something so that it is not initially up to date, `make [-n] -j2 depend' causes `make' to wait for itself to make beforedepend. This works fine without -n. The job to make beforedepend has normally been started, and beforedepend is marked as made when the job completes. However, with -n, the pseudo-job for making beforedepend has normally completed, and in any case there was no chance of beforedepend being marked as made. `make' actually exited almost immediately with status 0 instead of waiting forever. Notes: svn path=/head/; revision=36621
* Spelling corrections.Joseph Koshy1998-06-031-3/+3
| | | | | | | | PR: 6829 Submitted by: Josh Gilliam <josh@quick.net> Notes: svn path=/head/; revision=36601
* PR: bin/6828Peter Hawkins1998-06-021-30/+53
| | | | | | | | | | Submitted by: njs3@doc.ic.ac.uk Obtained from: NetBSD Implement embedded variable expansion Notes: svn path=/head/; revision=36588
* Treat an EOPNOTSUPP from fchflags() as a non-fatal case. Only warn aboutPeter Wemm1998-06-022-10/+25
| | | | | | | | | | | | | | | | | it if flags were explicitly specified on the command line. Do not warn if we were merely trying to preserve flags or remove UF_NODUMP. NFS does not support flags. I'm not sure that this is ideal, but it should do for now. Installing a plain file onto a NFS server must work, we used to silently ignore the attempt. Doing a binary install looses the flags anyway since cpio doens't preserve them with the cdrom/network images. XXX make world should not use flags or chown/chgrp in the obj/tmp area. This is based on a suggestion from Ken Merry <ken@plutotech.com>. Notes: svn path=/head/; revision=36586
* Look for kzhead.o and kztail.o in /usr/lib/aout.John Hay1998-06-011-3/+3
| | | | Notes: svn path=/head/; revision=36574
* SUBDIR += lddPeter Wemm1998-06-011-2/+2
| | | | Notes: svn path=/head/; revision=36571
* ldd standalone build, after repository copy.Peter Wemm1998-06-011-2/+1
| | | | Notes: svn path=/head/; revision=36566
* Trim a domain part for wtmp as same as showed by "netstat -r".Atsushi Murai1998-06-011-1/+5
| | | | | | | | | | | | | | | | Here is a some example for avoiding a confusion. It asssumes a logged host domain is "spec.co.jp". All example is longer than UT_HOSTNAMELEN value. 1) turbo.tama.spec.co.jp: 192.19.0.2 -> trubo.tama 2) turbo.tama.foo.co.jp : 192.19.0.2 -> 192.19.0.2 3) specgw.spec.co.jp : 202.32.13.1 -> specgw Submitted by: Atsushi Murai <amurai@spec.co.jp> Notes: svn path=/head/; revision=36559
* Fixed double slashes in pathnames.Bruce Evans1998-05-311-3/+3
| | | | Notes: svn path=/head/; revision=36494
* objformat is part of the i386 mid life identity crisis. On alpha, thingsJohn Birrell1998-05-311-5/+4
| | | | | | | are in their normal places, so objformat isn't required. Notes: svn path=/head/; revision=36491
* Some cleanups related to timecounters and weird ifdefs in <sys/time.h>.Poul-Henning Kamp1998-05-281-3/+3
| | | | | | | | | | | | | | | | | | | | | | | Clean up (or if antipodic: down) some of the msgbuf stuff. Use an inline function rather than a macro for timecounter delta. Maintain process "on-cpu" time as 64 bits of microseconds to avoid needless second rollover overhead. Avoid calling microuptime the second time in mi_switch() if we do not pass through _idle in cpu_switch() This should reduce our context-switch overhead a bit, in particular on pre-P5 and SMP systems. WARNING: Programs which muck about with struct proc in userland will have to be fixed. Reviewed, but found imperfect by: bde Notes: svn path=/head/; revision=36441
* Reviewed by: Peter Hawkins <thepish@FreeBSD.org>Daniel O'Callaghan1998-05-282-18/+47
| | | | | | | Add s and w flags to show duration in or with seconds. Notes: svn path=/head/; revision=36434
* Correctly display the interrupt counts.John Hay1998-05-271-1/+6
| | | | | | | Reviewed with optimizations by: Tor Egge <tegge> Notes: svn path=/head/; revision=36430
* Convert to more canonical format.. It seems that both Soren and I werePeter Wemm1998-05-271-8/+8
| | | | | | | working on this in parallel.. :-( Notes: svn path=/head/; revision=36420
* Compile & use objformat as it was intended to, I have no idea whySøren Schmidt1998-05-272-18/+11
| | | | | | | that failed for me before :( Notes: svn path=/head/; revision=36408
* ELF preparation step 2:Søren Schmidt1998-05-262-11/+11
| | | | | | | | | | | | | | | | | Move a.out libraries to /usr/lib/aout to make space for ELF libs. Make rtld usr /usr/lib/aout as default library path. Make ldconfig reject /usr/lib as an a.out library path. Fix various Makefiles for LIBDIR!=/usr/lib breakage. This will after a make world & reboot give a system that no longer uses /usr/lib/*, infact one could remove all the old libraries there, they are not used anymore. We are getting close to an ELF make world, but I'll let this all settle for a week or two... Notes: svn path=/head/; revision=36397
* Get owner/group/modes rightSøren Schmidt1998-05-261-9/+11
| | | | Notes: svn path=/head/; revision=36395
* Oops, remember CFLAGS...Søren Schmidt1998-05-261-8/+6
| | | | | | | Also compile directly to the target on install. Notes: svn path=/head/; revision=36392
* PR: 1904Daniel O'Callaghan1998-05-261-1/+6
| | | | | | | Abort if given uname is > MAXLOGNAME-1 Notes: svn path=/head/; revision=36391
* "EOF of file..." is written to stderr and not stdout.Steve Price1998-05-261-2/+2
| | | | | | | PR: 6756 Notes: svn path=/head/; revision=36385
* ELF preparation step 1:Søren Schmidt1998-05-257-4/+10
| | | | | | | | | | | | | | | | | | Move our old a.out utils to /usr/libexec/aout. Enable binutils and put the utils in /usr/libexec/elf Enable objformat, a little helper program that calls the right utils based on /etc/objformat and $OBJFORMAT. This will enable the ELF generating tools. Remember that this is only step one, the system is still compiled and run in a.out format ONLY. Problem left to solve: The BSD manpages wins over the GNU equivalents as the are installed last. We need to distinguish between the manpages somehow... Notes: svn path=/head/; revision=36374
* Only compile on install.Søren Schmidt1998-05-251-0/+3
| | | | Notes: svn path=/head/; revision=36373
* Make objformat DTRT when in the make world environment.Søren Schmidt1998-05-252-4/+14
| | | | Notes: svn path=/head/; revision=36372
* Back out Steve's fix, as this was already fixed by me in revision 1.6Dag-Erling Smørgrav1998-05-251-4/+0
| | | | Notes: svn path=/head/; revision=36370
* Only allow 'who' and 'who am i' as valid usages.Steve Price1998-05-251-1/+5
| | | | | | | | PR: 6294 Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua> Notes: svn path=/head/; revision=36360
* Allow spaces in the filename to be decoded to.Steve Price1998-05-251-2/+2
| | | | | | | | PR: 4882 Submitted by: Slaven Rezic <eserte@cs.tu-berlin.de> Notes: svn path=/head/; revision=36355
* Allow a user in group 0 to su(1) to root if their primarySteve Price1998-05-252-9/+21
| | | | | | | | | | | | group is 0 in /etc/passwd even if they aren't listed as a member in /etc/group. This is more inline with what the group manpage says. PR: 6696 Submitted by: Max Euston <meuston@jmrodgers.com> Notes: svn path=/head/; revision=36348
* Add a graceful jumping off point with a new .error directive.Steve Price1998-05-252-21/+60
| | | | | | | | PR: 6720 Submitted by: Niall Smart <njs3@doc.ic.ac.uk> Notes: svn path=/head/; revision=36347
* Sort SEE ALSO section alphabetically.Joseph Koshy1998-05-221-3/+3
| | | | Notes: svn path=/head/; revision=36301
* Cosmetic fix. Compute header field widths from UT_{HOST,LINE,NAME}SIZEJoseph Koshy1998-05-211-4/+13
| | | | | | | | | instead of hardcoding header line. PR: 6325 Notes: svn path=/head/; revision=36276
* Support integer constant unsigned-suffix and long-long-suffix.Robert Nordier1998-05-191-3/+21
| | | | Notes: svn path=/head/; revision=36211
* Make "netstat -s" display stats on fast-forwarded packets.Pierre Beyssac1998-05-191-2/+5
| | | | | | | Obtained from: NetBSD code Notes: svn path=/head/; revision=36195
* Use the correct name of the login.conf(5) capability (`passwordperiod' ->Joseph Koshy1998-05-191-4/+4
| | | | | | | `passwordtime'). Notes: svn path=/head/; revision=36173
* Include correct header to get definition of struct sockaddr_un.Mark Murray1998-05-161-1/+2
| | | | Notes: svn path=/head/; revision=36110
* Fix rev. 1.7: get offsetof from the correct header file.Garrett Wollman1998-05-161-2/+2
| | | | Notes: svn path=/head/; revision=36103
* Fix broken sun_len usage: it is not sun_path length but biggerAndrey A. Chernov1998-05-161-2/+5
| | | | Notes: svn path=/head/; revision=36091
* mbuf, inet, and unix modules no longer read kvm.Garrett Wollman1998-05-155-199/+265
| | | | Notes: svn path=/head/; revision=36080
* More programs are now broken on alpha due to the libbind changesJohn Birrell1998-05-151-12/+13
| | | | | | | | | | | that prevent the programs from being linked static (duplicated symbols). Other programs depend on kernel internals. These will have to wait for a custom alpha kernel. For now, let's just make the build safe. Notes: svn path=/head/; revision=36064
* Change variable from long to time_t where they are passed by referenceJohn Birrell1998-05-151-2/+3
| | | | | | | to time(). Notes: svn path=/head/; revision=36062
* Add cross references for find(1), locate(1), whereis(1) and which(1).Joseph Koshy1998-05-154-4/+13
| | | | | | | | Submitted by: Josh Gillam <josh@quick.net> PR: docs/6642 Notes: svn path=/head/; revision=36057
* Change the name of a variable from _start to s_start. On alpha thereJohn Birrell1998-05-153-8/+8
| | | | | | | must be a library function called _start. Notes: svn path=/head/; revision=36053
* Allow `w' to treat a corrupted "utmp" as a non fatal error.Joseph Koshy1998-05-141-4/+7
| | | | | | | PR: bin/2832 Notes: svn path=/head/; revision=36031
* .Sh ENVIRONMENT VARIABLES -> .Sh ENVIRONMENTPoul-Henning Kamp1998-05-132-3/+3
| | | | | | | | | PR: 6599 Reviewed by: phk Submitted by: Josh Gilliam <josh@quick.net> Notes: svn path=/head/; revision=36014
* Fix broken (at least on alpha, but probably on i386 too) code whichJohn Birrell1998-05-131-4/+4
| | | | | | | | is supposed to walk an arry of character pointers, not an array of characters. Notes: svn path=/head/; revision=35993
* Some commands are shell builtins. Execute the builtins by the shellWolfram Schneider1998-05-121-1/+50
| | | | | | | | | | and not directly by make(1). PR: bin/6550 Submitted by: Theo de Raadt <deraadt@cvs.openbsd.org & wosch Notes: svn path=/head/; revision=35968
* Fixed missing dependencies on headers generated by rpcgen, as usual.Bruce Evans1998-05-101-11/+9
| | | | | | | | Removed bogus dependencies of generated .c files on generated headers. Sorted sources lists. Notes: svn path=/head/; revision=35909
* Fix my last change: the .Fx macro doesn't do anything useful without anGarrett Wollman1998-05-091-2/+2
| | | | | | | argument, so use `.Tn FreeBSD' instead. Notes: svn path=/head/; revision=35902
* Documentation fix: delete references to T/TCP as they are not relevantGarrett Wollman1998-05-092-12/+36
| | | | | | | | to the case in question. (Said case being quite clearly defined by the basic TCP specification, RFC 792.) Notes: svn path=/head/; revision=35900
* Arrggghhhh... forgot to strip the / after outputting %2fDag-Erling Smørgrav1998-05-091-3/+6
| | | | Notes: svn path=/head/; revision=35862