aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Teach passwd about a new "mixpasswordcase" login.conf parameter. If thisNik Clayton2000-02-111-5/+12
| | | | | | | | | | | | | | | parameter is missing, or specified as above, then passwd behaves as normal when the user enters an all lower case password -- i.e., it prompts them to use mixed case, and will only grudgingly accept an all lower case password. If you negate this entry in login.conf, with "mixpasswordcase@", then passwd will allow all lower case passwords without complaining. Approved by: jkh Notes: svn path=/head/; revision=57143
* Teach passwd about a new "mixpasswordcase" login.conf parameter. If thisNik Clayton2000-02-111-2/+11
| | | | | | | | | | | | | | | parameter is missing, or specified as above, then passwd behaves as normal when the user enters an all lower case password -- i.e., it prompts them to use mixed case, and will only grudgingly accept an all lower case password. If you negate this entry in login.conf, with "mixpasswordcase@", then passwd will allow all lower case passwords without complaining. Approved by: jkh Notes: svn path=/head/; revision=57141
* Add more dual stack consideration.Yoshinobu Inoue2000-02-101-27/+96
| | | | | | | | | | | | | | | | | -Should retry as much as possible when some of source routing intermediate hosts' address families missmatch happened. (such as when a host has only A record, and another host has each of A and AAAA record.) -Should retry as much as possible when dest addr and source addr(specified with -s option) address family missmatch happend Approved by: jkh Notes: svn path=/head/; revision=57125
* Let ftp command use only PORT(no EPRT) for IPv4 destination.Yoshinobu Inoue2000-02-091-1/+0
| | | | | | | | | | | | Because if ftpd is invoked with -R option, and EPRT is used via firewal or NAT which don't understand EPRT, then the data connection from ftpd to ftp client will fail. Reported By: ume@mahoroba.org Approved by: jkh Notes: svn path=/head/; revision=57067
* There is a problem in that one cannot use ctype.h at the same time as partsDavid E. O'Brien2000-02-082-70/+86
| | | | | | | | | | | | | | | | | of the C++ stdlib. Our ctype.h uses symbols of the form _<X> to denote the various character classes. Our ctype.h also extends the usual ctype.h offering by adding the "_T" (special) class. Problem is parts of the STL also use the symbol "_T" as its parameterized type. These two uses are incompatible. Thus change the form of the symbols used in ctype to something that fixes the current problem and is less likely to cause conflicts in the future. Requested by: Tomoaki NISHIYAMA <tomoaki@biol.s.u-tokyo.ac.jp> Ok'ed by: JKH Notes: svn path=/head/; revision=57035
* Fix telnet core dump at invalid service name specified.Yoshinobu Inoue2000-02-071-0/+6
| | | | | | | | | | | Added an error check to avoid it. Approved by: jkh Submitted by: Robert Muir <rmuir@gibralter.net> Notes: svn path=/head/; revision=57016
* Move brandelf from being i386 specific to the MI area -- Linux emulationDavid E. O'Brien2000-02-061-1/+1
| | | | | | | is comming to the Alpha. Notes: svn path=/head/; revision=57013
* Revert part of the last commit, remove {g|s}etflags from the libcJosef Karthauser2000-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 Notes: svn path=/head/; revision=57003
* Add NI_NAMEREQD flag to getnameinfo() call. Without this flag,Yoshinobu Inoue2000-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. Notes: svn path=/head/; revision=56870
* fix breakage of make release.Yoshinobu Inoue2000-01-291-3/+10
| | | | | | | Confirmed by: German Tischler <tanis@gaspode.franken.de> Notes: svn path=/head/; revision=56812
* Fix typo's.Jeroen Ruigrok van der Werven2000-01-281-2/+2
| | | | | | | | PR: 16430 Submitted by: Adam.Kranzel@teru.dyndns.org (shade@dnai.com) Notes: svn path=/head/; revision=56764
* IPv6 multicast routing.Yoshinobu Inoue2000-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. Notes: svn path=/head/; revision=56722
* Historically file flags (schg, uschg, etc) have been converted fromJosef Karthauser2000-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 ;) Notes: svn path=/head/; revision=56692
* cleanup using suggestions from bdeMichael Haro2000-01-271-4/+4
| | | | Notes: svn path=/head/; revision=56690
* Style change and comment difference per bde.Matt Jacob2000-01-271-4/+7
| | | | | | | | Obtained from:bde@freebsd.org Marionette by:mjacob@freebsd.org Notes: svn path=/head/; revision=56677
* another tcp apps IPv6 updates.(should be make world safe)Yoshinobu Inoue2000-01-2713-344/+802
| | | | | | | | | | ftp, telnet, ftpd, faithd also telnet related sync with crypto, secure, kerberosIV Obtained from: KAME project Notes: svn path=/head/; revision=56668
* Fixes for my mandoc braindamage.David E. O'Brien2000-01-271-7/+19
| | | | | | | Submitted by: sheldonh Notes: svn path=/head/; revision=56667
* A cleaner fix to previous.Matt Jacob2000-01-271-7/+10
| | | | | | | Obtained from:bde@freebsd.org Notes: svn path=/head/; revision=56666
* Fix ctags from core dumping on alpha. Let the diffs out to review,Matt Jacob2000-01-271-5/+9
| | | | | | | but I timed out. Added FreeBSD CVS header. Notes: svn path=/head/; revision=56663
* Add human-readable output flag, -hMichael Haro2000-01-253-16/+128
| | | | | | | Reviewed by: obrien Notes: svn path=/head/; revision=56597
* several tcp apps IPv6 updateYoshinobu Inoue2000-01-253-6/+20
| | | | | | | | | | | | | | | -inetd -rshd -rlogind -telnetd -rsh -rlogin Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project Notes: svn path=/head/; revision=56590
* Fxi various man pages to stop abusing the .Bx macro to generateMike Pritchard2000-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. Notes: svn path=/head/; revision=56412
* Revert the change from memset() to bzero(), since bzero() is simplySheldon Hearn2000-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 Notes: svn path=/head/; revision=56326
* Change the error message to be the FreeBSD one, not the OSF/1 one.David E. O'Brien2000-01-191-2/+6
| | | | Notes: svn path=/head/; revision=56294
* ${.MAKE} -> ${MAKE}Ruslan Ermilov2000-01-191-1/+1
| | | | | | | Reviewed by: hoek Notes: svn path=/head/; revision=56280
* Utility to control the printing of "Fixed up unaligned data access for pidDavid E. O'Brien2000-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 Notes: svn path=/head/; revision=56279
* Document truncation of strings when a NUL character is reached in a formatChris Costello2000-01-191-0/+6
| | | | | | | | | | string. PR: 15929 Submitted by: Daniel Hagan <dhagan@cs.vt.edu> Notes: svn path=/head/; revision=56264
* Correctly parse broken MDTM responses from servers which formatSheldon Hearn2000-01-181-16/+36
| | | | | | | | | | | tm_year with "19%02d". PR: 15981 Reported by: klh@netcom.com (Ken Harrenstien) Reviewed by: bde Notes: svn path=/head/; revision=56256
* Create tempfiles securely.Kris Kennaway2000-01-172-23/+16
| | | | | | | Reviewed by: imp Notes: svn path=/head/; revision=56151
* Fixed breakage of K&R support in rev.1.26. yyparse() was defined asBruce Evans2000-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. Notes: svn path=/head/; revision=56137
* Fixed breakage of K&R support in rev.1.8 of output.c: don't generateBruce Evans2000-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. Notes: svn path=/head/; revision=56135
* Cosmetic change: space instead of tab in front of $FreeBSD$.Sheldon Hearn2000-01-162-2/+2
| | | | | | | Submitted by: bde Notes: svn path=/head/; revision=56097
* Revert previous change, which is reported to have broken world. ISheldon Hearn2000-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> Notes: svn path=/head/; revision=56035
* Add a missing .El macro.Sheldon Hearn2000-01-141-0/+1
| | | | Notes: svn path=/head/; revision=55963
* Populate /usr/libdata/lint again. David Malone <dwmalone@maths.tcd.ie>Sheldon Hearn2000-01-142-4/+5
| | | | | | | | | is responsible for getting me to look at the NetBSD makefiles. :-) Obtained from: NetBSD Notes: svn path=/head/; revision=55961
* Fix lint for the new cpp. Lint is still broken in other ways, butSheldon Hearn2000-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. Notes: svn path=/head/; revision=55959
* Use mktemp(1) for tempfiles (concatdb.sh), and increase the number of X's.Kris Kennaway2000-01-123-3/+3
| | | | Notes: svn path=/head/; revision=55835
* malloc more space for temp file nameKris Kennaway2000-01-101-1/+1
| | | | | | | Noticed by: marcel Notes: svn path=/head/; revision=55781
* Feed mkstemp() some more X's to keep it safe.Kris Kennaway2000-01-102-5/+5
| | | | Notes: svn path=/head/; revision=55732
* Adapt to the new `ccp' now that the traditional-behaving /usr/bin/cppDavid E. O'Brien2000-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> Notes: svn path=/head/; revision=55716
* Handle the case where we truss an SUGID program -- in particular, we needSean Eric Fagan2000-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> Notes: svn path=/head/; revision=55707
* Correctly backspace over number N that preceeds macros.Tim Vanderhoek2000-01-081-7/+12
| | | | Notes: svn path=/head/; revision=55620
* Instead of reporting all 0.0.0.0 as ``default'' only reportRodney W. Grimes2000-01-071-2/+5
| | | | | | | | | a true default of 0.0.0.0/0 as default. Reviewed by: wollman Notes: svn path=/head/; revision=55575
* . mdoc(7)'fyAlexey Zelkin2000-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> Notes: svn path=/head/; revision=55562
* -permit protocol specific statistics at iflag,Yoshinobu Inoue2000-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> Notes: svn path=/head/; revision=55533
* Back out rev 1.11, about which bde had concerns, and instead implementSheldon Hearn2000-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. Notes: svn path=/head/; revision=55515
* libipsec and IPsec related apps. (and some KAME related man pages)Yoshinobu Inoue2000-01-061-1/+1
| | | | | | | | Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project Notes: svn path=/head/; revision=55505
* Actually remove unrequired SRCS.Bruce Evans2000-01-051-1/+0
| | | | Notes: svn path=/head/; revision=55476
* Don't build with X support if DESTDIR is defined. This preventsMarcel Moolenaar2000-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) Notes: svn path=/head/; revision=55457
* Replace calendar with 2000 calendar.Greg Lehey2000-01-041-128/+140
| | | | | | | | Supplied-by: Josef Grosch <jgrosch@MooseRiver.com> PR: docs/15429 Notes: svn path=/head/; revision=55398