summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Fix the build break.n_hibma2000-10-171-15/+9
| | | | | | | The solution isn't perfect, instead of printing the first report, it will the report no report id, but the proper solution is more complex than this. We would need to iterate over the report descriptor and figure out all the report id's before starting to print.
* Backed out part of the revision 1.10.ru2000-10-161-1/+2
| | | | BLOCKSIZE could specify arbitrary block sizes, not exactly 1K blocks.
* Include sys/types.hbrian2000-10-161-0/+3
|
* Include sys/types.hbrian2000-10-162-0/+6
|
* Include sys/types.hbrian2000-10-162-0/+4
|
* Correct the usage of mktemp:alex2000-10-152-2/+9
| | | | | | | | | | The old version lists all args as optional. However, you need at least one arg to get a usable result. PR: 18667 Reported by: obrien Submitted by: Johan Karlsson <k@numeri.campus.luth.se> Reviewed by: sheldonh
* Remove GLOBAL -- it has moved to Ports.obrien2000-10-159-98/+0
| | | | Approved by: unanimous response on arch@freebsd.org (June time frame)
* Change the "in use" percentage metric to actually display a realbmilekic2000-10-151-9/+14
| | | | "in use" percentage. In other words, show how much of mb_map is in use.
* Skip sockets with no SCBdes2000-10-131-0/+2
|
* Fix suffix matching.des2000-10-121-2/+7
| | | | | | | Restore historical behaviour when the first argument is an empty string. Submitted by: Alexander N. Kabaev <ak03@gte.com> Pointed out by: bde
* Fix man page installationgshapiro2000-10-111-6/+4
| | | | | | Style fixes Submitted by: bde
* Use sendmail's version of vacation. It is command line and databasegshapiro2000-10-103-729/+31
| | | | | | | | | compatible with the old version but includes new functionality and bug fixes. Since it is not part of the NO_SENDMAIL make.conf option, libsmdb and libsmutil should always be built for vacation's sake. PR: 15227
* Don't depend on <sys/stat.h> bogusly including <sys/time.h> (and therebywollman2000-10-102-0/+2
| | | | <time.h>).
* Don't overflow in command-line argskris2000-10-091-2/+2
| | | | Submitted by: Mike Heffner <mheffner@vt.edu>
* Add :L and :U variable modifiers. These convert the variable's value towill2000-10-092-0/+38
| | | | | | | | | all-lower or all-upper case characters, respectively. These were added to further reduce differences between NetBSD/OpenBSD and FreeBSD make(1) to propagate OpenPackages. PR: 19959 Submitted by: Gaspar Chilingarav <nm@web.am>
* Add :C/// variable modifier, which is similar to :S/// in functionalitywill2000-10-092-0/+414
| | | | | | | | | | | | | | but allows for regex. I removed NO_REGEX since no one could give a reason to have it, and since we don't use make in bootstrap tools, it's not needed. This is mostly added to synch up with NetBSD/OpenBSD so as to eliminate roadblocks in the OpenPackages project (see http://www.openpackages.org/). It's also quite useful, and costs us only about 3 kilobytes of space. PR: 21605 Submitted by: Hubert Feyrer <hubertf@NetBSD.org> Reviewed by: silence on -arch Obtained from: NetBSD
* Initiate deorbit burn sequence for <machine/console.h>.phk2000-10-081-1/+1
| | | | | | | | | Replace all in-tree uses with necessary subset of <sys/{fb,kb,cons}io.h>. This is also the appropriate fix for exo-tree sources. Put warnings in <machine/console.h> to discourage use. November 15th 2000 the warnings will be converted to errors. January 15th 2001 the <machine/console.h> files will be removed.
* Use the correct timestamp for the -C -p case when the comparison fails.bde2000-10-081-2/+2
| | | | | A garbage timestamp was used for at least installing /dev/null with -C -p when the target doesn't already exist.
* Document the fact that sockstat now lists Unix domain sockets, and the newdes2000-10-071-3/+27
| | | | command-line options for selecting what to display.
* Total rewrite. This was actually the first non-trivial Perl script I everdes2000-10-071-26/+129
| | | | | | | | | | | | wrote, and as such was not very pretty. Changes that may cause problems for people who use sockstat in scripts: - sockstat(8) now displays Unix domain sockets in addition to IPv4 and IPv6 - the last period in local and foreign addresses is changed to a colon to make the port number easier to spot - IPv4 and IPv6 sockets are listed separately (IPv4 first, then IPv6, then Unix)
* List the -t option in usage().alex2000-10-061-1/+1
| | | | | PR: 21734 Submitted by: Giorgos Keramidas <keramida@ceid.upatras.gr>
* List the options in alphabetic order.alex2000-10-061-1/+1
| | | | | PR: 21734 Submitted by: Johan Karlsson <k@numeri.campus.luth.se>
* It may happen so that the local talk daemon is not running.ru2000-10-051-0/+1
| | | | Let the user know...
* Do not allow `finger -m /somefile' as well.ru2000-10-051-3/+3
|
* Replaced unsafe use of sprintf() with snprintf().ru2000-10-031-2/+2
|
* Don't allow finger /somefile, only allow filname expansions frombrian2000-10-021-0/+10
| | | | | | inside /etc/finger.conf PR: 21704
* Instead of printing '(null)' if there is no tty, print 'no tty'.n_hibma2000-10-021-1/+5
| | | | | In the case where the program is executed by a daemon running in the background the terminal might not have a tty. The '(null)' is confusing.
* Assume MAINTAINER. I will be taking the job of merging NetBSD/OpenBSDwill2000-09-291-0/+2
| | | | | | | improvements (including :C & :L, among others). After that, I'll be coming up with other ways to improve make(1). Discussed in spirit with: peter
* Add ia64 support and fix problems when cross-building when the host hasdfr2000-09-291-13/+15
| | | | a different pointer size from the target.
* *** empty log message ***peter2000-09-252-12/+28
|
* Do not call freeaddrinfo(res0) twice.ru2000-09-251-0/+1
| | | | PR: bin/21476
* Don't assume ai0->ai_canonname will always be filled in. Print thewollman2000-09-241-1/+6
| | | | | | user-supplied host name if we can't get a canonical name. Obtained from: contrib/tcp_wrappers/socket.c rev. 1.4 (in spirit)
* Implement IPv6 support. Also restructure the way multi-homed hostswollman2000-09-221-57/+91
| | | | are treated, regardless of protocol.
* Delete a bogus reference to T/TCP -- the problem still exists on Standardwollman2000-09-221-3/+1
| | | | TCP.
* Fix buffer overflow when DISPLAY is longer than 43 characters. Thisimp2000-09-201-4/+7
| | | | | | | | | | is not exploitable because telnet doesn't run with elevated privs. Didn't fix all the other potential buffer overflows. Would be a good task for someone who has lots of time to carefully study each case because cut and paste solutions are dangerous for this code base. Added $FreeBSD$ in the same way that command.c did it.
* Fixed the printing of header for IPv4 routing table without -l option.ru2000-09-181-1/+1
| | | | Broken in rev 1.44.
* Correct a few typos, including a mis-represented option (-s instead ofsheldonh2000-09-181-4/+4
| | | | | | -h for NIS host). Submitted by: Peter Avalos <pavalos@theshell.com>
* Remove unneded -ltermcapache2000-09-162-4/+5
|
* Remove unneded -lmytinfoache2000-09-161-2/+2
|
* cc -O -pipe -I/usr/src/usr.bin/kdump/../ktrace ↵jkh2000-09-141-2/+6
| | | | | | -I/usr/src/usr.bin/kdump/../.. Fix ioctl.c creation to deal with the depend case more properly. Submitted by: Ruslan Ermilov <ru@sunbay.com>
* Fix ioctl.c creation to deal with the depend case more properly.jkh2000-09-141-2/+6
| | | | Submitted by: Ruslan Ermilov <ru@sunbay.com>
* remove .PHONY to avoid gratuitous rebuild of ioctl.c each time.jkh2000-09-142-2/+2
| | | | Approved by: sef
* Don't drop out when we've processed argc - 1 names.... argumentsbrian2000-09-121-7/+3
| | | | | | may expand to more than one user. PR: 21228
* Activate hesinfo.nectar2000-09-081-0/+1
| | | | Noticed by: Don Lewis <Don.Lewis@tsc.tdk.com>
* Fix breakage introduced in rev.1.7. yystacksize and yysslim are global andn_hibma2000-09-071-0/+4
| | | | | | | should be prefixed by YYPREFIX as well. Only relevant if -p <yyprefix> is used. Used in cases where multiple parsers are used in executable.
* Major update to the way synchronization is done in the kernel. Highlightsjasone2000-09-071-3/+3
| | | | | | | | | | | | | | | include: * Mutual exclusion is used instead of spl*(). See mutex(9). (Note: The alpha port is still in transition and currently uses both.) * Per-CPU idle processes. * Interrupts are run in their own separate kernel threads and can be preempted (i386 only). Partially contributed by: BSDi (BSD/OS) Submissions by (at least): cp, dfr, dillon, grog, jake, jhb, sheldonh
* Add nsswitch support. By creating an /etc/nsswitch.conf file, you cannectar2000-09-066-4/+352
| | | | | | | | | | | | | | | | | | | | | | | | | | configure FreeBSD so that various databases such as passwd and group can be looked up using flat files, NIS, or Hesiod. = Hesiod has been added to libc (see hesiod(3)). = A library routine for parsing nsswitch.conf and invoking callback functions as specified has been added to libc (see nsdispatch(3)). = The following C library functions have been modified to use nsdispatch: . getgrent, getgrnam, getgrgid . getpwent, getpwnam, getpwuid . getusershell . getaddrinfo . gethostbyname, gethostbyname2, gethostbyaddr . getnetbyname, getnetbyaddr . getipnodebyname, getipnodebyaddr, getnodebyname, getnodebyaddr = host.conf has been removed from src/etc. rc.network has been modified to warn that host.conf is no longer used at boot time. In addition, if there is a host.conf but no nsswitch.conf, the latter is created at boot time from the former. Obtained from: NetBSD
* Reintroduce functionality and error checks that were boneheadedly removeddes2000-09-062-2/+13
| | | | | | in the previous commit. Pass me the pointy hat. PR: bin/21061
* When we have both a rcsid and sccsid, ifdef 0 the sccsid. Thisimp2000-09-041-0/+2
| | | | | appears to be the standard FreeBSD way to do this. style(9) is silent about this, however.
* getopt and friends are declared in <unistd.h>imp2000-09-0419-41/+13
| | | | getopt returns -1 not EOF.
OpenPOWER on IntegriCloud