]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
17 years agoMove rpc/types.h under sys/, as this is used by ZFS kernel module.
pjd [Tue, 10 Apr 2007 22:10:16 +0000 (22:10 +0000)]
Move rpc/types.h under sys/, as this is used by ZFS kernel module.

Repo-copied by: simon

17 years agostrchr() and strrchr() are already present in the kernel, but with less
wkoszek [Tue, 10 Apr 2007 21:42:12 +0000 (21:42 +0000)]
strchr() and strrchr() are already present in the kernel, but with less
popular names. Hence:

- comment current index() and rindex() functions, as these serve the same
  functionality as, respectively, strchr() and strrchr() from userland;
- add inlined version of strchr() and strrchr(), as we tend to use them more
  often;
- remove str[r]chr() definitions from ZFS code;

Reviewed by: pjd
Approved by: cognet (mentor)

17 years agoRemove trailing '.' for consistency!
pjd [Tue, 10 Apr 2007 21:40:13 +0000 (21:40 +0000)]
Remove trailing '.' for consistency!

17 years agoWhitespace fixes
scottl [Tue, 10 Apr 2007 21:37:37 +0000 (21:37 +0000)]
Whitespace fixes

17 years agoLet brgphy(4) attach for the Broadcom BCM5755 ASIC based chipsets
marius [Tue, 10 Apr 2007 20:43:23 +0000 (20:43 +0000)]
Let brgphy(4) attach for the Broadcom BCM5755 ASIC based chipsets
as well.

Obtained from: OpenBSD
MFC after: 1 week

17 years agoOn i386 compile the back-end with EISA support as well as the EISA
marius [Tue, 10 Apr 2007 20:33:31 +0000 (20:33 +0000)]
On i386 compile the back-end with EISA support as well as the EISA
front-end if the dpt(4) module is built along with a kernel that
includes eisa(4) or when compiling it stand-alone (logic based on
the corresponding ISA logic in sys/modules/sound/sound/Makefile).
As as side-effect this fixes the stand-alone build of the dpt(4)
module after dpt.h 1.17, dpt_eisa.c 1.22 and dpt_scsi.c 1.55.

Breakage reported by: n_hibma

17 years agoA fix for the SG_GET_TIMEOUT function slipped into a previous commit by
scottl [Tue, 10 Apr 2007 20:03:42 +0000 (20:03 +0000)]
A fix for the SG_GET_TIMEOUT function slipped into a previous commit by
accident.  Remove the text describing the problem as it is no longer
relevant.  Also give real implementations for the GET and SET ioctls.

17 years agoEliminate memory leak from an accidental malloc().
emaste [Tue, 10 Apr 2007 17:37:53 +0000 (17:37 +0000)]
Eliminate memory leak from an accidental malloc().

17 years agoAdd UFS_GJOURNAL options to the GENERIC kernel.
pjd [Tue, 10 Apr 2007 16:49:41 +0000 (16:49 +0000)]
Add UFS_GJOURNAL options to the GENERIC kernel.

Approved by: re (kensmith)

17 years agoAdd a pfsync_syncpeer option to /etc/defaults/rc.conf and rc.conf(5),
keramida [Tue, 10 Apr 2007 16:42:14 +0000 (16:42 +0000)]
Add a pfsync_syncpeer option to /etc/defaults/rc.conf and rc.conf(5),
which can be used to turn off multicast pfsync support, and enable
the transmission of directed PFSYNC (IP protocol: 240) packets to
a specific "sync peer" host.

PR: conf/111225
Submitted by: Bas van Beek <bas@tobin.nl>
Approved by: mtm, mlaier
MFC after: 2 weeks

17 years agoUpdate comment regarding how we check privilege on FreeBSD: we now use
rwatson [Tue, 10 Apr 2007 16:09:00 +0000 (16:09 +0000)]
Update comment regarding how we check privilege on FreeBSD: we now use
priv_check().

17 years agoAllow PRIV_NETINET_REUSEPORT in jail.
rwatson [Tue, 10 Apr 2007 15:59:49 +0000 (15:59 +0000)]
Allow PRIV_NETINET_REUSEPORT in jail.

