summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Add picobsd.asami2001-04-221-0/+1
|
* Don't pass NULL to the %s format.dd2001-04-221-2/+6
| | | | Reviewed by: kris
* mkisofs is in section 8, not section 1.dd2001-04-211-1/+1
|
* The introduction of IPv6 support from NetBSD's mountd invalidatediedowse2001-04-211-243/+207
| | | | | | | | | | | | | | | | | | | | | | | | a number of assumptions related to the parsing of options in /etc/exports, and missed a few necessary new error checks. The main problems related to netmasks: an IPv6 network address missing a netmask would result in the filesystem being exported to the whole IPv6 world, non-continuous netmasks would be made continuous without any warnings, and nothing prevented you specifying an IPv4 mask with an IPv6 address. This change addresses these issues. As a side-effect we now store netmasks in sockaddr structs (this matches the kernel interface, and is closer to the way it used to be). Add a flag OP_HAVEMASK to keep track of whether or not we have successfully got a mask from any source. Replace some mask-related helper functions with versions that use the sockaddr-based masks. Also tidy up get_net() and fix the code that interprets IPv4 partial networks such as "127.1" as network rather than host addresses. Properly zero out some structures that were ending up partially containing junk from the stack, fix a few formatting issues, and add a comment noting some assumptions about export arguments.
* Proper upper limit for mousechar start is UCHAR_MAX - 3, not UCHAR_MAXache2001-04-211-2/+2
| | | | | PR: 24437 Submitted by: Cejka Rudolf <cejkar@dcse.fee.vutbr.cz>
* Fix a long-standing bug relating to the handling of SIGHUP: mountdiedowse2001-04-211-4/+30
| | | | | | | | | | would call malloc, stdio and other library functions from the signal handler which is not safe due to reentrancy problems. Instead, add a simple handler that just sets a flag, and call the more complex function from main() when necessary. Unfortunately to be able to check this flag, we must expand the svc_run() call, but the RPC library makes that relatively easy to do.
* Turn on devinfo(8)msmith2001-04-211-0/+1
|
* Simple tool to print the device tree and resource usage by devices. Alsomsmith2001-04-212-0/+222
| | | | serves as an example of libdevinfo usage.
* Style changes. Not purfect, but closer to other Makefiles in the tree.obrien2001-04-202-31/+35
| | | | Approved by: fenner
* Add Greece to the FTP mirror list.jkh2001-04-202-0/+8
| | | | | Submitted by: Konstantinos Konstantinidis <kkonstan@duth.gr> PR: 26073
* Fix a problem with tests of the form "1.0" vs. "1.0a".bmah2001-04-192-3/+15
| | | | | | MFC candidate. Pointed out by: knu
* Remove section from bugs that says we don't support client locks.alfred2001-04-191-11/+0
| | | | Pointed out by: Martin Blapp <mb@imp.ch>
* remove debug code left in by accidentalfred2001-04-181-7/+0
|
* ``An undocumented feature is a bug.''joerg2001-04-182-8/+8
| | | | | | Turn on my asbesto suit, and document the DD and Wizard mode menu keys. It's a nuisance to always have to look them up in the source code when needed.
* mdoc(7) police: normalize .Nd.ru2001-04-186-8/+6
|
* List the explanations of the command line arguments in the same orderdd2001-04-181-27/+27
| | | | as they're listed in the synopsis (alphabetical).
* A few more mountd cleanups:iedowse2001-04-181-37/+17
| | | | | | | | | | | | - Remove some horrible code that faked a "struct addrinfo" to be later passed to freeaddrinfo(). Instead, add a new group type "GT_DEFAULT" used to denote that the filesystem is exported to the world, and treat this case separately. - Don't clear the AI_CANONNAME flag in a struct addrinfo returned by getaddrinfo. There's still a bit more struct addrinfo abuse left in here. - Simplify do_mount() slightly by using an addrinfo pointer to keep track of the current address.
* Various bugfixes and cleanups, mainly from Martin Blapp:iedowse2001-04-171-68/+47
| | | | | | | | | | | | | | | | | - Revert del_mlist() to its pre-tirpc prototype. Unlike NetBSD's version, ours lets the caller generate any syslog() messages, so that it can include the service name in the message. - Initialise a few local variables to clarify the logic and avoid some compiler warnings. - Remove a few unused functions and local variables, and fix some whitespace issues. - Reinstate the logic for avoiding duplicate host entries that got removed accidentally in revision 1.41 (added in r1.5). This bit was submitted in a slightly different form by Thomas Quinot. Submitted by: Martin Blapp <mb@imp.ch>, Thomas Quinot <quinot@inf.enst.fr> PR: bin/26148
* Implement client side NFS locks.alfred2001-04-176-9/+672
| | | | | Obtained from: BSD/os Import Ok'd by: mckusick, jkh, motd on builder.freebsd.org
* By popular demand, have adduser preserve comments at the top of thedougb2001-04-171-2/+10
| | | | | | group file. Because of the way the group sorting works while printing out the new file it's not possible at this time to restore comments in other locations, but at least they won't just disappear altogether.
* '%' is not a valid format string :-)kris2001-04-172-2/+2
|
* Remove spurious extra format string argument.kris2001-04-171-1/+1
|
* mdoc(7) police: Prepare for mdocNG.ru2001-04-161-2/+3
| | | | The .Cd macro does not cause a line break until in the SYNOPSIS section.
* Add a more useful solution to the problem of password files with more thandougb2001-04-151-3/+14
| | | | | | | | | | one user who differs only by case. The other perl tools assume (or enforce) the all lowercase requirement, therefore making the search through master.passwd case insensitive seemed a reasonable optimization, IMO. I understand, although I do not sympathize with, the argument that someone might want to do this on purpose, and might subsequently want to use the wrong tool for the job. So, this fix should hopefully satisfy both camps.
* Rev 1.11 introduced a bug where the processing became case insensative forobrien2001-04-151-1/+1
| | | | | | | username to rm. PR: 25961 Submitted by: Linh Pham <lplist@closedsrc.org>
* Grammar police: "its", not "it's", is the possessive form of "it".dd2001-04-151-2/+2
|
* mdoc(7) police: misc. markup fixes in the DIAGNOSTICS section.dd2001-04-131-12/+15
| | | | Submitted by: ru
* mdoc(7) police: properly use a -diag list in the DIAGNOSTICS section.dd2001-04-133-7/+7
| | | | Reviewed by: ru
* mdoc(7) police: Fixed markup.ru2001-04-131-5/+13
|
* mdoc(7) police: Fixed markup in rev.1.5.ru2001-04-131-1/+2
|
* Remove the 'DO NOT EDIT THIS FILE' crud that we spit out with 'crontab -l'.peter2001-04-131-1/+19
| | | | | Otherwise, "crontab -l > file; vi file; crontab file" adds an extra set of "DO NOT EDIT" markers each and every time which is a bit silly.
* Source rc.conf so that named.restart can restart named with the correctmurray2001-04-112-2/+8
| | | | | | | flags. PR: misc/25049 Submitted by: Richard Roderick <richard@gohome.net>
* kldload ng_pppoe as necessarybrian2001-04-101-0/+5
|
* Allow user to omit font size specification when loading a font. In additionsobomax2001-04-094-43/+131
| | | | | | | | | | | | | | | the following fixes had been made: - check the size of the font being loaded and compare it with possible sizes to minimise possibility of loading something that is not a fontfile at all and turning console screen into garbage; - prevent buffer overflow (and coredump as a result ) when loading valid uuencoded file with size that exceeds allocated buffer; - correct and improve several error messages. Approved by: -audit, -hackers (silently)
* Clarify that we're talking about KBytes per second vs kBits per second.jkh2001-04-091-1/+1
| | | | Reminded by: bde
* Change the behaviour of mixer slightly such that not explicitly specifyinggreid2001-04-092-5/+10
| | | | | | | | a mixer device will set/get the master volume levels PR: 25156 Submitted by: Tony Finch <dot@dotat.at> Reviewed by: cg, nik
* Don't complain about deprecated environment variables, like MUSIC_CD,joe2001-04-081-8/+9
| | | | | | | | | | being present in the environment if the user has CDROM defined, or has specified a device on the command line. This avoids users of ports like 'workman' that use these variables getting gratuitous warnings from cdcontrol. Suggested by: John Sellens <jsellens@generalconcepts.com>
* According with RFC 2330 ("Framework for IP Performance Metrics", fromjkh2001-04-082-2/+2
| | | | | | | Paxson et al, Status: Informational, May 1998), we should use "bits per second" and "k" as 1000 not 1024 for throughput measures. Submitted by: Eduardo Souza Machado da Silva <esms@acm.org>
* beforeinstall -> SCRIPTS.ru2001-04-0714-87/+27
|
* Make sure the euid is restored in an obscure error situation.gad2001-04-061-3/+4
| | | | Submitted by: J Wunsch <j@ida.interface-business.de> in freebsd-audit
* It's possible to kldload netgraph (as well as the other ng_* bits),brian2001-04-051-2/+2
| | | | so do it if required.
* Bump the default / size up another 10MB to 120MB.obrien2001-04-052-2/+2
| | | | Requested by: jhb
* Remove -Wall. It breaks compiling with non-gcc compilers.obrien2001-04-051-1/+1
|
* Default the UTC question to "yes" on the Alpha.obrien2001-04-051-3/+10
|
* This builds fine with -Wall.obrien2001-04-051-1/+1
|
* When we change the interface MTU, run through the routing table and tweakbrian2001-04-057-143/+272
| | | | all route MTUs too.
* Add the VLAN interface type to the list of ARP-capable interface types.yar2001-04-041-2/+5
|
* mdoc(7) police: removed hard sentence break.ru2001-04-041-2/+3
|
* mdoc(7) police: removed hard sentence breaks.ru2001-04-041-5/+10
|
* mdoc(7) police: you don't need to use enclose macros for blocks of text.ru2001-04-041-1/+1
|
OpenPOWER on IntegriCloud