Bernhard Schmidt
85b9231041
Add a comment explaining the undefs, while here remove one which is not
...
required.
2010-12-18 20:23:28 +00:00
Bernhard Schmidt
78092e9221
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
Bernhard Schmidt
5db98cc304
Import bsd_configure_wpa() to sync with upstream code.
2010-12-18 20:17:10 +00:00
Bernhard Schmidt
916753954d
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
Bernhard Schmidt
eb79579b7f
Remove some unused variables and unnecessary casts.
2010-12-18 20:13:42 +00:00
Bernhard Schmidt
c40a627cbf
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
Bernhard Schmidt
14ad6b5c09
Rename iface to ifname to match the upstream code.
2010-12-18 20:08:21 +00:00
Bernhard Schmidt
fa9823dc59
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
Bernhard Schmidt
1bff693455
Move some functions around to match the upstream order.
2010-12-18 20:00:28 +00:00
Bernhard Schmidt
aae0884ea6
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
Bernhard Schmidt
fbd8297efc
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
Bernhard Schmidt
0a8a5ceb3b
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
Shteryana Shopova
1c706be073
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
Jung-uk Kim
5a77b11bd3
Merge ACPICA 20101209.
2010-12-15 23:48:45 +00:00
Rebecca Cran
7ef1629be1
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
Shteryana Shopova
695239e2c7
Remove unnecessary debug/error CFLAGS.
...
Reported by : pawel.worach (at) gmail (dot) com
2010-12-11 13:24:01 +00:00
Joel Dahl
914e11a72b
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
Shteryana Shopova
836993f5cf
Unbreak "make installworld" w/ DESTDIR specified
...
PR : kern/152939
2010-12-09 12:25:45 +00:00
Rebecca Cran
7720b5abea
Build sade on amd64 as well as i386 and sparc64.
2010-12-09 11:37:40 +00:00
Kevin Lo
f55df2a221
Closing fd when it's done
...
Reviewed by: sbruno
2010-12-09 08:36:23 +00:00
Shteryana Shopova
a739872374
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
Shteryana Shopova
135f7de5dd
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
Kevin Lo
c10bc05389
Close fd in initattr() and showattr().
...
Reviewed by: rwatson
2010-12-08 10:27:07 +00:00
Kevin Lo
4a1988af0e
Closing file descriptors when it's done
...
Reviewed by: np
2010-12-08 01:35:19 +00:00
Poul-Henning Kamp
5d964b5cc9
Use a "push" strategy to get data through libz, rather than a "pull" strategy.
2010-12-07 16:30:52 +00:00
Rebecca Cran
21866e59c2
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
Rebecca Cran
20016815e5
Revert r209469: it causes the rest of the function to be bypassed.
...
Reported by: ae
2010-12-06 11:37:24 +00:00
Kevin Lo
7df9d5acad
Fix double ;;
2010-12-06 10:24:06 +00:00
Gleb Smirnoff
441238cfdc
Catch up with kernel using time_uptime to drive ARP timeouts.
...
Noticed by: jilles
2010-12-06 09:37:56 +00:00
Ulrich Spörlein
a98447723d
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
Ulrich Spörlein
f42640a362
traceroute6(8): make WARNS=3 clean
2010-12-04 14:19:35 +00:00
Ulrich Spörlein
f02cd756de
traceroute(8): make WARNS=3 clean
...
Also fixes an operator precedence bug for TCP tracerouting
2010-12-04 14:19:27 +00:00
Ulrich Spörlein
cded07a878
Move most of the remaining USD/PSD/SMM papers into share/doc
2010-12-04 10:11:20 +00:00
Weongyo Jeong
723b2f5af2
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
Gleb Smirnoff
84d8f5b8d0
Do not hardcode (20*60), but use current ARP timeout value configured
...
in kernel.
2010-11-30 16:14:19 +00:00
Colin Percival
9decd44681
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
Gleb Smirnoff
5d067f6cbf
That should belong to r216075. Pointy hat on me.
2010-11-30 16:00:59 +00:00
Gleb Smirnoff
a98c06f1c8
Use time_uptime instead of non-monotonic time_second to drive ARP
...
timeouts.
Suggested by: bde
2010-11-30 15:57:00 +00:00
Rebecca Cran
378b528ba0
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
Rebecca Cran
b7597cbfd5
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
Kevin Lo
b77a4a441b
Fix fd leak in get_font
2010-11-29 09:21:26 +00:00
Ulrich Spörlein
d8e58d07b3
Remove unused traceroute(8) contrib code from head
...
It still lives on under vendor/traceroute.
2010-11-27 09:26:46 +00:00
Weongyo Jeong
6d926c73ae
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
Yaroslav Tykhiy
43b98c2b52
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
Ulrich Spörlein
54e1a99c14
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
John Baldwin
7a3923c00e
Similar to mfiutil, drop local definition of powerof2() and use version
...
from <sys/param.h> instead.
2010-11-22 14:36:04 +00:00
Rebecca Cran
e267ef95d5
Don't generate input() since it's not used.
2010-11-22 14:16:22 +00:00
Weongyo Jeong
e64ac239f6
Adds usbdump(8) tool that currently it only supports the very basic
...
feature set. It's not connected to the build yet.
Reviewed by: hps
2010-11-22 01:28:29 +00:00
Rebecca Cran
f22de230a1
dispatch_add_command:
...
Modify the logic so there's only one exit point instead of two.
Only insert valid (non-NULL) values into the queue.
dispatch_free_command:
Ensure that item is not NULL before removing it from the queue and
dereferencing the pointer.
NULL out free'd pointers to catch any use-after-free bugs.
PR: bin/146855
Submitted by: gcooper
MFC after: 3 days
2010-11-21 14:34:25 +00:00
Simon L. B. Nielsen
c86bcbb3a7
Fix a typo in a comment.
...
MFC after: 3 days
2010-11-21 11:50:16 +00:00