dragonfly.git
13 years agoSome cleanup in sys/emulation/linux Makefiles.
Sascha Wildner [Sun, 25 Jul 2010 00:14:02 +0000 (02:14 +0200)]
Some cleanup in sys/emulation/linux Makefiles.

13 years agonrelease: No need to exclude 'CVS' anymore for src-sys.tgz.
Sascha Wildner [Sat, 24 Jul 2010 23:24:36 +0000 (01:24 +0200)]
nrelease: No need to exclude 'CVS' anymore for src-sys.tgz.

13 years agonrelease: Download pkgsrc and src with our standard /usr/Makefile targets.
Sascha Wildner [Sat, 24 Jul 2010 23:09:34 +0000 (01:09 +0200)]
nrelease: Download pkgsrc and src with our standard /usr/Makefile targets.

Also fix a typo in a comment.

13 years agoral - fix crash during attach
Nicolas Thery [Sat, 24 Jul 2010 09:01:32 +0000 (11:01 +0200)]
ral - fix crash during attach

Reported-by: Max Herrgard <herrgard@gmail.com>
Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1785>

13 years agodm_target_crypt - cleanup & minor improvements
Alex Hornung [Sun, 18 Jul 2010 08:13:25 +0000 (09:13 +0100)]
dm_target_crypt - cleanup & minor improvements

* Overwrite memory used for keys, essiv hash and other private data when
  destroying a crypt target.

* Rename the static functions so it's easier to see what they do,
  without the huge dm_target_crypt prefix.

* Rename dm_target_crypt_work to _crypto_start to clearly indicate that
  the crypto operations are split phase.

* Explicitly convert the sector number used for the iv generators to
  little endian for future compatibility.

Big-Thanks-to: Aggelos Economopoulos

13 years agokernel - Count only non-spurious events in main kevent loop
Samuel J. Greear [Fri, 23 Jul 2010 13:00:28 +0000 (13:00 +0000)]
kernel - Count only non-spurious events in main kevent loop

* Add a couple of debug fields to kern.nseldebug kprintf's

* The main kevent loop is effectively event driven until it has processed the
  maximum number of events it is allowed to return. Spurious events counted
  toward this total, resulting in no events being returned if the number of
  spurious events processed reached the total.

13 years agoiwi(4): Properly lock iwi_watchdog().
Sascha Wildner [Fri, 23 Jul 2010 09:22:17 +0000 (11:22 +0200)]
iwi(4): Properly lock iwi_watchdog().

Submitted-by: Johannes Hofmann <johannes.hofmann@gmx.de>
Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1795>

13 years agousbdi.9: Add missing headers (usbdi.h needs them).
Sascha Wildner [Fri, 23 Jul 2010 09:00:13 +0000 (11:00 +0200)]
usbdi.9: Add missing headers (usbdi.h needs them).

13 years agomake_dev.9: Add #include <sys/devfs.h> (for devfs_scan_t).
Sascha Wildner [Fri, 23 Jul 2010 04:12:09 +0000 (06:12 +0200)]
make_dev.9: Add #include <sys/devfs.h> (for devfs_scan_t).

13 years agomake_autoclone_dev.9: Fix some minor issues in the prototypes.
Sascha Wildner [Fri, 23 Jul 2010 04:09:32 +0000 (06:09 +0200)]
make_autoclone_dev.9: Fix some minor issues in the prototypes.

13 years agoSpecify the correct headers in some kernel manual pages.
Sascha Wildner [Fri, 23 Jul 2010 03:53:26 +0000 (05:53 +0200)]
Specify the correct headers in some kernel manual pages.

13 years agoThe LINPROCFS option goes to opt_dontuse.h, not to a file named '#Linux'.
Sascha Wildner [Thu, 22 Jul 2010 22:39:30 +0000 (00:39 +0200)]
The LINPROCFS option goes to opt_dontuse.h, not to a file named '#Linux'.

13 years agoaltq.9: Fix prototype.
Sascha Wildner [Thu, 22 Jul 2010 18:41:47 +0000 (20:41 +0200)]
altq.9: Fix prototype.

13 years agoetc/rc.d doesn't need an obj directory and we don't have noprog.
Sascha Wildner [Wed, 21 Jul 2010 22:01:54 +0000 (00:01 +0200)]
etc/rc.d doesn't need an obj directory and we don't have noprog.

