summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Do not overflow the term in the case of multi-line display.fabient2010-03-261-4/+7
| | | | MFC after: 3days
* o Trim leading w/space.maxim2010-03-261-1/+1
| | | | | | PR: docs/145030 Submitted by: olgeni MFC after: 1 week
* Now actually implement reading/refreshing/returning data from the ↵syrinx2010-03-244-40/+334
| | | | | | | | | | | | pfTablesAddrTable and modify the BEGEMOT-PF-MIB to add support for IPV6 address' statistics in the PF tables via pfTablesAddrNetType and pfTablesAddrNet. While here, upgrade the pf_tree.def file to the new format that includes enumerated values. Also make sure to return SNMP_ERR_NOSUCHNAME for ALTQ objects, if ALTQ is disabled, so that the agent will know to skip the pfAltq subtree when servicing GETNEXT requests from SNMP clients (otherwise snmpwalk on begemotPf would stop at the pfAltq subtree with bsnmpd returning SNMP_ERR_GENERR).
* wollman@ has OK'd dropping his maintainership of zic(8)gavin2010-03-201-1/+0
| | | | | Submitted by: linimon Approved by: wollman (via linimon)
* Chop off excessive long hostnames to keep the table structure intact.ed2010-03-201-1/+1
| | | | This makes lastlogin(8) use exactly the same printf format as last(1).
* Make sure the snmp_pf module will first refresh its entires if necessary,syrinx2010-03-191-12/+12
| | | | | | | | | | | then find a specific entry, and get the requested value. So far, it found the specific entry, refreshed the entry list if necessary, and got the requested value from the found entry. The problem is that refreshing nukes all old entries and replaces them with new ones and the obtained entry pointer was no longer valid after the refresh. Reviewed by: bz, philip MFC after: 1 week
* Properly progress through the list of IPv6 addresses using in6_addr size.ed2010-03-181-1/+1
| | | | | | | | | | | | | | | | | Right now if a jail has multiple IPv6 addresses, it will print them shifting only 4 bytes at a time. Example: 2001:4dd0:ff41::b23f:a9 2001:4dd0:ff41::b23f:aa Becomes: 2001:4dd0:ff41::b23f:a9 ff41::b23f:a9:2001:4dd0 By casting to in6_addr, it uses the correct offsets. MFC after: 1 week
* Add support for retrieving labeled pf filter rule counters.syrinx2010-03-183-4/+382
| | | | | PR: bin/132847 Submitted by: Szalai Andras <szalai (dot) bandi (at) gmail.com>
* Need to set the proper flag bit when inserting ARPqingli2010-03-181-1/+1
| | | | | | entries into the kernel. MFC after: 3 days
* then -> thanjoerg2010-03-151-1/+1
| | | | MFC after: 1 day
* Make it more clear in the docs that -a is not compatible with -iFU,dougb2010-03-142-7/+22
| | | | | | | | and enforce this in the code. Apparently a lot of users mistakenly combine -a with these flags and are then mystified that no changes were made. While I'm here, fix a trailing space in mergemaster.8
* Fix several typos in macros or macro misusage.uqs2010-03-124-14/+4
| | | | | | Found by: make manlint Reviewed by: ru Approved by: philip (mentor)
* Change the way shutdown is handled for log file.fabient2010-03-081-3/+1
| | | | | | | | | | | | pmc_flush_logfile is now non-blocking and just ask the kernel to shutdown the file. From that point, no more data is accepted by the log thread and when the last buffer is flushed the file is closed. This will remove a deadlock between pmcstat asking for flush while it cannot flush the pipe itself. MFC after: 3 days
* Bug fixed:fabient2010-03-053-2/+5
| | | | | | | | - no display on serial terminal in top mode. - display alignment for continuation string. - correct invalid value used for display limit. MFC after: 3 days
* Merge ACPICA 20100304.jkim2010-03-052-8/+8
|
* moused is useful even without usb, so remove comment asking if it is.imp2010-03-041-1/+0
|
* mount_nwfs(8): make WARNS=6 cleanuqs2010-03-042-8/+13
| | | | | | | | uid_t and gid_t are unsigned. While initializing them to -1 and later checking against -1 to see if they are still at their default usually works, introduce two new flags and stop the inband signalling. Approved by: ed (co-mentor)
* Make 'make manlint' happy. No actual visible change.delphij2010-03-031-5/+1
|
* Remove redundant WARNS?=6 overrides and inherit the WARNS setting fromuqs2010-03-022-2/+2
| | | | | | | | the toplevel directory. This does not change any WARNS level and survives a make universe. Approved by: ed (co-mentor)
* Always assign WARNS using ?=uqs2010-03-022-2/+2
| | | | | | | - fix some nearby style bugs - include Makefile.inc where it makes sense and reduces duplication Approved by: ed (co-mentor)
* rtsol(8)/rtsold(8): make WARNS=3 cleanuqs2010-02-277-24/+25
| | | | | | It is actually WARNS=6 clean for non-strict alignment archs. Approved by: ed (co-mentor)
* Fixed static linkage.ru2010-02-263-6/+6
|
* Split the contributed code from libc/stdtime from lib/libc/stdtimeedwin2010-02-262-2/+2
| | | | to contrib/tzcode/stdtime.
* From contrib/tzcode:edwin2010-02-2510-4929/+2
| | | | | | | | The Makefiles are leftovers from the copies and should live in usr.sbin/zic/* From usr.sbin/zic: The sources are from a vendor contributed source, therefore should live in contrib/tzcode/zic.
* Fixed dependencies (make checkdpadd).ru2010-02-252-1/+2
|
* Add bwn(4) driver.weongyo2010-02-251-0/+1
|
* Allow cxgbtool to build with WARNS=6np2010-02-235-160/+211
| | | | MFC after: 1 week
* Add a "-x" option to chown(8)/chgrp(1) similar to the same option ingavin2010-02-213-13/+26
| | | | | | | | | du(1), cp(1) etc, to prevent the crossing of mountpoints whilst using the commands recursively. PR: bin/130855 Submitted by: keramida MFC after: 1 month
* 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.
OpenPOWER on IntegriCloud