119602 Commits

Author SHA1 Message Date
emax
b30dd286ba MFC:
Add new SIOC_HCI_RAW_NODE_LIST_NAMES ioctl. User-space applications can
use this ioctl to obtain the list of HCI nodes. User-space application
is expected to preallocate 'ng_btsocket_hci_raw_node_list_names' structure
and set limit in 'num_nodes' field. The 'nodes' field should be allocated
as well and it should have space for at least 'num_nodes' elements.

The SIOC_HCI_RAW_NODE_LIST_NAMES should be issued on bound raw HCI socket.
It does not really really matter what HCI name the socket is bound to, as
long as it is not empty.
2006-05-24 00:51:22 +00:00
wollman
21c2bade17 New codes for Crown Dependencies. 2006-05-23 23:22:00 +00:00
davidxu
b52bed3a5a MFC following revisions:
libpthread_db.c		1.11-1.14
	libpthread_db.h		1.4
	libthr_db.c		1.12
2006-05-23 11:37:20 +00:00
davidxu
b498504cfb MFC following revisions:
pthread.map		1.18
	thread/thr_symbols.c	1.4
2006-05-23 11:33:57 +00:00
jkim
fa42b82744 MFC: src/lib/libstand/printf.c 1.9
src/sys/kern/subr_prf.c		1.123

Implement printf 'X' conversion for both libstand and kernel.
2006-05-22 23:51:14 +00:00
jkim
306d3fed46 MFC: 1.38, 1.40
Work around CardBus issue for Compaq R3000 series laptop.
2006-05-22 23:38:08 +00:00
jkim
f86c8264df MFC: SMBIOS support for loader. 2006-05-22 23:31:30 +00:00
mjacob
f278b55e24 MFC current state of isp. Lots of cosmetic changes, but also various bugfixes. 2006-05-22 21:31:54 +00:00
nyan
cce8b73200 MFi386: revision 1.616.2.4 2006-05-21 11:22:10 +00:00
nyan
dcac4c6af5 MFC: rev 1.10: include pc98/pc98/pc98_machdep.h instead of pc98/cbus/cbus.h. 2006-05-21 11:20:27 +00:00
nyan
b96c78783d MFC: Remove unneeded include. 2006-05-21 11:18:42 +00:00
nyan
3032b4b66b MFC: cbus.h: 1.22, pc98_machdep.h: 1.14
- Move defines for PC-98 machine type from pc98/cbus/cbus.h into
    pc98/pc98/pc98_machdep.h.
  - Fix PC98_SYSTEM_PARAMETER_SIZE.
  - Remove unused defines.
2006-05-21 11:17:33 +00:00
maxim
f9edac6fd5 MFC rev. 1.167: inherit LOCAL_CREDS option from listen socket
for sockets returned by accept(2).
2006-05-21 09:12:24 +00:00
maxim
04d810fd53 MFC rev. 1.32 fsdb.c, rev. 1.11 fsdb.h, rev. 1.19 fsdbutil.c: do
recrack(arguments) for commands which actually take NAME as arguments;
be consistent and print argc - 1 as a command arguments number in
all cases.
2006-05-21 09:04:31 +00:00
krion
e65254c4e8 MFC: extern.h: 1.23, find.c: 1.18, find.h: 1.19, function.c: 1.56
date: 2006/05/14 20:23:00;  author: krion;  state: Exp;  lines: +1 -4
  The last execution of -exec {} + is not done if the -exec primary is
  not on the top-level -and sequence, e.g. inside of ! or -or.

  Create a separate linked list of all active -exec {} + primaries and
  do the last execution for all at termination.

  PR:             bin/79263
  Submitted by:   Jilles Tjoelker <jilles@stack.nl>
2006-05-21 07:34:58 +00:00
csjp
6614c36403 MFC typo fix 2006-05-20 16:03:12 +00:00
csjp
1b728c44bc MFC revision 1.288
date: 2006/04/10 14:07:28;  author: csjp;  state: Exp;  lines: +0 -2
Kill the last Giant acquisition in the exit(2) code. This Giant acquisition
doesn't appear to be protecting anything. Most of consumers funsetownlst(9)
do not appear to be picking up Giant anywhere. This was originally a part
of my Giant exit(2) clean up revision 1.272 but I thought it was a good idea
to leave it out until we were able to analyze it better.
2006-05-20 02:54:34 +00:00
emax
6eafc67c7f MFC v1.59 and v1.60
Add kqueue(2) support on if_tap(4) interfaces. While I'm here, replace
K&R style function declarations with ANSI style. Also fix endian bugs
accessing ioctl arguments that are passed by value.