13 years agorc: In 'syslogd', adjust the handling of syslog sockets in chroots.
Sascha Wildner [Wed, 21 Jul 2010 21:34:32 +0000 (23:34 +0200)]
rc: In 'syslogd', adjust the handling of syslog sockets in chroots.

Use a keyword, 'chrootdir', to help syslogd place additional log sockets
in chroots. It's main use at the moment is to help with BIND installed
from pkgsrc.

This silences the other of the rc error messages we've been having since
we removed BIND from base.

13 years agorc: Add a dummy 'named' script to give 'rpcbind' something to depend on.
Sascha Wildner [Wed, 21 Jul 2010 21:29:47 +0000 (23:29 +0200)]
rc: Add a dummy 'named' script to give 'rpcbind' something to depend on.

If BIND is installed from pkgsrc, its 'named9' script (which provides
'named') will do the real work.

This silences one of the rc error messages we've been having since we
removed BIND from base.

13 years agosasc(1): Remove the INSTALL file (nothing here is of any interest).
Sascha Wildner [Thu, 15 Jul 2010 09:18:09 +0000 (11:18 +0200)]
sasc(1): Remove the INSTALL file (nothing here is of any interest).

13 years ago<wchar.h>: Partial revert of b9286c919de6585c967b8dbf2c472fba7b33f9f1.
Sascha Wildner [Wed, 21 Jul 2010 10:34:44 +0000 (12:34 +0200)]
<wchar.h>: Partial revert of b9286c919de6585c967b8dbf2c472fba7b33f9f1.

Before Hasso's commit, both wchar_t and WCHAR_{MIN,MAX} were inside a
#ifndef __cplusplus. With this state, devel/boost-libs in pkgsrc indeed
fails to build because it can't find WCHAR_{MIN,MAX}.

However, with the #ifndef completely removed (after Hasso's commit),
clang whines during C++ compilation because wchar_t is a built in type
in C++.

Therefore, bring back the #ifndef, but only around wchar_t and not
around the limits. This keeps boost-libs building, silences clang, is
in line with what the C++ standard says and with what others (FreeBSD,
for example) do.

13 years agoCOPYRIGHT: Fix typo.
Sascha Wildner [Tue, 20 Jul 2010 16:50:08 +0000 (18:50 +0200)]
COPYRIGHT: Fix typo.

13 years agoiwn.4: Add reference to ifmedia(4).
Sascha Wildner [Tue, 20 Jul 2010 16:32:09 +0000 (18:32 +0200)]
iwn.4: Add reference to ifmedia(4).

13 years agohier.7: Adjust a bit.
Sascha Wildner [Tue, 20 Jul 2010 13:09:52 +0000 (15:09 +0200)]
hier.7: Adjust a bit.

13 years ago/usr/share/doc/legal: Install some more firmware licenses.
Sascha Wildner [Tue, 20 Jul 2010 13:04:31 +0000 (15:04 +0200)]
/usr/share/doc/legal: Install some more firmware licenses.

Also add /usr/share/doc/legal to the hier(7) manual page and add
a reference to it in /COPYRIGHT.

13 years agoral - Add license for firmware.
Joe Talbott [Tue, 20 Jul 2010 12:11:37 +0000 (08:11 -0400)]
ral - Add license for firmware.

Taken-From: FreeBSD

13 years agoFix the VKERNEL build.
Sascha Wildner [Tue, 20 Jul 2010 10:36:49 +0000 (12:36 +0200)]
Fix the VKERNEL build.

13 years agoiwn - Fix for x86_64.
Joe Talbott [Tue, 20 Jul 2010 01:09:21 +0000 (21:09 -0400)]
iwn - Fix for x86_64.

* Convert to lockmgr locks.
* curthred -> curthread
* Clean up locking to be more in sync with FreeBSD.

Reported-By: swildner
Tested-By: swildner
New-Best-Friend: swildner

13 years agolink_elf_obj - When current proc is NULL use proc0.
Joe Talbott [Tue, 20 Jul 2010 01:08:19 +0000 (21:08 -0400)]
link_elf_obj - When current proc is NULL use proc0.

Reported-By: swildner
Tested-By: swildner
13 years agokqueue - Fix bad error path triggered by emacs
Matthew Dillon [Tue, 20 Jul 2010 01:08:18 +0000 (18:08 -0700)]
kqueue - Fix bad error path triggered by emacs