17 years agoAdd a new privilege, PRIV_NETINET_REUSEPORT, which will replace superuser
rwatson [Tue, 10 Apr 2007 15:58:38 +0000 (15:58 +0000)]
Add a new privilege, PRIV_NETINET_REUSEPORT, which will replace superuser
checks to see whether bind() can reuse a port/address combination while
it's already in use (for some definition of use).

17 years agoRemove unnecessary suser() check in the sysctl to set up ath_hal
rwatson [Tue, 10 Apr 2007 15:48:45 +0000 (15:48 +0000)]
Remove unnecessary suser() check in the sysctl to set up ath_hal
logging: the sysctl framework will already have checked for privilege
if a sysctl value is being set.

Discussed a long time ago with: sam

17 years agoDo allow POSIX mqueue unlink privilege inside a jail, as we all all
rwatson [Tue, 10 Apr 2007 15:40:27 +0000 (15:40 +0000)]
Do allow POSIX mqueue unlink privilege inside a jail, as we all all
other POSIX mqueue privileges inside a jail.

17 years agoMinor style cleanups (mostly removal of trailing whitespaces).
pjd [Tue, 10 Apr 2007 15:29:37 +0000 (15:29 +0000)]
Minor style cleanups (mostly removal of trailing whitespaces).

17 years agoCorrect typos.
pjd [Tue, 10 Apr 2007 15:22:40 +0000 (15:22 +0000)]
Correct typos.

17 years agoMFp4: Add missing kmem_size() definition.
pjd [Tue, 10 Apr 2007 13:26:45 +0000 (13:26 +0000)]
MFp4: Add missing kmem_size() definition.

17 years agoMFp4: Allow to set zfs_recover via vfs.zfs.recover from /boot/loader.conf.
pjd [Tue, 10 Apr 2007 12:54:19 +0000 (12:54 +0000)]
MFp4: Allow to set zfs_recover via vfs.zfs.recover from /boot/loader.conf.

17 years agoMFp4: Hide under '#ifdef _KERNEL' only what's really needed.
pjd [Tue, 10 Apr 2007 12:52:14 +0000 (12:52 +0000)]
MFp4: Hide under '#ifdef _KERNEL' only what's really needed.

17 years agoMinor typo fix, noticed while I was going through *_pager.c files.
keramida [Tue, 10 Apr 2007 12:34:51 +0000 (12:34 +0000)]
Minor typo fix, noticed while I was going through *_pager.c files.

17 years agoExpand the description of the host's UUID.
ru [Tue, 10 Apr 2007 11:19:52 +0000 (11:19 +0000)]
Expand the description of the host's UUID.

OK'ed by: pjd

17 years agoSwap "underflow"/"overflow" in the table header.
ru [Tue, 10 Apr 2007 11:17:00 +0000 (11:17 +0000)]
Swap "underflow"/"overflow" in the table header.

Submitted by: Ricardo Nabinger Sanchez
MFC after: 3 days

17 years agoFix the NAMEI zone leak when snapshot was successfully created.
kib [Tue, 10 Apr 2007 09:31:42 +0000 (09:31 +0000)]
Fix the NAMEI zone leak when snapshot was successfully created.

Reported and tested by: Peter Holm
MFC after: 2 weeks

17 years agoRecalculate the NEWBLOCK flag for pagedep structure after the softdep
kib [Tue, 10 Apr 2007 09:30:41 +0000 (09:30 +0000)]
Recalculate the NEWBLOCK flag for pagedep structure after the softdep
lock is dropped, since pagedep may be already processed and deallocated.

Found and tested by: kris
MFC after: 2 weeks

17 years agoWhen LK_NOWAIT is passed as argument to process_worklist_item(), this
kib [Tue, 10 Apr 2007 09:28:17 +0000 (09:28 +0000)]
When LK_NOWAIT is passed as argument to process_worklist_item(), this
does not prevent handle_workitem_remove() from recursing into a blocking
version. Add the dirrem to worklist instead of processing it now if this
is the case.

