bschmidt
2bbf443a5b
Unbreak hostapd. This code has been explicitly removed in upstream versions.
2010-12-18 20:29:41 +00:00
bschmidt
d28d2b63f1
Fix some whitespace nits.
2010-12-18 20:27:09 +00:00
bschmidt
c979129599
Change order in wpa_driver_bsd_ops to match upstream code. Add description
...
while here.
2010-12-18 20:25:25 +00:00
bschmidt
7f5fd9f20e
Add a comment explaining the undefs, while here remove one which is not
...
required.
2010-12-18 20:23:28 +00:00
bschmidt
ae056a2459
Rename bsd_set_iface_flags to bsd_ctrl_iface and change arguments to match
...
upstream. For the same reason rewrite bsd_get_seqnum.
2010-12-18 20:22:15 +00:00
bschmidt
428cbdd872
Import bsd_configure_wpa() to sync with upstream code.
2010-12-18 20:17:10 +00:00
bschmidt
d18aa716c5
Prefer os_memset, os_strlcpy and os_free. While here adjust the return
...
value checks for 2 ioctl calls and rewrite error handling in bsd_init
to better integrate with upstream code.
2010-12-18 20:15:47 +00:00
bschmidt
aeb5d16357
Remove some unused variables and unnecessary casts.
2010-12-18 20:13:42 +00:00
bschmidt
b081c6596f
Remove debug messages which are no longer present in upstream code. While
...
here remove some explicit line breaks.
2010-12-18 20:11:09 +00:00
bschmidt
2f541c23c7
Rename iface to ifname to match the upstream code.
2010-12-18 20:08:21 +00:00
bschmidt
13a09021da
Rename ioctl_sock to just sock to match the upstream code. While here
...
remove the no longer used wext_sock and bsd_driver_ops variables.
2010-12-18 20:04:47 +00:00
bschmidt
8c7d2b2129
Move some functions around to match the upstream order.
2010-12-18 20:00:28 +00:00
bschmidt
de693bb747
Add bsd_send_mlme_param to aggregate IEEE80211_IOC_MLME ioctls:
...
- 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
2010-12-18 19:58:23 +00:00
bschmidt
7828332436
Change bsd_del_key() to match upstream code:
...
- change order of if/else
- move wpa_printf() into the condition
- change unsigned char* to u8*
- prefer os_memset/os_memcpy
2010-12-18 19:56:45 +00:00
bschmidt
bb1eb85dcb
Aggregate SIOCS80211 and SIOCG80211 ioctl request code. While here, bring
...
the wpa_printf()/perror() messages in sync with upstream code.
2010-12-18 19:55:19 +00:00
syrinx
ceef911397
Pass proper -Wl,-export-dynamic to ld. Thus bsnmpd(1) compiled with clang
...
properly exports its symbols to the modules.
Submitted by: dim
2010-12-16 15:18:53 +00:00
jkim
2fc3b5748a
Merge ACPICA 20101209.
2010-12-15 23:48:45 +00:00
brucec
759c9ca8f2
USB probing often takes a long time and finishes finding devices after init
...
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
2010-12-13 13:52:03 +00:00
syrinx
afe3bf1f4b
Remove unnecessary debug/error CFLAGS.
...
Reported by : pawel.worach (at) gmail (dot) com
2010-12-11 13:24:01 +00:00
joel
0b5bdd518a
Remove the advertising clause from UCB copyrighted files in usr.sbin. This
...
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
2010-12-11 09:38:12 +00:00
syrinx
a8871388a3
Unbreak "make installworld" w/ DESTDIR specified
...
PR : kern/152939
2010-12-09 12:25:45 +00:00
brucec
b5ba1d8e73
Build sade on amd64 as well as i386 and sparc64.
2010-12-09 11:37:40 +00:00
kevlo
1ed95baa67
Closing fd when it's done
...
Reviewed by: sbruno
2010-12-09 08:36:23 +00:00
syrinx
9ef714f2e2
Add bsnmpd(1)'s SNMP client tools (including SNMPv3 support) to the base system.
...
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@
2010-12-08 14:30:25 +00:00
syrinx
ed79f703fb
In bsnmpd(1) add support for SNMPv3 message processing model, including message authentication, packet encryption & view-based access control (RFC 3412, 3414, 3415).
...
Sponsored by: The FreeBSD Foundation
Reviewed by: philip@ (mostly)
Approved by: philip@
2010-12-08 13:51:38 +00:00
kevlo
94551f8622
Close fd in initattr() and showattr().
...
Reviewed by: rwatson
2010-12-08 10:27:07 +00:00
kevlo
1512315a5f
Closing file descriptors when it's done
...
Reviewed by: np
2010-12-08 01:35:19 +00:00
phk
bda3b883cd
Use a "push" strategy to get data through libz, rather than a "pull" strategy.
2010-12-07 16:30:52 +00:00
brucec
f84e526334
Ignore any failures with the "local" distribution since it's not present
...
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
2010-12-06 20:55:14 +00:00
brucec
49fb72e297
Revert r209469: it causes the rest of the function to be bypassed.
...
Reported by: ae
2010-12-06 11:37:24 +00:00
kevlo
92646cacc6
Fix double ;;
2010-12-06 10:24:06 +00:00
glebius
4d4fc1fa3d
Catch up with kernel using time_uptime to drive ARP timeouts.
...
Noticed by: jilles
2010-12-06 09:37:56 +00:00
uqs
60171665b4
De-orbit usbdevs(8) which hasn't worked with the new USB stack for a long
...
time now. usbconfig(8) should be an adequate replacement.
2010-12-04 21:54:23 +00:00
uqs
0114bdf52f
traceroute6(8): make WARNS=3 clean
2010-12-04 14:19:35 +00:00
uqs
1651f46830
traceroute(8): make WARNS=3 clean
...
Also fixes an operator precedence bug for TCP tracerouting
2010-12-04 14:19:27 +00:00
uqs
9242c645f8
Move most of the remaining USD/PSD/SMM papers into share/doc
2010-12-04 10:11:20 +00:00
weongyo
f7b9a54cd7
Changes the meaning of each characters '<' and '>' that it could be
...
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
2010-12-03 00:44:07 +00:00
glebius
87d1499259
Do not hardcode (20*60), but use current ARP timeout value configured
...
in kernel.
2010-11-30 16:14:19 +00:00
cperciva
f3bd80afa1
Teach crashinfo(8) to look at the currently running kernel (based on the
...
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
2010-11-30 16:04:40 +00:00
glebius
7314841aaa
That should belong to r216075. Pointy hat on me.
2010-11-30 16:00:59 +00:00
glebius
bdd7d886f9
Use time_uptime instead of non-monotonic time_second to drive ARP
...
timeouts.
Suggested by: bde
2010-11-30 15:57:00 +00:00
brucec
ebd34c6c2d
If no floppy drive is installed kldBrowser() can generate an error early on.
...
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
2010-11-29 11:55:17 +00:00
brucec
5cd95b1421
Update the serial port device names. They changed in 8.0 because the default
...
driver is now uart(4).
PR: bin/140887
Submitted by: Joe Barbish <fbsd1 at a1poweruser.com>
MFC after: 3 days
2010-11-29 11:28:31 +00:00
kevlo
d18de91c15
Fix fd leak in get_font
2010-11-29 09:21:26 +00:00
uqs
2b3ba2d9b6
Remove unused traceroute(8) contrib code from head
...
It still lives on under vendor/traceroute.
2010-11-27 09:26:46 +00:00
weongyo
fe7e8c3873
As a refection of r215802 it should use BPF interfaces because the
...
duplication code of USB pf is removed.
2010-11-24 19:15:26 +00:00
yar
b886db4a4b
Clarify a few details about iostat(8) behavior:
...
- The default repeat count for iostat(8) is 1 unless there
was a -w on the command line.
- A -x display doesn't include TTY or CPU stats by default
but they can be turned on with a -T or -C, respectively.
Submitted by: arundel (initial version)
Reviewed by: arundel
MFC after: 1 week
2010-11-24 00:05:19 +00:00
uqs
391855873e
Remove kernbb(8) from the source tree.
...
It's been broken for several years and with all the binutils/toolchain
changes in flight, it might make more sense to put efforts into dtrace and
hwpmc instead.
Discussed with: phk
PR: bin/83558
2010-11-22 21:39:35 +00:00
jhb
225a98d446
Similar to mfiutil, drop local definition of powerof2() and use version
...
from <sys/param.h> instead.
2010-11-22 14:36:04 +00:00
brucec
3aec76f035
Don't generate input() since it's not used.
2010-11-22 14:16:22 +00:00