* Some device d_kqfilter functions were not setting ap->a_result,
  leading to an error being improperly returned and knotes left
  hanging.  This led to a lockup and/or a panic when running emacs.

* Adjust dev_dkqfilter() to preset ap->a_result to 0 to fix the
  problem and document it.

Reported-by: Sascha Wildner <swildner@erpicon.de>
13 years agobdes(1): Sync with FreeBSD.
Sascha Wildner [Tue, 20 Jul 2010 00:40:34 +0000 (02:40 +0200)]
bdes(1): Sync with FreeBSD.

13 years agolvm - get rid of gcc-only cruft
Alex Hornung [Mon, 19 Jul 2010 21:40:35 +0000 (22:40 +0100)]
lvm - get rid of gcc-only cruft

* replace the subtraction of members of unions and structs with the
  standard use of offsetof.

* This allows lvm to be compiled by clang.

Reported-by: Sascha Wildner
13 years agolvm - get rid of CVS directories
Alex Hornung [Mon, 19 Jul 2010 21:42:37 +0000 (22:42 +0100)]
lvm - get rid of CVS directories

Reported-by: Sascha Wildner
13 years agopcm - Remove unused variable
Samuel J. Greear [Mon, 19 Jul 2010 21:49:28 +0000 (21:49 +0000)]
pcm - Remove unused variable

13 years agoMerge branch 'selwakeup'
Samuel J. Greear [Mon, 19 Jul 2010 21:25:57 +0000 (21:25 +0000)]
Merge branch 'selwakeup'

13 years agoMore work on CCVER=clangsvn.
Sascha Wildner [Mon, 19 Jul 2010 20:38:05 +0000 (22:38 +0200)]
More work on CCVER=clangsvn.

* For C++ code, call clang as clang++.

* Add some options for C++ compilation.

13 years agocpdup - code cleanup (non-operational changes)
Matthew Dillon [Mon, 19 Jul 2010 19:23:08 +0000 (12:23 -0700)]
cpdup - code cleanup (non-operational changes)

* Cleanup code constructs for human readability

13 years agocpdup - Bump version, adjust manual page and usage()
Matthew Dillon [Mon, 19 Jul 2010 19:20:13 +0000 (12:20 -0700)]
cpdup - Bump version, adjust manual page and usage()

* Bump to 1.17
* Add Oliver's name to the manual page, copyright, and usage().

13 years agocpdup - Add several new features
Matthew Dillon [Mon, 19 Jul 2010 19:13:36 +0000 (12:13 -0700)]
cpdup - Add several new features

* Add -R option for ssh authorized_key based slave mode.
* Add byte order detection and handling.
* Improve remote directory scan performance.
* Add Sun compatibility files for completeness.

Submitted-by: Oliver Fromme <olli@fromme.com>
13 years agowlan - For the time being include wlan_amrr when wlan is included.
Joe Talbott [Mon, 19 Jul 2010 17:42:59 +0000 (13:42 -0400)]
wlan - For the time being include wlan_amrr when wlan is included.

13 years agoratectl_none - first pass at updating to the new wlan infrastructure
Joe Talbott [Mon, 19 Jul 2010 17:41:11 +0000 (13:41 -0400)]
ratectl_none - first pass at updating to the new wlan infrastructure

This will ultimately be the default ratectl algorithm for wireless
NIC drivers.

13 years agoGENERIC - Add a note that wireless NIC drivers require wlan and wlan_amrr
Joe Talbott [Mon, 19 Jul 2010 16:19:09 +0000 (12:19 -0400)]
GENERIC - Add a note that wireless NIC drivers require wlan and wlan_amrr

13 years agofiles - Cleanup
Joe Talbott [Mon, 19 Jul 2010 16:17:32 +0000 (12:17 -0400)]
files - Cleanup

* Don't require a license for wpifw.
* Remove duplicate line.
* wpi needs wlan_amrr so include it.

13 years agowpi - Remove debugging leftovers.
Joe Talbott [Mon, 19 Jul 2010 12:35:19 +0000 (08:35 -0400)]
wpi - Remove debugging leftovers.

13 years agoiwn - Lock iwn_timer_timeout callback.
Joe Talbott [Sun, 18 Jul 2010 23:16:29 +0000 (19:16 -0400)]
iwn - Lock iwn_timer_timeout callback.