Reported and tested by: kris
Submitted by: tegge
MFC after: 2 weeks

17 years agoFix an uninitialized variable warning.
thompsa [Tue, 10 Apr 2007 08:02:33 +0000 (08:02 +0000)]
Fix an uninitialized variable warning.

17 years agoUpdate to match revision 1.23 of touch.c.
grog [Tue, 10 Apr 2007 07:24:47 +0000 (07:24 +0000)]
Update to match revision 1.23 of touch.c.
Clarify some details.

17 years agoUsage: print base name of program.
grog [Tue, 10 Apr 2007 07:22:30 +0000 (07:22 +0000)]
Usage: print base name of program.

-A flag: respect the -a and -m flags.
 imply the -c flag.

Requested in principle by: brian

17 years agoMake use of ptrace(2) instead of procfs in truss(1), eliminating
delphij [Tue, 10 Apr 2007 04:03:34 +0000 (04:03 +0000)]
Make use of ptrace(2) instead of procfs in truss(1), eliminating
yet another need of an available /proc/ mount.

Tested with: make universe
Submitted by: howardsu
Reviewed by: alfred

17 years agoBump document date for new trunk commands.
thompsa [Tue, 10 Apr 2007 03:35:42 +0000 (03:35 +0000)]
Bump document date for new trunk commands.

17 years agoFix build, trunk is a device not an option.
thompsa [Tue, 10 Apr 2007 03:09:38 +0000 (03:09 +0000)]
Fix build, trunk is a device not an option.

17 years agoTry to stabilize ZFS with regard to memory consumption:
pjd [Tue, 10 Apr 2007 02:35:57 +0000 (02:35 +0000)]
Try to stabilize ZFS with regard to memory consumption:
- Allow to shrink ARC down to 16MB (instead of 64MB).
- Set arc_max to 1/2 of kmem_map by default.
- Start freeing things earlier when low memory situation is detected.
- Serialize execution of arc_lowmem().

I decided to setup minimum ZFS memory requirements to 512MB of RAM and 256MB of
kmem_map size. If there is less RAM or kmem_map, a warning will be printed.
World is cruel, be no better. In other words: modern file system requires
modern hardware:)

From ZFS administration guide:

"Currently the minimum amount of memory recommended to install a Solaris
 system is 512 Mbytes. However, for good ZFS performance, at least one
 Gbyte or more of memory is recommended."

17 years agoReduce diff against vendor - we have now stronger check for "mutex already
pjd [Tue, 10 Apr 2007 02:19:12 +0000 (02:19 +0000)]
Reduce diff against vendor - we have now stronger check for "mutex already
initialized", so we can go back to kmem_alloc().

17 years agoAdd trunk(4) module.
thompsa [Tue, 10 Apr 2007 00:41:31 +0000 (00:41 +0000)]
Add trunk(4) module.

17 years agoHook trunk(4) up to the build.
thompsa [Tue, 10 Apr 2007 00:35:31 +0000 (00:35 +0000)]
Hook trunk(4) up to the build.

17 years agoMark netstat -g host-mode output as deprecated.
bms [Tue, 10 Apr 2007 00:30:26 +0000 (00:30 +0000)]
Mark netstat -g host-mode output as deprecated.

MFC after: 2 weeks

17 years agoAdd the trunk(4) driver for providing link aggregation, failover and fault
thompsa [Tue, 10 Apr 2007 00:27:25 +0000 (00:27 +0000)]
Add the trunk(4) driver for providing link aggregation, failover and fault
tolerance.  This driver allows aggregation of multiple network interfaces as
one virtual interface using a number of different protocols/algorithms.

failover    - Sends traffic through the secondary port if the master becomes
              inactive.
fec         - Supports Cisco Fast EtherChannel.
lacp        - Supports the IEEE 802.3ad Link Aggregation Control Protocol
              (LACP) and the Marker Protocol.
loadbalance - Static loadbalancing using an outgoing hash.
roundrobin  - Distributes outgoing traffic using a round-robin scheduler
              through all active ports.

