Age | Commit message (Collapse) | Author |
|
ok blambert@
|
|
most 0.5TB of disk. This is well below P1619-2007's recommendation
for AES-XTS of 1TB/key, but small enough so we can test that we
actually use multiple keys with inexpensive hardware.
We allocate 32 keys, so this will do for volumes up to 16TB.
Fix a crypto session leak in sr_crypto_free_resources()
much debugging help mshoexer@; ok hshoexer@ marco@
|
|
- the wskbd/wsmouse is not phantom, but actually is pre-paired keyboard/mice
talking wskbd/wsmouse to the os
this permits the bluetooth device to attach as wskbd/wsmouse using bluetooth
keyboards for ddb> and in general if you have paired them in an os that
supports flipping the funny bluetooth device into full bluetooth mode
ok drahn@
|
|
complete/cleanup the attachment cleanup code.
ok reyk@ jsg@
|
|
PR_WAITOK | PR_LIMITFAIL. from discussion with art. ok ryan claudio thib
|
|
ok reyk@
|
|
|
|
errors before issuing INQUIRY. Fixes Sony YE-Data floppy drive and
probably other devices at the cost of possibly breaking some 10 year
old CD-ROM drives. Un-special cases mvme68k which was forcing these
initial TURs.
Now wait for the inevitable weird USB device that breaks to surface.
ok marco@ deraadt@
|
|
rest of NFS code, canonical for() -> LIST_FOREACH() change, minor
readability changes.
ANSIfy function while here.
ok thib@
|
|
This makes it easier to add trunk protocols that consume some packets.
Add a special case for the failover protocol, to prevent shoving
duplicates to bpf. (Not beautiful, but it has to do for the moment).
OK reyk@, claudio@
|
|
In brelse, if we end up in the B_INVAL case without mappings, check
for B_WANTED and wake up the sleeper if there's one before freeing the
buffer. This shouldn't happen, but it looks like there might actually
be some dodgy corner cases in nfs where this could just happen if the
phase of the moon is right and the wind is blowing from the right
direction.
thib@ ok
|
|
|
|
ok blambert@
|
|
contents of this file inside #ifdef _KERNEL; there's nothing here that
userland should ever need/touch.
but then again, some userland programs define _KERNEL before they include
kernel header files *shrugh*...
survived a build, OK blambert@
|
|
crypto. It's still considered experimental!
ok djm marco
|
|
been correctly decrypted using the masking key.
The check code is a HMAC-SHA1 over the disk keys using a hash of
the masking key. It should be slow enough to provide no useful
brute force success oracle and should not leak significant data about
the masking key or disk keys.
ok hshoexer@ marco@
|
|
Reduces the amount of dmesg noise.
Tested and OK mcbride@
|
|
from ether_input() into trunk_input() where it can be handled in a smarter way.
OK claudio@ and reyk@ on an earlier version.
|
|
bnx(4) (BCM5706/BCM5708) adapters.
Thanks to Balázs Nagy <bnagy at thenewpush dot com> for
providing remote access to a Inventec IB4220 blade with
fiber BCM5780 interfaces and David Christensen at Broadcom
for providing BCM5708 2.5Gbps adapters.
Tested with various existing copper adapters and the above
mentioned adapters.
Some inspiration from similar changes to FreeBSD's brgphy(4)
driver.
|
|
depends on them being set. This should be the removal of the original
return-to-userland-to-authenticate code that was apparently an unfinished
experiment.
ok thib@
|
|
Rescue nfsm_reqhead macro name and rename nfsm_reqh.
End of one-liners from nfsm_subs.h.
ok thib@
|
|
reserved space in case we ever want to support a different scheme
ok hshoexer@ marco@
|
|
can not supply the correct nexthop if the nexthop is changed. So if the
route we want to change is a non-multipath one allow the change to succeed.
This unbreaks RTM_CHANGE in most situations. Found by jsing@ Ok henning@
|
|
|
|
ok marco djm
|
|
system for the bridge ID for stp. That worksfine unless you have
two bridges in the system that talkto the same neighboring systems
(switches), because the two bridges on the openbsd system would have the
same ID.
fix by only looking at interfaces part of the bridge and using the lowest
mac address of these. works fine because stpcan only be enabled on
IFT_ETHER interfaces so there is always at least one and we re-evaluate
every time an interface is added or deleted from the bridge.
diff was rotting in my tree for at least a year, I have no idea what
triggered it really.
ok reyk mk djm
|
|
parts in #ifdef _KERNEL; makes softraidvar.h usable from userland
ok hshoexer@
|
|
mask key from userland. Thus, modify sr_crypto_get_kdf() do correclty handle
copying kdf hint and/or mask key.
While there, remove superflous sr_read_meta().
ok marco djm
|
|
other drivers.
|
|
|
|
ok blambert@
|
|
On socppc it has the subclass PCI_SUBCLASS_MASS_STORAGE_MISC
so without the quirk socppc will not find its disk.
-moj
|
|
ok @marco
|
|
|
|
not randomly skip probing for devices after a missing device.
ok kettenis
|
|
From davidch @ FreeBSD
|
|
sure to #include "foo.h" in all code that uses the softc,
otherwise some object files will have a different idea of how
big the softc struct is.
This will result in things like part of the softc, say the interrupt
handler being overridden by other data. Putting printfs in the
main object file will look fine as it has the right idea as to
what the size is. It is only after several hours debugging
that you start to figure out what the hell is going on.
jsing started trying to figure out the problem and got hints
from kettenis that it likely wasn't an interrupt problem,
after quite a bit of head scratching with joel I eventually spotted
the problem.
ok reyk@ jsing@
|
|
This restores the old behaviour where we were checking for != LINK_STATE_DOWN.
Fixes the ethernet to wireless failover feature and also allows trunk(4)
to be used within qemu.
Tested by sturm@.
OK reyk@. "grumble, we should fix more drivers' link state handling" brad@
|
|
it once at start instead.
|
|
|
|
ok @marco
|
|
|
|
OK robert@
|
|
|
|
|
|
debug output shows the xs/command before it's issued rather than
displaying it on command completion. Some commands don't come back
and it would be nice to see their details.
While here nuke invocations of scsi_show* in umass. If you want SCSI
debug output use SCSI debug options.
Only affects SCSI debug output.
ok marco@
|
|
to support authentication other than AUTH_UNIX will replace this
with a (hopefully) much better system.
ok thib@
|
|
the function it was named after took 4 arguments instead of 2.
"get it in; get it in; get it in" thib@
|
|
with biomem and art has no idea how it got there.
ok art@ thib@
|
|
|