13 years agoiwn - Add man pages for iwn and iwnfw
Joe Talbott [Sun, 18 Jul 2010 03:16:44 +0000 (23:16 -0400)]
iwn - Add man pages for iwn and iwnfw

Taken-From: FreeBSD

13 years agoiwn - Port to DragonFly BSD
Joe Talbott [Sat, 17 Jul 2010 22:25:58 +0000 (18:25 -0400)]
iwn - Port to DragonFly BSD

This is the initial port of the iwn driver for Intel 1000, 5100,
5150, and 6000 wifi chipsets.

This version uses ifp->if_serializer for serialization for the moment.

13 years agowlan_amrr - NULL structure variables after kfree()ing.
Joe Talbott [Sat, 17 Jul 2010 16:18:13 +0000 (12:18 -0400)]
wlan_amrr - NULL structure variables after kfree()ing.

13 years agoiwn - Add firmware and build infrastructure
Joe Talbott [Sat, 17 Jul 2010 16:12:36 +0000 (12:12 -0400)]
iwn - Add firmware and build infrastructure

Taken-From: FreeBSD

13 years agofirmware - Remove some debug printf()s that got committed.
Joe Talbott [Tue, 22 Jun 2010 01:16:49 +0000 (21:16 -0400)]
firmware - Remove some debug printf()s that got committed.

13 years agolibkern - Add abs(), labs(), and qabs().
Joe Talbott [Tue, 22 Jun 2010 01:12:26 +0000 (21:12 -0400)]
libkern - Add abs(), labs(), and qabs().

A lot of drivers define abs().  This adds an inlined version to
make things easier.

Taken-From: FreeBSD

13 years agoiwn - Add a Makefile so the driver can be built.
Joe Talbott [Tue, 15 Jun 2010 00:00:01 +0000 (20:00 -0400)]
iwn - Add a Makefile so the driver can be built.

13 years agoiwn - Import iwn driver from FreeBSD
Joe Talbott [Mon, 14 Jun 2010 23:55:33 +0000 (19:55 -0400)]
iwn - Import iwn driver from FreeBSD

Driver for Intel WiFi Link 4965 and 1000/5000/6000 Series 802.11
network adapters.

Taken-From: FreeBSD

13 years agoiwi.4: Remove unnecessary .Pp
Sascha Wildner [Mon, 19 Jul 2010 15:56:22 +0000 (17:56 +0200)]
iwi.4: Remove unnecessary .Pp

13 years agoMerge branch 'kq_devices' into selwakeup
Samuel J. Greear [Mon, 19 Jul 2010 07:26:48 +0000 (07:26 +0000)]
Merge branch 'kq_devices' into selwakeup

13 years agokern - Add kq support to mqueue
Samuel J. Greear [Sun, 18 Jul 2010 23:37:10 +0000 (23:37 +0000)]
kern - Add kq support to mqueue

13 years agoAdd missing Makefile in share/doc/legal.
Sascha Wildner [Sun, 18 Jul 2010 22:33:06 +0000 (00:33 +0200)]
Add missing Makefile in share/doc/legal.

13 years agoInstall the license of the iwi(4) firmware to /usr/share/doc/legal.
Sascha Wildner [Sun, 18 Jul 2010 22:10:58 +0000 (00:10 +0200)]
Install the license of the iwi(4) firmware to /usr/share/doc/legal.

Upon loading of the firmware, the user is informed that he needs to read
the license and has to agree to it by setting a loader tunable in his
/boot/loader.conf (see the iwifw(4) manual page for the whole story).

Taken-from: FreeBSD

13 years agoAdd a iwifw.4 manual page (from FreeBSD).
Sascha Wildner [Sun, 18 Jul 2010 22:06:54 +0000 (00:06 +0200)]
Add a iwifw.4 manual page (from FreeBSD).

13 years agoiwi.4: Update iwi(4)'s manual page (from FreeBSD).
Sascha Wildner [Sun, 18 Jul 2010 22:06:27 +0000 (00:06 +0200)]
iwi.4: Update iwi(4)'s manual page (from FreeBSD).

13 years agoMake mxge(4) compilable into the kernel and add it to LINT.
Sascha Wildner [Sun, 18 Jul 2010 21:05:31 +0000 (23:05 +0200)]
Make mxge(4) compilable into the kernel and add it to LINT.