This code was obtained from OpenBSD and this also includes 802.3ad LACP support
from agr(4) in NetBSD.

17 years agoConsiderably rework the ifmcstat utility.
bms [Tue, 10 Apr 2007 00:26:12 +0000 (00:26 +0000)]
Considerably rework the ifmcstat utility.
 * Build with or without INET, INET6, or KVM features.
  * When built without KVM, the sysctl-based getifmaddrs() function
    is used as the back-end for the utility.
 * Reflect the fact that FreeBSD now uses the in_multi refcount as
   a true refcount.
 * Style.

The utility may now be run without super-user privilege, albeit with
a less detailed display, equivalent to that of the soon-to-be-retired
netstat -g host-mode output.

MFC after: 3 weeks

17 years agoRemove unused #define.
pjd [Mon, 9 Apr 2007 23:30:28 +0000 (23:30 +0000)]
Remove unused #define.

17 years agoBring rtld exports in line with corresponding symbols exported from
kan [Mon, 9 Apr 2007 23:00:29 +0000 (23:00 +0000)]
Bring rtld exports in line with corresponding symbols exported from
libc.

Disable SYMVER_DEFAULT n rtld until its implications are understood
better.

17 years agoFix a compiler warning so hash.h can be included in the kernel. This changes
thompsa [Mon, 9 Apr 2007 22:55:14 +0000 (22:55 +0000)]
Fix a compiler warning so hash.h can be included in the kernel. This changes
the args for hash32_stre and hash32_strne but there are no consumers in the
base system and openbgpd does not use it which the initial import was for.

Silence on: hackers

17 years agoClean-ip TLS symbol versions. [_]__tls_get_addr function is part of
kan [Mon, 9 Apr 2007 22:48:08 +0000 (22:48 +0000)]
Clean-ip TLS symbol versions. [_]__tls_get_addr function is part of
the platform ABI and as such does not belong in FBSDprivate.

__libc_tls_* functions do not have to be visible to outside world
at all.

17 years agoFix build breakage.
pjd [Mon, 9 Apr 2007 22:29:13 +0000 (22:29 +0000)]
Fix build breakage.

17 years agoAdd zfs_load here.
pjd [Mon, 9 Apr 2007 22:09:09 +0000 (22:09 +0000)]
Add zfs_load here.

Reminded by: bmah

17 years agoAdd prototype for generated ptraceopname function.
emaste [Mon, 9 Apr 2007 22:04:27 +0000 (22:04 +0000)]
Add prototype for generated ptraceopname function.

17 years agoRestore the locking for the sleep/wakeup to avoid waiting an extra 1 sec
njl [Mon, 9 Apr 2007 21:10:04 +0000 (21:10 +0000)]
Restore the locking for the sleep/wakeup to avoid waiting an extra 1 sec
if a race was lost.  We're still single-threaded at this point, but just
be safe for the future.

17 years agoDocument KERN_HOSTUUID.
pjd [Mon, 9 Apr 2007 20:21:49 +0000 (20:21 +0000)]
Document KERN_HOSTUUID.

Reminded by: ru

17 years agoRemove __P.
bms [Mon, 9 Apr 2007 19:52:44 +0000 (19:52 +0000)]
Remove __P.

17 years agoFix a bug whereby group addresses were incorrectly computed in the test.
bms [Mon, 9 Apr 2007 19:44:08 +0000 (19:44 +0000)]
Fix a bug whereby group addresses were incorrectly computed in the test.

[Since the change to strict refcounting for in_multi objects, this test
 began to fail; formerly the refcount was a count of the number of requests
 for a given address, NOT a count of pointers to the object.]

17 years agoClean up the root mount and mount wait code. No mutexes are needed here
njl [Mon, 9 Apr 2007 19:23:52 +0000 (19:23 +0000)]
Clean up the root mount and mount wait code.  No mutexes are needed here
since a spurious wakeup() is the only possible outcome and this is fine in
the BSD programming model.

