summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Remove useless conditional.uqs2010-12-201-3/+2
| | | | | | `vga' cannot be less than 0x3f when reaching the check. Coverity Prevent: CID 5196
* Bring in a SNMP module that allows configuration of SNMPv3 Notification targets.syrinx2010-12-205-18/+24
| | | | | | Sponsored by: The FreeBSD Foundation Reviewed by: philip Approved by: philip
* Add __unused. Ansi prototypes.charnier2010-12-202-6/+10
|
* Add __unused. Ansi prototypes.charnier2010-12-201-111/+48
|
* Add __unused. Ansi prototypes.charnier2010-12-201-4/+6
|
* Add --numeric-owner to tar extract operations in portsnap.simon2010-12-191-5/+5
| | | | | | | | | | | | | This is done to speed up extraction significantly (both for portsnap extract and update) in the case of slow NSS modules (like nss_ldap) as it avoids having to look up uid and gid for root / wheel. The reason this is a bigger problem for portsnap than for many other system operations, is that portsnap executes tar(1) once for each port so the internal uid/gid caching in tar(1) only helps a bit, resulting in many user lookup calls. Discussed with: cperciva
* Fix build on bigendian archs.bschmidt2010-12-191-0/+1
|
* Unbreak hostapd. This code has been explicitly removed in upstream versions.bschmidt2010-12-181-33/+4
|
* Fix some whitespace nits.bschmidt2010-12-181-22/+22
|
* Change order in wpa_driver_bsd_ops to match upstream code. Add descriptionbschmidt2010-12-181-6/+7
| | | | while here.
* Add a comment explaining the undefs, while here remove one which is notbschmidt2010-12-181-1/+4
| | | | required.
* Rename bsd_set_iface_flags to bsd_ctrl_iface and change arguments to matchbschmidt2010-12-181-15/+27
| | | | upstream. For the same reason rewrite bsd_get_seqnum.
* Import bsd_configure_wpa() to sync with upstream code.bschmidt2010-12-181-1/+12
|
* Prefer os_memset, os_strlcpy and os_free. While here adjust the returnbschmidt2010-12-181-13/+13
| | | | | value checks for 2 ioctl calls and rewrite error handling in bsd_init to better integrate with upstream code.
* Remove some unused variables and unnecessary casts.bschmidt2010-12-181-23/+12
|
* Remove debug messages which are no longer present in upstream code. Whilebschmidt2010-12-181-10/+4
| | | | here remove some explicit line breaks.
* Rename iface to ifname to match the upstream code.bschmidt2010-12-181-8/+9
|
* Rename ioctl_sock to just sock to match the upstream code. While herebschmidt2010-12-181-15/+12
| | | | remove the no longer used wext_sock and bsd_driver_ops variables.
* Move some functions around to match the upstream order.bschmidt2010-12-181-208/+206
|
* Add bsd_send_mlme_param to aggregate IEEE80211_IOC_MLME ioctls:bschmidt2010-12-181-40/+25
| | | | | | - merge bsd_set_sta_authorized and bsd_sta_set_flags - change bsd_set_sta_authorized, bsd_sta_deauth and bsd_sta_disassoc to use bsd_send_mlme_param
* Change bsd_del_key() to match upstream code:bschmidt2010-12-181-11/+9
| | | | | | | - change order of if/else - move wpa_printf() into the condition - change unsigned char* to u8* - prefer os_memset/os_memcpy
* Aggregate SIOCS80211 and SIOCG80211 ioctl request code. While here, bringbschmidt2010-12-181-43/+40
| | | | the wpa_printf()/perror() messages in sync with upstream code.
* Pass proper -Wl,-export-dynamic to ld. Thus bsnmpd(1) compiled with clangsyrinx2010-12-161-1/+1
| | | | | | properly exports its symbols to the modules. Submitted by: dim
* Merge ACPICA 20101209.jkim2010-12-151-1/+1
|
* USB probing often takes a long time and finishes finding devices after initbrucec2010-12-131-1/+1
| | | | | | | | has started. In the case of sysinstall, this means that it has already built its list of devices before probing finishes. Add a hint for users who have booted from a USB stick only to find that sysinstall can't find it. MFC after: 3 days
* Remove unnecessary debug/error CFLAGS.syrinx2010-12-111-1/+0
| | | | Reported by : pawel.worach (at) gmail (dot) com
* Remove the advertising clause from UCB copyrighted files in usr.sbin. Thisjoel2010-12-1156-224/+2
| | | | | is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
* Unbreak "make installworld" w/ DESTDIR specifiedsyrinx2010-12-091-2/+2
| | | | PR : kern/152939
* Build sade on amd64 as well as i386 and sparc64.brucec2010-12-091-0/+3
|
* Closing fd when it's donekevlo2010-12-091-0/+1
| | | | Reviewed by: sbruno
* Add bsnmpd(1)'s SNMP client tools (including SNMPv3 support) to the base system.syrinx2010-12-0813-1/+7563
| | | | | | Sponsored by: The FreeBSD Foundation (the SNMPv3 bits), Google Summer of Code 2005 Reviewed by: philip@ (mostly), bz@ (earlier version based on p4 ch124545) Approved by: philip@
* In bsnmpd(1) add support for SNMPv3 message processing model, including ↵syrinx2010-12-085-1/+52
| | | | | | | | message authentication, packet encryption & view-based access control (RFC 3412, 3414, 3415). Sponsored by: The FreeBSD Foundation Reviewed by: philip@ (mostly) Approved by: philip@
* Close fd in initattr() and showattr().kevlo2010-12-081-0/+6
| | | | Reviewed by: rwatson
* Closing file descriptors when it's donekevlo2010-12-081-0/+3
| | | | Reviewed by: np
* Use a "push" strategy to get data through libz, rather than a "pull" strategy.phk2010-12-072-156/+140
|
* Ignore any failures with the "local" distribution since it's not presentbrucec2010-12-062-2/+5
| | | | | | | | | on release CDs and so will normally fail. installCommit() returns a DITEM_ value, not a Boolean. distExtractAll() returns a Boolean, not a DITEM_ value. Reported by: kensmith MFC after: 3 days
* Revert r209469: it causes the rest of the function to be bypassed.brucec2010-12-061-2/+0
| | | | Reported by: ae
* Fix double ;;kevlo2010-12-061-1/+1
|
* Catch up with kernel using time_uptime to drive ARP timeouts.glebius2010-12-061-1/+3
| | | | Noticed by: jilles
* De-orbit usbdevs(8) which hasn't worked with the new USB stack for a longuqs2010-12-043-310/+0
| | | | time now. usbconfig(8) should be an adequate replacement.
* traceroute6(8): make WARNS=3 cleanuqs2010-12-042-15/+14
|
* traceroute(8): make WARNS=3 cleanuqs2010-12-041-1/+1
| | | | Also fixes an operator precedence bug for TCP tracerouting
* Move most of the remaining USD/PSD/SMM papers into share/docuqs2010-12-0433-4773/+1
|
* Changes the meaning of each characters '<' and '>' that it could beweongyo2010-12-031-1/+1
| | | | | | | | confused with USB OUT or USB IN packets though it just represents USB submit or done. To know the USB packet direction, the endpoint address should be referred. Requested by: jkim
* Do not hardcode (20*60), but use current ARP timeout value configuredglebius2010-11-301-1/+7
| | | | in kernel.
* Teach crashinfo(8) to look at the currently running kernel (based on thecperciva2010-11-301-1/+1
| | | | | | | | | kern.bootfile sysctl). Prior to this commit, crashinfo(8) only looks at /boot/*/kernel; this includes the usual places where kernels reside, so for most systems this will have no effect. Approved by: jhb MFC after: 3 days
* That should belong to r216075. Pointy hat on me.glebius2010-11-301-3/+3
|
* Use time_uptime instead of non-monotonic time_second to drive ARPglebius2010-11-301-4/+4
| | | | | | timeouts. Suggested by: bde
* If no floppy drive is installed kldBrowser() can generate an error early on.brucec2010-11-291-2/+2
| | | | | | | | | Initialize menu and count so the cleanup code doesn't try and use their uninitialized values. PR: bin/152270 Submitted by: Remi LAURENT <cloud at madpowah.org> MFC after: 3 days
* Update the serial port device names. They changed in 8.0 because the defaultbrucec2010-11-292-13/+13
| | | | | | | | driver is now uart(4). PR: bin/140887 Submitted by: Joe Barbish <fbsd1 at a1poweruser.com> MFC after: 3 days
OpenPOWER on IntegriCloud