13 years agoMake the firmwares for iwi(4), ral(4) and wpi(4) compilable into the kernel.
Sascha Wildner [Sun, 18 Jul 2010 20:52:29 +0000 (22:52 +0200)]
Make the firmwares for iwi(4), ral(4) and wpi(4) compilable into the kernel.

Also add them to LINT.

Taken-from: FreeBSD

13 years agoshare/mk/sys.mk: Add ${AWK}.
Sascha Wildner [Sun, 18 Jul 2010 19:29:28 +0000 (21:29 +0200)]
share/mk/sys.mk: Add ${AWK}.

13 years agoiwi(4) firmware: Remove leftover binary file and adjust CLEANFILES.
Sascha Wildner [Sun, 18 Jul 2010 16:43:02 +0000 (18:43 +0200)]
iwi(4) firmware: Remove leftover binary file and adjust CLEANFILES.

13 years agoiwi(4): Hook it into the build again and enable it everywhere else.
Sascha Wildner [Sun, 18 Jul 2010 16:24:45 +0000 (18:24 +0200)]
iwi(4): Hook it into the build again and enable it everywhere else.

13 years agoUpdate iwi(4) from FreeBSD.
Johannes Hofmann [Sat, 17 Jul 2010 10:16:09 +0000 (12:16 +0200)]
Update iwi(4) from FreeBSD.

13 years agosys/tools/fw_stub.awk: Change printf to kprintf as this is kernel code.
Sascha Wildner [Sun, 18 Jul 2010 16:04:13 +0000 (18:04 +0200)]
sys/tools/fw_stub.awk: Change printf to kprintf as this is kernel code.

Submitted-by: Johannes Hofmann <johannes.hofmann@gmx.de>
Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1794>

13 years agorpcbind.3: Fix two more errors in the SYNOPSIS which I overlooked before
Sascha Wildner [Sun, 18 Jul 2010 14:18:49 +0000 (16:18 +0200)]
rpcbind.3: Fix two more errors in the SYNOPSIS which I overlooked before

13 years agoudev.3: Add final newline and remove extra space.
Sascha Wildner [Sun, 18 Jul 2010 10:31:25 +0000 (12:31 +0200)]
udev.3: Add final newline and remove extra space.

13 years agodevattr.3: Add final newline.
Sascha Wildner [Sun, 18 Jul 2010 10:31:11 +0000 (12:31 +0200)]
devattr.3: Add final newline.

13 years agorpcbind.3: Fix function declaration in the SYNOPSIS.
Sascha Wildner [Sun, 18 Jul 2010 10:28:48 +0000 (12:28 +0200)]
rpcbind.3: Fix function declaration in the SYNOPSIS.

13 years agoprop_*.[39]: Fix include path.
Sascha Wildner [Sun, 18 Jul 2010 10:26:08 +0000 (12:26 +0200)]
prop_*.[39]: Fix include path.

13 years agowpi - Remove unneeded WPI_UNLOCKs
Joe Talbott [Tue, 22 Jun 2010 01:08:10 +0000 (21:08 -0400)]
wpi - Remove unneeded WPI_UNLOCKs

13 years agokern_linker - Rearrange locking a bit for module loading.
Joe Talbott [Tue, 22 Jun 2010 01:14:28 +0000 (21:14 -0400)]
kern_linker - Rearrange locking a bit for module loading.

This was needed to get automatic firmware module loading to work
properly.

13 years agoifconfig.8: Re-add our documentation for the 'powersavemode' parameter.
Sascha Wildner [Sat, 17 Jul 2010 16:48:21 +0000 (18:48 +0200)]
ifconfig.8: Re-add our documentation for the 'powersavemode' parameter.

13 years ago<sys/_null.h>: Remove the #include guard.
Sascha Wildner [Sat, 17 Jul 2010 10:11:23 +0000 (12:11 +0200)]
<sys/_null.h>: Remove the #include guard.

POSIX states that various headers (such as <unistd.h>, <stddef.h>,
<string.h> etc.) all shall provide a definition of NULL. We do that
by including <sys/_null.h> in these headers.

The problem with the #include guard is that NULL will no longer be
defined if a program does something like this:

#include <stddef.h>
#undef NULL
#include <unistd.h>

<sys/_null.h>'s guard will still be defined and NULL is not getting
(re-)defined.