17 years agoAdd rc.d/hostid script (turned on by default) which on first boot generates
pjd [Mon, 9 Apr 2007 19:21:27 +0000 (19:21 +0000)]
Add rc.d/hostid script (turned on by default) which on first boot generates
UUID and stores it in /etc/hostid ($hostid_file) as well as sets kern.hostuuid
and kern.hostid sysctls on every boot.

Hostid can be reset using '/etc/rc.d/hostid reset' command.

Hostid generation and setting can be turned off by setting variable
hostid_enable to "NO" in /etc/rc.conf.

Reviewed by: mlaier, rink, brooks, rwatson

17 years agoAdd kern.hostuuid sysctl, which will be used to keep host's UUID.
pjd [Mon, 9 Apr 2007 19:18:09 +0000 (19:18 +0000)]
Add kern.hostuuid sysctl, which will be used to keep host's UUID.

Reviewed by: mlaier, rink, brooks, rwatson

17 years agoMove uuidgen(1) from /usr/bin/ to /bin/. It will be used in rc.d/hostid
pjd [Mon, 9 Apr 2007 19:16:48 +0000 (19:16 +0000)]
Move uuidgen(1) from /usr/bin/ to /bin/. It will be used in rc.d/hostid
script, which will be executed before /usr/ mount.

Reviewed by: mlaier, rink, brooks, rwatson

17 years agoRemove static ptrace_ops array and extract ptrace op names from
emaste [Mon, 9 Apr 2007 19:16:24 +0000 (19:16 +0000)]
Remove static ptrace_ops array and extract ptrace op names from
sys/ptrace.h with mksubr.

17 years ago- Add my mentees, farrokhi@ and nox@
miwi [Mon, 9 Apr 2007 18:22:11 +0000 (18:22 +0000)]
- Add my mentees, farrokhi@ and nox@

Reviewed by:    flz

17 years agoThe old PacketAlias* API is not exported when
piso [Mon, 9 Apr 2007 17:08:27 +0000 (17:08 +0000)]
The old PacketAlias* API is not exported when
libalias run in kernel land.

17 years agothrow sun4v into the check while we're at it
kmacy [Mon, 9 Apr 2007 17:05:54 +0000 (17:05 +0000)]
throw sun4v into the check while we're at it

17 years agobusdma tags are opaque on all architectures except sparc64
kmacy [Mon, 9 Apr 2007 17:01:23 +0000 (17:01 +0000)]
busdma tags are opaque on all architectures except sparc64
for now simply don't compile/use on sparc64

17 years agocorrect copyright attribution; there was no copyright in the patches
sam [Mon, 9 Apr 2007 15:43:43 +0000 (15:43 +0000)]
correct copyright attribution; there was no copyright in the patches
from Andrea so I assigned him ownership; this corrects that

Submitted by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>

17 years agoDocument PT_GETNUMLWPS.
emaste [Mon, 9 Apr 2007 14:56:31 +0000 (14:56 +0000)]
Document PT_GETNUMLWPS.

17 years agoAdd myself
kevlo [Mon, 9 Apr 2007 14:34:17 +0000 (14:34 +0000)]
Add myself

17 years agoAdd myself
kevlo [Mon, 9 Apr 2007 14:26:38 +0000 (14:26 +0000)]
Add myself

17 years agoLINT on ia64 requires memset symbol too. Make fire it is present by adding
kan [Mon, 9 Apr 2007 14:02:18 +0000 (14:02 +0000)]
LINT on ia64 requires memset symbol too. Make fire it is present by adding
it to libkern on this architecture.

17 years agoSort sctp_*.c files.
andre [Mon, 9 Apr 2007 12:51:29 +0000 (12:51 +0000)]
Sort sctp_*.c files.

17 years agoApply "additional TCP options" earlier.
des [Mon, 9 Apr 2007 10:09:40 +0000 (10:09 +0000)]
Apply "additional TCP options" earlier.

Requested by: andre@
MFC after: 1 week

17 years agoFILESYSTEMS requires root, so requiring both of them is redundant.
des [Mon, 9 Apr 2007 08:53:40 +0000 (08:53 +0000)]
FILESYSTEMS requires root, so requiring both of them is redundant.

