summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Fix telnet core dump at invalid service name specified.shin2000-02-071-0/+6
| | | | | | | | Added an error check to avoid it. Approved by: jkh Submitted by: Robert Muir <rmuir@gibralter.net>
* Move brandelf from being i386 specific to the MI area -- Linux emulationobrien2000-02-061-1/+1
| | | | is comming to the Alpha.
* Revert part of the last commit, remove {g|s}etflags from the libcjoe2000-02-055-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | interface, and statically link them to the programs using them. These functions, upon reflection and discussion, are too generically named for a library interface with such specific functionality. Also the api that they use, whilst ok for private use, isn't good enough for a libc function. Additionally there were complications with the build/install-world process. It depends heavily upon xinstall, which got broken by the change in api, and caused bootstrap problems and general mayhem. There is work in progress to address future problems that may be caused by changes in install-chain tools, and better names for {g|s}etflags can be derived when some future program requires them. For now the code has been left in src/lib/libc/gen (it started off in src/bin/ls). It's important to provide library functions for manipulating file flag strings if we ever want this interface to be adopted outside of the source tree, but now isn't necessarily the right moment with 4.0-release just around the corner. Approved: jkh
* Add NI_NAMEREQD flag to getnameinfo() call. Without this flag,shin2000-01-291-1/+1
| | | | | | | | getnameinfo() don't return error at name resolving failure. But it is used at doaddrlookup(-N) case in telnet, error need to be returned to correctly initialize hostname buffer. Discovered at checking recent KAME repository change, noticed by itojun.
* fix breakage of make release.shin2000-01-291-3/+10
| | | | Confirmed by: German Tischler <tanis@gaspode.franken.de>
* Fix typo's.asmodai2000-01-281-2/+2
| | | | | PR: 16430 Submitted by: Adam.Kranzel@teru.dyndns.org (shade@dnai.com)
* IPv6 multicast routing.shin2000-01-285-10/+237
| | | | | | | | | | | | | kernel IPv6 multicast routing support. pim6 dense mode daemon pim6 sparse mode daemon netstat support of IPv6 multicast routing statistics Merging to the current and testing with other existing multicast routers is done by Tatsuya Jinmei <jinmei@kame.net>, who writes and maintainances the base code in KAME distribution. Make world check and kernel build check was also successful.
* Historically file flags (schg, uschg, etc) have been converted fromjoe2000-01-276-13/+3
| | | | | | | | | | | | | | | | | string to u_long and back using two functions, flags_to_string and string_to_flags, which co-existed with 'ls'. As time has progressed more and more other tools have used these private functions to manipulate the file flags. Recently I moved these functions from /usr/src/bin/ls to libutil, but after some discussion with bde it's been decided that they really ought to go in libc. There are two already existing libc functions for manipulating file modes: setmode and getmode. In keeping with these flags_to_string has been renamed getflags and string_to_flags to setflags. The manual page could probably be improved upon ;)
* cleanup using suggestions from bdemharo2000-01-271-4/+4
|
* Style change and comment difference per bde.mjacob2000-01-271-4/+7
| | | | | Obtained from:bde@freebsd.org Marionette by:mjacob@freebsd.org
* another tcp apps IPv6 updates.(should be make world safe)shin2000-01-2713-344/+802
| | | | | | | ftp, telnet, ftpd, faithd also telnet related sync with crypto, secure, kerberosIV Obtained from: KAME project
* Fixes for my mandoc braindamage.obrien2000-01-271-7/+19
| | | | Submitted by: sheldonh
* A cleaner fix to previous.mjacob2000-01-271-7/+10
| | | | Obtained from:bde@freebsd.org
* Fix ctags from core dumping on alpha. Let the diffs out to review,mjacob2000-01-271-5/+9
| | | | but I timed out. Added FreeBSD CVS header.
* Add human-readable output flag, -hmharo2000-01-253-16/+128
| | | | Reviewed by: obrien
* several tcp apps IPv6 updateshin2000-01-253-6/+20
| | | | | | | | | | | | -inetd -rshd -rlogind -telnetd -rsh -rlogin Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project
* Fxi various man pages to stop abusing the .Bx macro to generatempp2000-01-233-7/+7
| | | | | | | the string "FreeBSD". Use the .Fx macro instead. Also did some minor re-wording/formatting to work around a deficiency with the .Fx macro when it comes to puncuation characters other than periods and commas.
* Revert the change from memset() to bzero(), since bzero() is simplysheldonh2000-01-201-1/+1
| | | | | | | | | | a special case of memset and we already initialize all those members of the struct tm which are required by mktime(). The memset() is only necessary for style conformity with the rest of the file. :-) Scenic route tour by: bde
* Change the error message to be the FreeBSD one, not the OSF/1 one.obrien2000-01-191-2/+6
|
* ${.MAKE} -> ${MAKE}ru2000-01-191-1/+1
| | | | Reviewed by: hoek
* Utility to control the printing of "Fixed up unaligned data access for pidobrien2000-01-194-0/+233
| | | | | | | | nnn at pc 0xADDR" and the fixup of the UA fault on the DEC Alpha when an unaligned access fault happens. Modeled after the OSF/1 utility of the same name. Submitted by: gallatin
* Document truncation of strings when a NUL character is reached in a formatchris2000-01-191-0/+6
| | | | | | | string. PR: 15929 Submitted by: Daniel Hagan <dhagan@cs.vt.edu>
* Correctly parse broken MDTM responses from servers which formatsheldonh2000-01-181-16/+36
| | | | | | | | tm_year with "19%02d". PR: 15981 Reported by: klh@netcom.com (Ken Harrenstien) Reviewed by: bde
* Create tempfiles securely.kris2000-01-172-23/+16
| | | | Reviewed by: imp
* Fixed breakage of K&R support in rev.1.26. yyparse() was defined asbde2000-01-171-7/+7
| | | | | | `int yyparse(;) ; { ... }' in K&R mode. Getting rid of the second unwanted semicolon in this made the ifdef tangle more tangled than before. Fixed a backwards comment in the tangle.
* Fixed breakage of K&R support in rev.1.8 of output.c: don't generatebde2000-01-172-2/+5
| | | | | #elif. Cleaned up rev.1.8 a bit more: generate the #include of <stdio.h> closer to the code that needs it.
* Cosmetic change: space instead of tab in front of $FreeBSD$.sheldonh2000-01-162-2/+2
| | | | Submitted by: bde
* Revert previous change, which is reported to have broken world. Isheldonh2000-01-151-1/+1
| | | | | | | | did test this through a ``make world'', but of course I already had a working lint binary (one that does not call cpp -undef) installed. Reported by: "Pierre Y. Dampure" <Pierre.Dampure@barclayscapital.com>
* Add a missing .El macro.sheldonh2000-01-141-0/+1
|
* Populate /usr/libdata/lint again. David Malone <dwmalone@maths.tcd.ie>sheldonh2000-01-142-4/+5
| | | | | | is responsible for getting me to look at the NetBSD makefiles. :-) Obtained from: NetBSD
* Fix lint for the new cpp. Lint is still broken in other ways, butsheldonh2000-01-141-2/+1
| | | | | | | this at least allows the use of lint -i on single files again. Fiddled rcsid to satisfy commitprep.pl; the original NetBSD tag is still in the comments.
* Use mktemp(1) for tempfiles (concatdb.sh), and increase the number of X's.kris2000-01-123-3/+3
|
* malloc more space for temp file namekris2000-01-101-1/+1
| | | | Noticed by: marcel
* Feed mkstemp() some more X's to keep it safe.kris2000-01-102-5/+5
|
* Adapt to the new `ccp' now that the traditional-behaving /usr/bin/cppobrien2000-01-102-5/+6
| | | | | | | | script is gone. PR: 15932 Submitted by: Jos Backus <Jos.Backus@nl.origin-it.com> Tested by: brian, Manfred Antar <mantar@pacbell.net>
* Handle the case where we truss an SUGID program -- in particular, we needsef2000-01-102-3/+18
| | | | | | | | to wake up any processes waiting via PIOCWAIT on process exit, and truss needs to be more aware that a process may actually disappear while it's waiting. Reviewed by: Paul Saab <ps@yahoo-inc.com>
* Correctly backspace over number N that preceeds macros.hoek2000-01-081-7/+12
|
* Instead of reporting all 0.0.0.0 as ``default'' only reportrgrimes2000-01-071-2/+5
| | | | | | a true default of 0.0.0.0/0 as default. Reviewed by: wollman
* . mdoc(7)'fyphantom2000-01-072-15/+32
| | | | | | | | . add Xrs to hosts.equiv(5), auth.conf(5), services(5) to some pages . sort Xrs in SEE ALSO sections Patches based on PR: docs/15680 Submitted by: Christian Weisgerber <naddy@mips.rhein-neckar.de>
* -permit protocol specific statistics at iflag,shin2000-01-073-9/+16
| | | | | | | | | only when either of sflag and "-f inet6" is specified. -fix the indentation of default output Specified by: Stephen McKay <syssgm@detir.qld.gov.au> Reviewed and Confirmed by: Stephen McKay <syssgm@detir.qld.gov.au>
* Back out rev 1.11, about which bde had concerns, and instead implementsheldonh2000-01-062-66/+72
| | | | | | | | appropriate bounds-checking and typecasts based on our knowledge of the desired conversion format specifier. Simplify diagnostics and take care to print the correct conversion format specifier when %l is involved.
* libipsec and IPsec related apps. (and some KAME related man pages)shin2000-01-061-1/+1
| | | | | Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project
* Actually remove unrequired SRCS.bde2000-01-051-1/+0
|
* Don't build with X support if DESTDIR is defined. This preventsmarcel2000-01-051-21/+18
| | | | | | | | breaking a cross-build caused by taking the X libraries on the build machine. In general this means that we never compile with X support. The user has to manually compile doscmd for that. Suggested by: bde, imp (among others)
* Replace calendar with 2000 calendar.grog2000-01-041-128/+140
| | | | | Supplied-by: Josef Grosch <jgrosch@MooseRiver.com> PR: docs/15429
* Turn on a new /usr/bin/cpp that is a true binary rather than a shell scriptobrien2000-01-044-202/+0
| | | | | wrapper. /usr/bin/cpp knows about all the GCC predefined symbols and has the functionality of the previous EGCS 1.1.2 /usr/libexec/cpp.
* Make brandelf explain itself a little better on error.wes2000-01-042-12/+46
| | | | | | | | Also, at Boris' suggestion, add -l option to list known ELF types. PR: bin/15285 Reviewed by: bp
* Print mac addresses in standard byte:byte format rather thanjkh2000-01-031-1/+1
| | | | | | | byte.byte. This makes it consistent with our other utilities like arp(8) and ifconfig(8). Submitted by: Paul Vixie <paul@vix.com>
* Added missing DPADD's. Removed unrequired SRCS's.joe2000-01-013-1/+3
| | | | Obtained from: bde
* Fix typosru1999-12-311-2/+2
|
OpenPOWER on IntegriCloud