Do not call knlist_destroy() in tapclose(). Instead call it when device is
actually destroyed. Also move call to knlist_init() into tapcreate(). This
should fix panic described in kern/95357.

PR:		kern/93897, kern/95357
Submitted by:	Vilmos Nebehaj < vili at huwico dot hu >
2006-05-20 00:44:00 +00:00
mux
84c033e73b Fix the build with NO_LIBPTHREAD or NO_LIBTHR depending on the
arch, by merging revision 1.292 from ru@ who was nice enough to
fix this problem in HEAD, but I wasn't paying attention :-).

Pointy hat to:	mux
Spotted by:	bmah
2006-05-19 21:09:20 +00:00
ps
729a496ae4 MFC: rev 1.126
Fix the interrupt handler to do the mandatory PCI flush before looking at
DMA memory.  The could contribute towards missed link state changes under
heavy bus load.
2006-05-19 19:15:05 +00:00
emax
eba7e09abb MFC:
Correct BD_ADDR entry for "Dummy" device in the default hcsecd.conf.
Each byte in BD_ADDR should exactly two nibbles, i.e
"1:2:3:4:5:6" is NOT valid and "01:02:03:04:05:06" is valid BD_ADDR.
2006-05-19 16:46:19 +00:00
yongari
85ec7c7f44 MFC if_em.c, 1.92 to RELENG_6:
Add jumbo frame support for architectures with strict alignment.

Requested by:	wilko
2006-05-19 00:19:57 +00:00
jhb
ea040660fa MFC: Use the proper condition to determine that we matched an filename. 2006-05-18 23:23:53 +00:00
jhb
42f7829611 MFC: Cache the value of the lower half of each I/O APIC redirection table
entry and thus cut the execution time for masking and unmasking I/O APIC
pins in half.
2006-05-18 22:07:01 +00:00
jhb
fd3b56a33d MFC: Add a new -U flag to instruct ls to use the birthtime for printing or
sorting.
2006-05-18 22:02:20 +00:00
jhb
d36e0c074a MFC: Enable boot floppies for amd64. 2006-05-18 21:50:22 +00:00
bmah
4dd232f49f MFC: csup(1) import, dhclient(8) sends hostnames, find(1) birthtime
primitives, pkg_add(1) -F.

Structural changes:  Make a level-2 section for contrib stuff to
mirror the structure on HEAD, move the existing tzdata item (which was
in the wrong place anyway) into it.  Add a level-3 section for rc.d
scripts (empty for now)...I probably nuked this accidentally in
rev. 1.883.2.16.
2006-05-18 19:26:46 +00:00
maxim
d1e4f11e2d MFC rev. 1.29: fix a typo. 2006-05-18 07:16:43 +00:00
maxim
8aa605d637 MFC rev. 1.28 iostat.8 and revs. 1.29 - 1.31 iostat.c: implement
Solaris-like -x and -z flags: show extended disk statistics, omit
lines for devices with no activity.  Style and re-register locals.
2006-05-17 19:03:33 +00:00
trhodes
d206aeccd0 MFC 1.14:
Fix a bug where, for 6-byte sequences, the top 6 bits get compared to
  111111 rather than the top 7 bits being compared against 1111110 causing
  illegal bytes fe and ff being treated the same as legal bytes fc and fd.
2006-05-17 13:26:01 +00:00
trhodes
fcc0e0f262 Sync with CURRENT. 2006-05-17 13:20:21 +00:00
maxim
a3b08a3cbb MFC revs. 1.74 - 1.76: document security.jail.jailed and
security.jail.list sysctls.
2006-05-17 11:35:31 +00:00
anholt
c66ec81d71 Merge DRM from -current, including:
- i915 attachment and running fixed
- i915 vblank support
- Radeon's new memory map support, which should fix a host of stability issues
  when combined with new userland.
- ATI PCI/PCIE GART fix.
- r300 fixes