17 years agoAdd zfs to REQUIRE.
des [Mon, 9 Apr 2007 08:44:50 +0000 (08:44 +0000)]
Add zfs to REQUIRE.

17 years agoClean up error handling in archive_append to match how errors are
cperciva [Mon, 9 Apr 2007 08:22:34 +0000 (08:22 +0000)]
Clean up error handling in archive_append to match how errors are
handled in write_hierarchy.

Approved by: kientzle

17 years agoMake use of M_ZERO in various malloc calls.
scottl [Mon, 9 Apr 2007 05:47:32 +0000 (05:47 +0000)]
Make use of M_ZERO in various malloc calls.

17 years agoFix a logic bug that slipped in at the last minute and apparently escaped
scottl [Mon, 9 Apr 2007 05:43:02 +0000 (05:43 +0000)]
Fix a logic bug that slipped in at the last minute and apparently escaped
testing.

17 years agoAdd -A flag to adjust existing time stamps.
grog [Mon, 9 Apr 2007 02:19:37 +0000 (02:19 +0000)]
Add -A flag to adjust existing time stamps.
Print name by which program was started in usage() message.

MFC after:  2 weeks

17 years agosendmail upgraded to 8.14.1
gshapiro [Mon, 9 Apr 2007 01:47:58 +0000 (01:47 +0000)]
sendmail upgraded to 8.14.1

17 years agoUpdate for sendmail 8.14.1
gshapiro [Mon, 9 Apr 2007 01:46:43 +0000 (01:46 +0000)]
Update for sendmail 8.14.1

17 years agoThis FFR is no longer needed in sendmail 8.14
gshapiro [Mon, 9 Apr 2007 01:45:52 +0000 (01:45 +0000)]
This FFR is no longer needed in sendmail 8.14

17 years agoNew files in sendmail 8.14.1
gshapiro [Mon, 9 Apr 2007 01:45:30 +0000 (01:45 +0000)]
New files in sendmail 8.14.1

17 years agoResolve conflicts from sendmail 8.14.1 import
gshapiro [Mon, 9 Apr 2007 01:44:16 +0000 (01:44 +0000)]
Resolve conflicts from sendmail 8.14.1 import

17 years agoThis commit was generated by cvs2svn to compensate for changes in r168515,
gshapiro [Mon, 9 Apr 2007 01:38:51 +0000 (01:38 +0000)]
This commit was generated by cvs2svn to compensate for changes in r168515,
which included commits to RCS files with non-trunk default branches.

17 years agoImport sendmail 8.14.1
gshapiro [Mon, 9 Apr 2007 01:38:51 +0000 (01:38 +0000)]
Import sendmail 8.14.1

17 years agoInstead of detecting if lock is already initialized based on standard 1 bit
pjd [Mon, 9 Apr 2007 01:05:31 +0000 (01:05 +0000)]
Instead of detecting if lock is already initialized based on standard 1 bit
check, use more accurate 13 bits check. We had too many false-positives with
the standard check.

Reported by: mlaier

17 years agoAlways try to load zpool.cache instead of trying to find good place to
pjd [Mon, 9 Apr 2007 00:04:54 +0000 (00:04 +0000)]
Always try to load zpool.cache instead of trying to find good place to
document it. When there is no such file, it's invisible for the user.

17 years agoWe don't have to wait for the root file system to be mounted anymore, now that
pjd [Mon, 9 Apr 2007 00:03:45 +0000 (00:03 +0000)]
We don't have to wait for the root file system to be mounted anymore, now that
kobj KPI supports operating on files loaded by the loader.

17 years agoDrop the Giant lock before calling zfs_domount(), which is held when
pjd [Mon, 9 Apr 2007 00:02:11 +0000 (00:02 +0000)]
Drop the Giant lock before calling zfs_domount(), which is held when
mounting root file system.

17 years agoMove zpool.cache from /etc/zfs/ to /boot/zfs/, so we can keep it on
pjd [Sun, 8 Apr 2007 23:59:39 +0000 (23:59 +0000)]
Move zpool.cache from /etc/zfs/ to /boot/zfs/, so we can keep it on
dedicated /boot/ file system and use ZFS for the root file system.

