summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Fix common misspelling of hierarchyuqs2010-02-201-2/+2
| | | | | Pointed out by: bf1783 at gmail Approved by: np (cxgb), kientzle (tar, etc.), philip (mentor)
* Fix mptutil's method for locating disk devices attached to a specificjhb2010-02-191-113/+109
| | | | | | | | | | | | | mpt(4) controller. Previously, the code assumed that multiple match patterns provided to an XPT_DEV_MATCH request were ANDed together. Instead, they are ORed. Instead, to match peripherals for a specific bus, one query needs to be performed to lookup the path ID of the bus. A second query can then be performed matching peripherals attached to that path. This approach also makes the code a bit cleaner as the returned match results do not mix bus and perphierals. Reported by: several folks MFC after: 1 week
* - Don't emit a warning in 'show adapter' if the IOC2 or IOC6 pages are notjhb2010-02-191-5/+11
| | | | | | | | present. mpt(4) controllers that do not support RAID do not have an IOC6 page, for example. - Correct a check for a missing page error in a debug function. MFC after: 1 week
* Fix a typo.jhb2010-02-191-1/+1
| | | | Submitted by: Jakub Lach jakub_lach of mailplus pl
* Revert bogus change that snuck into r203972.imp2010-02-171-2/+0
|
* The NetBSD Foundation has given permission to remove clause 3 and 4imp2010-02-169-63/+2
| | | | | | from their liceense. Obtained from: NetBSD
* Add missing newline in last line of file.uqs2010-02-162-2/+2
| | | | | Uncovered via: fromcvs vs. svn Approved by: ed (co-mentor)
* Show when an ARP entry expires.ru2010-02-151-1/+11
| | | | MFC after: 1 week
* - Reorganize code in 'plugin' to share log processing.fabient2010-02-1115-1220/+3670
| | | | | | | | - Kcachegrind (calltree) support with assembly/source code mapping and call count estimator (-F). - Top mode for calltree and callgraph plugin (-T). MFC after: 1 month
* When you have multiple addresses on the same network on differentimp2010-02-093-12/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | interfaces (such as when you are part of a carp pool), and you run rpcbind -h to restrict which interfaces have rpc services, rpcbind can none-the-less return addresses that aren't in the -h list. This patch enforces the rule that when you specify -h on the command line, then services returned from rpcbind must be to one of the addresses listed in -h, or be a loopback address (since localhost is implicit when running -h). The root cause of this is the assumption in addrmerge that there can be only one interface that matches a given network IP address. This turns out not to be the case. To retain historical behavior, I didn't try to fix the routine to prefer the address that the request came into, since I didn't know the side effects that might cause in the normal case. My quick analysis suggests that it wouldn't be a problem, but since this code is tricky I opted for the more conservative patch of only restricting the reply when -h is in effect. Hence, this change will have no effect when you are running rpcbind without -h. Reviewed by: alfred@ Sponsored by: iX Systems MFC after: 2 weeks
* Anything that casts struct sockaddr * to struct sockaddr_foo is safeimp2010-02-091-0/+2
| | | | | | | | | | | | | due to careful design. We've not yet figured out how to properly annotate the sockaddr structs to communicate this to the compiler and there's a number of constructs in the tree that make this annotation challenging. As such, reduce warns to 3 here because this code really isn't warns 6 safe, even if it kinda sorta appears to be on intel (which has no such alignment restrictions). Warns 4 adds the -Wcast-align warning. # fixes the mips tinderbox build
* Xorg isn't treated as a distribution, so /usr/X11R6/lib shouldn't be ↵brucec2010-02-081-1/+1
| | | | | | | | configured when running ldconfig. PR: bin/138945 Approved by: rrs (mentor) MFC after: 3 days
* If there is only one NIC in the system that is up and running, thembr2010-02-082-45/+86
| | | | | | | | | interface specifier on the command line can be ommited. Besides of this, the bpf is being reused for each machine that has to be woken up. Submitted by: Marc Balmer <marc@msys.ch>
* Initialize fromlen before calling recvfrom to avoid passing in randomimp2010-02-071-0/+1
| | | | | | stack garbage. Obtained from: NetBSD 1.13
* Since APM is a legacy technology, that won't be adapted to otherimp2010-02-042-4/+4
| | | | | platforms, move the test for i386 from the Makefile to powerd.c. The powerpc specific checks are already done this way...
* Exclude the interfaces which IPv6 and/or accepting RA is disabledume2010-02-021-1/+31
| | | | | | from the auto probed interface list. MFC after: 1 week
* Make -a option actually work.ume2010-02-021-1/+0
| | | | MFC after: 1 week
* Correct copy-paste typo from previous option description.jmallett2010-01-271-1/+1
|
* Don't pop up the menu to select a documentation language for non-interactivejhb2010-01-261-0/+4
| | | | | | installs. Default to not installing any documentation in that case. MFC after: 1 week
* Connect smbfs related libraries and tool on sparc64.yongari2010-01-251-0/+1
| | | | Reviewed by: marius
* Remove unneeded setpassent() calls.ed2010-01-241-4/+0
| | | | lastlogin no longer requires the use of the passwd database.
* Shrink encoded line length from 76 to 72 characters.mckay2010-01-241-1/+1
| | | | | | | Some Exchange systems wrap lines over 75 characters long while converting messages to quoted-printable, preventing ctm_rmail from reassembling emailed deltas. For a negligible loss of encoding efficiency, this change allows ctm deltas to once more pass through Exchange undamaged.
* - Add support for UPDATING remote fetching.flz2010-01-223-35/+53
| | | | | | | | | - Reorganize EXAMPLES section in pkg_updating(1). - Style fixes. - Bump PKG_INSTALL_VERSION to 20100122. Submitted by: beat MFC after: 1 week
* Make -U once again honor -D after my change to consolidate settingdougb2010-01-221-5/+5
| | | | | | | of MTREEDB with DESTDIR. PR: bin/143089 Submitted by: Anton Yuzhaninov <citrin@citrin.ru>
* Merge ACPICA 20100121.jkim2010-01-211-7/+7
|
* Remove stale references to utmp(5) and its corresponding filenames.ed2010-01-213-15/+14
| | | | I removed utmp and its manpage, but not other manpages referring to it.
* Fix a bug when printing attributes from multiple files: buflen could benwhitehorn2010-01-211-1/+1
| | | | | | longer than the length of the current attribute if the buffer were reused and previously longer, so bits of the previous, longer attribute would be written. Fix this by using the actual attribute length.
* Give the right value when complaining it being wrong.delphij2010-01-201-1/+1
| | | | | Reported by: danfe MFC after: 3 days
* Simply ignore unsupported protocols listed in /etc/netconfig andhrs2010-01-201-4/+10
| | | | | abort only if no transport is available. This fixes (INET && !INET6) and (!INET && INET6) case, for example.
* Try a privileged port for binding whenever possible because thehrs2010-01-201-7/+12
| | | | | | | ypbind daemon requires the ypserv daemon is running on a privileged port. Reported by: Andrzej Tobola
* Add a new option, -P, which reverts newsyslog(8) to the old behavior,delphij2010-01-202-5/+13
| | | | | | | | | which stops to proceed further, as it is possible that processes which fails to create PID file get screwed by rotation. Requested by: stas MFC after: 2 weeks X-MFC with: r200806
* Add ip4.saddrsel/ip4.nosaddrsel (and equivalent for ip6) to controlbz2010-01-171-4/+12
| | | | | | | | | | | | | | | | | | | | whether to use source address selection (default) or the primary jail address for unbound outgoing connections. This is intended to be used by people upgrading from single-IP jails to multi-IP jails but not having to change firewall rules, application ACLs, ... but to force their connections (unless otherwise changed) to the primry jail IP they had been used for years, as well as for people prefering to implement similar policies. Note that for IPv6, if configured incorrectly, this might lead to scope violations, which single-IPv6 jails could as well, as by the design of jails. [1] Reviewed by: jamie, hrs (ipv6 part) Pointed out by: hrs [1] MFC After: 2 weeks Asked for by: Jase Thew (bazerka beardz.net)
* Unbreak world WITHOUT_NETGRAPH.antoine2010-01-161-0/+3
| | | | | | | PR: 137487 Submitted by: bf (previous version) No objections: net@ MFC after: 2 weeks
* Use the newly brought %U macro.ru2010-01-153-3/+3
|
* Oops, deleted one line too many. Add back the null case for IGNORE_MOTDdougb2010-01-151-0/+1
|
* Now that we've officially arrived at FreeBSD 9, remove the IGNORE_MOTDdougb2010-01-151-5/+2
| | | | compat shim as advertised. This change should not be MFC'ed.
* Fix a few whitespace issues and comment typos that I found while readingjoel2010-01-141-11/+9
| | | | through this file.
* Port all applications in usr.sbin/ from libulog to utmpx.ed2010-01-136-13/+7
|
* Port lastlogin(8) to utmpx.ed2010-01-132-17/+14
| | | | | | While there, fix a bug I introduced previously. We must reopen the database for each username passed on the command line. We must rewind the database and search from the beginning.
* Port timed away from logwtmp(3). Let it use utmpx.ed2010-01-132-9/+17
|
* Port ac(8) to utmpx.ed2010-01-131-102/+69
| | | | | | | Similar to last(1), it must compare ut_id's instead of TTYs to determine whether a session has been terminated. It must also use ut_type to determine the type of the login record instead figuring it out by itself.
* Port ppp(8) to utmpx.ed2010-01-134-55/+32
| | | | | | | | A nice thing about utmpx is that it makes it very easy to log sessions that don't use TTYs. This is because the file is not indexed by TTY slots anymore. Silence from: brian
* Add a driver by Fredrik Lindberg for Option HSDPA USB devices. These differthompsa2010-01-134-0/+1648
| | | | | | | | from standard 3G wireless units by supplying a raw IP/IPv6 endpoint rather than using PPP over serial. uhsoctl(1) is used to initiate and close the WAN connection. Obtained from: Fredrik Lindberg <fli@shapeshifter.se>
* Print error messages to stderr.thompsa2010-01-101-5/+5
| | | | Submitted by: Hans Petter Selasky
* Add missing library dependency.antoine2010-01-091-0/+1
| | | | MFC after: 1 month
* Correct spelling.bz2010-01-091-1/+1
| | | | | | Submitted by: (pluknet gmail.com) MFC after: 4 days X-MFC with: r201806
* Various language fixes. Also fixed the URL to totd, obtained from NetBSD.brueffer2010-01-091-45/+42
| | | | | | PR: 38061 Submitted by: Chris Pepper <pepper@rockefeller.edu> MFC after: 1 week
* Switch traceroute over to make use of proper in-kernel sourcebz2010-01-082-2/+96
| | | | | | | | | | address selection. Reviewed by: rwatson, fenner MFC after: 1 week X-MFCable to: stable/8, stable/7 (after r183571). PR: kern/139454 Tested by: Frank Steinborn (steinex nognu.de)
* Update copyright datedougb2010-01-082-24/+30
| | | | | | | | | | | Update delete_temproot() to include the error message if it fails, and clean up the places where it's called. If there are no files left in temproot when the comparison is done delete it without prompting. This should make "automated" runs of mergemaster without -a a little easier. Document the new behavior in the man page.
* This now passes a make universe with WARNS=6.dwmalone2010-01-071-2/+0
|
OpenPOWER on IntegriCloud