Therefore, remove the #include guard. It's just belt and suspenders
since there is an "#ifndef NULL" around everything in <sys/_null.h>
anyway.

In-discussion-with: beket

13 years agoudevd - Big memory and thread cleanup
Alex Hornung [Sat, 17 Jul 2010 08:49:20 +0000 (09:49 +0100)]
udevd - Big memory and thread cleanup

* Adjust read_xml() to allocate just the right size of memory, so we
  don't waste anything by allocating 12 MB per client, when the usual
  client xml is a few kB.

* Detach threads so that they can free resources whenever they return
  from their startup function.

* Release the memory associated with a particular iterator and with some
  of the fields in the event filters, which were previously leaking.

* Let the monitor thread check every few (2) seconds if the underlying
  connection is still alive. Previously the threads were staying around
  even after the connection was closed when no event (attach/detach)
  occured.

* Clean up the pdev array on a clean exit so it's easier to find memory
  leaks, since the amount of allocations done by proplib on behalf of
  the pdev stuff is huge.

* Incidentally, don't forget to update the pdev array when a device is
  detached.

Reported-by: Antonio Huete (tuxillo@)
13 years agolibdevattr - Visibility change, stop memory waste
Alex Hornung [Sat, 17 Jul 2010 08:46:10 +0000 (09:46 +0100)]
libdevattr - Visibility change, stop memory waste

* Change the visibility of some function prototypes in devattr.h to be
  only visible from within libdevattr (or when LIBDEVATTR_INTERNAL is
  specified).

* Stop wasting memory when reading the socket. Since we receive the size
  of the remaining data first, we can allocate exactly the right amount
  instead of wasting it big time by allocating 12MB no matter what.

13 years agokern - Always give a new thread a ucred
Samuel J. Greear [Wed, 14 Jul 2010 22:31:09 +0000 (22:31 +0000)]
kern - Always give a new thread a ucred

Supplied-by: dillon@
13 years agokernel - Tear out selwakeup()
Samuel J. Greear [Wed, 14 Jul 2010 20:03:31 +0000 (20:03 +0000)]
kernel - Tear out selwakeup()

13 years agokernel - Add missing KNOTE's
Samuel J. Greear [Wed, 14 Jul 2010 19:24:30 +0000 (19:24 +0000)]
kernel - Add missing KNOTE's

* Place a KNOTE call anywhere there is currently a call to selwakeup.

13 years agoAdd support for $CCVER="clangsvn"
Sascha Wildner [Wed, 14 Jul 2010 08:14:26 +0000 (10:14 +0200)]
Add support for $CCVER="clangsvn"

This is for clang/llvm installed from SVN trunk to /usr/local
(which is its default location).

13 years agokqueue - Minor adjustments to fix x86_64 build errors
Matthew Dillon [Wed, 14 Jul 2010 02:21:00 +0000 (19:21 -0700)]
kqueue - Minor adjustments to fix x86_64 build errors

13 years agoBSD.include.dist: Use spaces for indentation.
Sascha Wildner [Tue, 13 Jul 2010 23:38:50 +0000 (01:38 +0200)]
BSD.include.dist: Use spaces for indentation.

13 years agolt(1): Change mode to 644.
Sascha Wildner [Tue, 13 Jul 2010 23:38:01 +0000 (01:38 +0200)]
lt(1): Change mode to 644.

13 years agolibdevmapper/liblvm: Also needs libdevattr
Matthew Dillon [Tue, 13 Jul 2010 21:56:06 +0000 (14:56 -0700)]
libdevmapper/liblvm: Also needs libdevattr

* liblvm's shared library generation also needs libdevattr.

* Add libdevattr to the prebuild list in Makefile.inc1.

Suggested-by: Alex Hornung
13 years agoudev_enumerate.3: Improve macro declaration a bit.
Sascha Wildner [Tue, 13 Jul 2010 13:57:31 +0000 (15:57 +0200)]
udev_enumerate.3: Improve macro declaration a bit.

13 years agoudev_enumerate.3: Some cleanup.
Sascha Wildner [Tue, 13 Jul 2010 13:38:29 +0000 (15:38 +0200)]
udev_enumerate.3: Some cleanup.

* Fix function name.

* Remove trailing whitespace.

* Add final newline.