17 years agoExtend kobj compatibility KPI to support operating on files before and
pjd [Sun, 8 Apr 2007 23:57:08 +0000 (23:57 +0000)]
Extend kobj compatibility KPI to support operating on files before and
after the root file system is mounted.
This is one of the changes that will allow to put root file system on ZFS.

17 years agoUse root_mounted().
pjd [Sun, 8 Apr 2007 23:54:23 +0000 (23:54 +0000)]
Use root_mounted().

17 years agoAdd root_mounted() function that returns true if the root file system is
pjd [Sun, 8 Apr 2007 23:54:01 +0000 (23:54 +0000)]
Add root_mounted() function that returns true if the root file system is
already mounted.

17 years agoAdd missing paren
kmacy [Sun, 8 Apr 2007 22:56:18 +0000 (22:56 +0000)]
Add missing paren

17 years agoBump __FreeBSDversion for CAM sg addition.
delphij [Sun, 8 Apr 2007 22:45:20 +0000 (22:45 +0000)]
Bump __FreeBSDversion for CAM sg addition.

Requested by: bsam

17 years agoOK, this is not my day, fix the former fix :/
sos [Sun, 8 Apr 2007 21:53:52 +0000 (21:53 +0000)]
OK, this is not my day, fix the former fix :/

17 years agoDue to the recent "aircrack-ptw" WEP cracking discovery, I thought
sam [Sun, 8 Apr 2007 21:18:15 +0000 (21:18 +0000)]
Due to the recent "aircrack-ptw" WEP cracking discovery, I thought
that it might be worth fixing a couple of bugs in wesside and making
it use the new cracking technique.  I think this enhancement makes
the tool quite usable.  It is possible to recover keys in only a
couple of minutes.

* Fix ACKs.  Firmware will ACK data [just set the MAC addr correctly].
* Fix RX routines.  Process all packets read().
* Use aircrack-ptw [built-in] rather than external aircrack.
* Log data in pcap format so that it may be used by others [e.g. aircrack-ng].

Submitted by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>

17 years agoHopefully unbreak the 64bit DMA support this time.
sos [Sun, 8 Apr 2007 19:18:51 +0000 (19:18 +0000)]
Hopefully unbreak the 64bit DMA support this time.

17 years agoremove stale variable reference
kmacy [Sun, 8 Apr 2007 18:02:37 +0000 (18:02 +0000)]
remove stale variable reference

17 years agoMFp4: Synchronize with recent OpenSolaris changes.
pjd [Sun, 8 Apr 2007 16:29:25 +0000 (16:29 +0000)]
MFp4: Synchronize with recent OpenSolaris changes.

17 years agoThere can be many reasons of VDEV failures, so log type as well.
pjd [Sun, 8 Apr 2007 16:05:23 +0000 (16:05 +0000)]
There can be many reasons of VDEV failures, so log type as well.

17 years agoadd busdma function for mapping mbuf iovecs
kmacy [Sun, 8 Apr 2007 15:59:07 +0000 (15:59 +0000)]
add busdma function for mapping mbuf iovecs
change m_collapse to return an error code

17 years agoProvide sample entries to handle ZFS problem reports.
pjd [Sun, 8 Apr 2007 15:56:49 +0000 (15:56 +0000)]
Provide sample entries to handle ZFS problem reports.
It'd be nice to send them via e-mail...

17 years ago- Use 'name=value' so it can be properly recognized by devd(8).
pjd [Sun, 8 Apr 2007 15:55:48 +0000 (15:55 +0000)]
- Use 'name=value' so it can be properly recognized by devd(8).
- Use only subclass as devd's type.

17 years agoDont zero out 64BIT flag on DMA ops.
sos [Sun, 8 Apr 2007 15:31:39 +0000 (15:31 +0000)]
Dont zero out 64BIT flag on DMA ops.

17 years agohook uipc_mvec.c into build
kmacy [Sun, 8 Apr 2007 15:18:03 +0000 (15:18 +0000)]
hook uipc_mvec.c into build