Also adds a hack to the radeon module Makefile to quiet gcc's fatal warnings
about inlines in this contrib code.
2006-05-17 07:40:12 +00:00
brueffer
ff910b7e48 MFC: rev. 1.349
Add if_* MLINKS for bce(4) and le(4).
2006-05-17 04:51:31 +00:00
davidxu
1d9cc561ae MFC revisions 1.10, 1.11. 2006-05-17 02:37:41 +00:00
davidxu
6cbc4f7644 MFC revision 1.14-1.15, add command 'thread signal'. 2006-05-17 02:31:50 +00:00
davidxu
9bc741e58e MFC revision 1.4. 2006-05-17 02:28:14 +00:00
davidxu
c07d62133b MFC following revisions:
sys/ptrace.h		1.27
	kern/sys_process	1.135

	get LWP's signal info.
2006-05-17 00:41:49 +00:00
csjp
993ca372a6 MFC revision 1.56
date: 2006/03/03 09:12:21;  author: thompsa;  state: Exp;  lines: +22 -7
Since we are using random ethernet addresses for the bridge, it is possible
that we might have address collisions, so make sure that this hardware address
isn't already in use on another bridge.
2006-05-17 00:18:57 +00:00
csjp
583cf67217 MFC revision 1.55
Slightly re-worked bpf(4) code associated with bridging: if we have a
  destination interface as a member of our bridge or this is a unicast packet,
  push it through the bpf(4) machinery.

  For broadcast or multicast packets, don't bother with the bpf(4) because it will
  be re-injected into ether_input. We do this before we pass the packets through
  the pfil(9) framework, as it is possible that pfil(9) will drop the packet or
  possibly modify it, making it very difficult to debug firewall issues on the
  bridge.

  Further, implemented IFF_MONITOR for bridge interfaces. This does much the same
  thing that it does for regular network interfaces: it pushes the packet to any
  bpf(4) peers and then returns. This bypasses all of the bridge machinery,
  saving mutex acquisitions, list traversals, and other operations performed by
  the bridging code.

  This change to the bridging code is useful in situations where individuals use a
  bridge to multiplex RX/TX signals from two interfaces, as is required by some
  network taps for de-multiplexing links and transmitting the RX/TX signals
  out through two separate interfaces. This behaviour is quite common for network
  taps monitoring links, especially for certain manufacturers.
2006-05-17 00:11:27 +00:00
csjp
d6b220b7f2 MFC revision 1.215
Unbreak byte counters when network interfaces are in monitor mode by
  re-organizing the monitor return logic. We perform interface monitoring
  checks after we have determined if the CRC is still on the packet, if
  it is, m_adj() is called which will adjust the packet length. This
  ensures that we are not including CRC lengths in the byte counters for
  each packet.
2006-05-17 00:09:24 +00:00
csjp
d77d83825c MFC revision 1.164
Pickup locks for the BPF interface structure. It's quite possible that
bpf(4) descriptors can be added and removed on this interface while we
are processing stats.
2006-05-17 00:07:42 +00:00
ps
ba7f78e7d1 MFC: Allow for nmbclusters and maxsockets to be increased via sysctl. 2006-05-16 07:27:49 +00:00
maxim
33125341e3 MFC rev. 1.28: close an output file -o flag opened before
execvp(3) in a child.
2006-05-16 06:25:44 +00:00
maxim
5e2473c613 MFC rev. 1.22: do not mangle current session user login name
with jail -u|-U.
2006-05-16 06:21:46 +00:00
davidxu
846f661226 MFC revision 1.101 2006-05-16 00:23:44 +00:00
pav
e7bc22fae2 Sync with HEAD except for powerpc bits:
- Add -s flag to limit the length of string fields in the output
  brian Jan 2, 2006
- Accept zero len sockaddr_in types
  alfred Oct 15, 2005

Approved by:	alfred
2006-05-15 20:53:44 +00:00
marius
7455fde282 MFC: 1.15
Add le(4) to the list of drivers supporting ALTQ.
2006-05-15 20:19:21 +00:00
marius
6ae396d609 MFC: 1.97, 1.98. 1.106 (partial)
- Add if_arl_load, if_ath_load, if_axe_load, if_aue_load, if_cs_load,
  if_cue_load, if_gem_load, if_hme_load, if_le_load, if_nve_load,
  if_rue_load and if_udav_load to the Networking drivers section.
- Remove trailing whitespace in the description of the kern.nbuf entry.
2006-05-15 19:57:59 +00:00
ps
01b2a3d145 MFC: rev 1.329
Don't try to kill embryonic processes in  killpg1().  This prevents
a race condition between fork() and kill(pid,sig) with pid < 0 that
can cause a kernel panic.
2006-05-15 18:53:00 +00:00