13 years agoudev_{device,monitor}.3: Add final newline.
Sascha Wildner [Tue, 13 Jul 2010 13:37:34 +0000 (15:37 +0200)]
udev_{device,monitor}.3: Add final newline.

13 years agolibdevmapper/liblvm: Add SHLIB_MAJOR so we get the .so too.
Sascha Wildner [Tue, 13 Jul 2010 12:33:09 +0000 (14:33 +0200)]
libdevmapper/liblvm: Add SHLIB_MAJOR so we get the .so too.

13 years agoFix LINT build.
Sascha Wildner [Tue, 13 Jul 2010 12:31:27 +0000 (14:31 +0200)]
Fix LINT build.

13 years agoMerge branch 'master' into selwakeup
Samuel J. Greear [Tue, 13 Jul 2010 11:20:38 +0000 (11:20 +0000)]
Merge branch 'master' into selwakeup

13 years agokernel - Remove selrecord()
Samuel J. Greear [Tue, 13 Jul 2010 11:07:40 +0000 (11:07 +0000)]
kernel - Remove selrecord()

* selrecord is no longer a necessary component of event propogation, all
  interested parties are now added to a klist ala kqueue.

13 years agokernel - Remove legacy vnode poll support
Samuel J. Greear [Tue, 13 Jul 2010 11:06:07 +0000 (11:06 +0000)]
kernel - Remove legacy vnode poll support

* Add an appropriate call to KNOTE() to wake up listeners when a vnode is
  revoked, replacing a selwakeup().

13 years agodev - dsp - Remove unnecessary selrecord call
Samuel J. Greear [Tue, 13 Jul 2010 11:02:25 +0000 (11:02 +0000)]
dev - dsp - Remove unnecessary selrecord call

13 years agokern - Make socket_wait() actually work
Samuel J. Greear [Tue, 13 Jul 2010 10:40:16 +0000 (10:40 +0000)]
kern - Make socket_wait() actually work

* Do better initialization of a new kq so we can use one occupying non-zero'd
  memory.

13 years agowlan - Don't use M_NOWAIT in kmalloc() calls.
Joe Talbott [Mon, 12 Jul 2010 23:27:31 +0000 (19:27 -0400)]
wlan - Don't use M_NOWAIT in kmalloc() calls.

13 years agoaltq - Get rid of unneeded fields in struct altq.
Joe Talbott [Mon, 12 Jul 2010 23:23:27 +0000 (19:23 -0400)]
altq - Get rid of unneeded fields in struct altq.

This was incorrectly brought over from FreeBSD.

13 years agoral - Don't use M_NOWAIT in kmalloc() calls.
Joe Talbott [Mon, 12 Jul 2010 23:22:14 +0000 (19:22 -0400)]
ral - Don't use M_NOWAIT in kmalloc() calls.

13 years agowpi - Fix mbuf flags and kmalloc flags, plus refcount nodes.
Joe Talbott [Mon, 12 Jul 2010 23:06:02 +0000 (19:06 -0400)]
wpi - Fix mbuf flags and kmalloc flags, plus refcount nodes.

Use MB_xxx flags to mbuf API calls rather than M_xxx.

Don't use M_NOWAIT in kmalloc() calls.

Bring in some ieee80211_node reference counting as discussed on
the FreeBSD-Current mailing list recently.

http://docs.freebsd.org/cgi/getmsg.cgi?fetch=178502+0+current/freebsd-current

Discussed-With: dillon

13 years agowlan - Fix mbuf handling when using encryption.
Joe Talbott [Mon, 12 Jul 2010 22:38:58 +0000 (18:38 -0400)]
wlan - Fix mbuf handling when using encryption.

Re-add a __FreeBSD__ only section of code that copies an mbuf chain to
a writtable version before encapsulating the packet.

Uses m_dup() since we don't have m_unshare() (yet).

Discussed-With: dillon

13 years agoRemove the old udevd binary (it's now in /sbin) via 'make upgrade.
Sascha Wildner [Mon, 12 Jul 2010 10:00:08 +0000 (12:00 +0200)]
Remove the old udevd binary (it's now in /sbin) via 'make upgrade.

13 years agoMakefile_upgrade.inc: Move some stuff to the right place.
Sascha Wildner [Mon, 12 Jul 2010 09:59:18 +0000 (11:59 +0200)]
Makefile_upgrade.inc: Move some stuff to the right place.