dragonfly.git
12 years agocryptsetup - switch to libdm
Alex Hornung [Sat, 16 Jul 2011 13:59:42 +0000 (14:59 +0100)]
cryptsetup - switch to libdm

12 years agocryptdisks - switch over to libdm
Alex Hornung [Sat, 16 Jul 2011 13:46:32 +0000 (14:46 +0100)]
cryptdisks - switch over to libdm

12 years agotcplay - switch to using libdm
Alex Hornung [Sat, 16 Jul 2011 11:02:52 +0000 (12:02 +0100)]
tcplay - switch to using libdm

12 years agobsd.libnames.mk - add libdm
Alex Hornung [Sat, 16 Jul 2011 07:30:34 +0000 (08:30 +0100)]
bsd.libnames.mk - add libdm

12 years agomdoc.local - add libdm
Alex Hornung [Sat, 16 Jul 2011 07:29:33 +0000 (08:29 +0100)]
mdoc.local - add libdm

12 years agolibdm - bind into build
Alex Hornung [Fri, 15 Jul 2011 22:09:11 +0000 (23:09 +0100)]
libdm - bind into build

12 years agolibdm - a simple BSD-licensed libdevmapper
Alex Hornung [Fri, 15 Jul 2011 09:05:45 +0000 (10:05 +0100)]
libdm - a simple BSD-licensed libdevmapper

12 years agodm - sync_devs() on creation, add new dict entries
Alex Hornung [Fri, 15 Jul 2011 21:59:17 +0000 (22:59 +0100)]
dm - sync_devs() on creation, add new dict entries

 * call sync_devs() on device creation to ensure all devices are visible
   in userland immediately after return from kernel.

 * add some new, so far unusued, dict entries

 * sneak in my copyright as I've rewritten large parts of dm. That way
   at least everyone knows who to blame for broken stuff :)

12 years agodm - add message support (one-way)
Alex Hornung [Fri, 15 Jul 2011 06:45:55 +0000 (07:45 +0100)]
dm - add message support (one-way)

12 years agodm - get rid of excessive locking and redundancy
Alex Hornung [Thu, 14 Jul 2011 18:43:15 +0000 (19:43 +0100)]
dm - get rid of excessive locking and redundancy

 * Just use dev->si_drv1 for the strategy, disk ioctl and dump as the
   underlying device and 'dmv' is guaranteed not to go away. Keep the
   locked approach (dm_dev_lookup) for open, close, and mapper ioctls to
   ensure that we never rip out any node that's still in use.

 * This eliminates exclusive locking in the IO path, which should
   improve performance.

12 years agoinitrd - add tcplay root mount support
Alex Hornung [Tue, 12 Jul 2011 17:13:05 +0000 (18:13 +0100)]
initrd - add tcplay root mount support

12 years agobsd.libnames.mk - add libtcplay
Alex Hornung [Tue, 12 Jul 2011 15:48:52 +0000 (16:48 +0100)]
bsd.libnames.mk - add libtcplay

12 years agocryptdisks - add (preliminary) tcplay support
Alex Hornung [Tue, 12 Jul 2011 13:11:41 +0000 (14:11 +0100)]
cryptdisks - add (preliminary) tcplay support

12 years agomdoc.local - add libtcplay
Alex Hornung [Tue, 12 Jul 2011 13:44:23 +0000 (14:44 +0100)]
mdoc.local - add libtcplay

12 years agotcplay - bring in
Alex Hornung [Tue, 12 Jul 2011 14:09:32 +0000 (15:09 +0100)]
tcplay - bring in

 - tcplay is a fully-compatible TrueCrypt implementation, including
   cascaded ciphers, creating volumes, hidden volumes, protecting hidden
   volumes, mapping system volumes, etc... written from scratch.

12 years agodm_target_crypt - use per-instance mpipes, KTR
Alex Hornung [Wed, 13 Jul 2011 20:41:43 +0000 (21:41 +0100)]
dm_target_crypt - use per-instance mpipes, KTR

 * Add KTR support (KTR_DMCRYPT) to monitor the read and write strategy
   paths.

 * Make the mpipes for reads and writes per-instance instead of for all
   targets. This solves the issue where two instances are interdependent
   and one starves the other, which will cause a deadlock. This way each
   instance is guaranteed to have some buffers.

 * Change the maximum size of the mpipes from 0.5% of physical memory to
   0.2%, as this limit is now per-instance and an average of 2 or 3
   crypt targets sounds reasonable.

12 years agoktr.4: Document the debug.ktr.resynchronize sysctl.
Sascha Wildner [Sat, 16 Jul 2011 13:32:18 +0000 (15:32 +0200)]
ktr.4: Document the debug.ktr.resynchronize sysctl.

12 years agoktr.4: Do some cleanup.
Sascha Wildner [Sat, 16 Jul 2011 12:52:17 +0000 (14:52 +0200)]
ktr.4: Do some cleanup.

12 years agokernel: Suppress the generation of unused debug.ktr.*_enable sysctls.
Sascha Wildner [Sat, 16 Jul 2011 12:44:55 +0000 (14:44 +0200)]
kernel: Suppress the generation of unused debug.ktr.*_enable sysctls.

12 years agoktr.9: Add a few words about KTR_INFO_MASTER_EXTERN().
Sascha Wildner [Sat, 16 Jul 2011 11:43:45 +0000 (13:43 +0200)]
ktr.9: Add a few words about KTR_INFO_MASTER_EXTERN().

12 years agobinutils: Build gprof with binutils 2.21.1
John Marino [Sat, 16 Jul 2011 12:35:10 +0000 (14:35 +0200)]
binutils: Build gprof with binutils 2.21.1

12 years agobinutils: Update binutils 2.21 makefiles and READMEs
John Marino [Sat, 16 Jul 2011 12:30:15 +0000 (14:30 +0200)]
binutils: Update binutils 2.21 makefiles and READMEs

12 years agoMerge branch 'vendor/BINUTILS221'
John Marino [Sat, 16 Jul 2011 12:08:11 +0000 (14:08 +0200)]
Merge branch 'vendor/BINUTILS221'

Conflicts:
contrib/binutils-2.21/bfd/doc/bfdver.texi
contrib/binutils-2.21/binutils/doc/addr2line.1
contrib/binutils-2.21/binutils/doc/ar.1
contrib/binutils-2.21/binutils/doc/elfedit.1
contrib/binutils-2.21/binutils/doc/nm.1
contrib/binutils-2.21/binutils/doc/objcopy.1
contrib/binutils-2.21/binutils/doc/objdump.1
contrib/binutils-2.21/binutils/doc/ranlib.1
contrib/binutils-2.21/binutils/doc/readelf.1
contrib/binutils-2.21/binutils/doc/size.1
contrib/binutils-2.21/binutils/doc/strings.1
contrib/binutils-2.21/binutils/doc/strip.1
contrib/binutils-2.21/gas/doc/as.1
contrib/binutils-2.21/ld/ld.1

12 years agobinutils: Import binutils 2.21.1 files on vendor branch vendor/BINUTILS221
John Marino [Sat, 16 Jul 2011 11:41:57 +0000 (13:41 +0200)]
binutils: Import binutils 2.21.1 files on vendor branch

12 years agoktr.4: Forgot an .El
Sascha Wildner [Sat, 16 Jul 2011 11:08:23 +0000 (13:08 +0200)]
ktr.4: Forgot an .El

12 years agoktr.4/ktr.9: Update and fix various things in our ktr manual pages.
Sascha Wildner [Sat, 16 Jul 2011 11:03:56 +0000 (13:03 +0200)]
ktr.4/ktr.9: Update and fix various things in our ktr manual pages.

* Document the ktr sysctls.

* KTR_INFO()'s maskbit is not unused as the manpage claims. Add a few
  words about it.

* Remove an obsolete reference to 'ptr'.

12 years agoktr(4): Ensure that KTR_ENTRIES is 2^n and document that it has to be.
Sascha Wildner [Sat, 16 Jul 2011 09:52:08 +0000 (11:52 +0200)]
ktr(4): Ensure that KTR_ENTRIES is 2^n and document that it has to be.

Reported-by: alexh
12 years agogdbinit: Fix typo.
Sascha Wildner [Fri, 15 Jul 2011 16:27:56 +0000 (18:27 +0200)]
gdbinit: Fix typo.

12 years agokernel - Add debugging and attempt to fix vm_prefault issue
Matthew Dillon [Thu, 14 Jul 2011 01:21:10 +0000 (18:21 -0700)]
kernel - Add debugging and attempt to fix vm_prefault issue

* Add debugging assertions and attempt to fix a race in the vm_prefault
  code when running through backing_object chains.

* The fix may be incomplete, we really need a way to determine whether any
  chain element has changed state during the scan.  The generation count
  may be too excessive as it also covers vm_page insertions.

Reported-by: Peter Avalos <peter@theshell.com>
12 years agogdbinit: Some little simplification.
Sascha Wildner [Tue, 12 Jul 2011 19:02:07 +0000 (21:02 +0200)]
gdbinit: Some little simplification.

12 years agogdbinit: Add a function to show the unread portion of the kernel msgbuf.
Sascha Wildner [Tue, 12 Jul 2011 18:39:17 +0000 (20:39 +0200)]
gdbinit: Add a function to show the unread portion of the kernel msgbuf.

kgdb only shows this at the start via a hard coded function. This
function is handy if you want to see it again and are too lazy to
scroll up or when it's out of the scrollback.

12 years agokernel/printcpuinfo(): Sync feature bit descriptions with FreeBSD.
Sascha Wildner [Mon, 11 Jul 2011 20:18:18 +0000 (22:18 +0200)]
kernel/printcpuinfo(): Sync feature bit descriptions with FreeBSD.

12 years agovga(4): Remove a bogus check.
Sascha Wildner [Mon, 11 Jul 2011 17:44:46 +0000 (19:44 +0200)]
vga(4): Remove a bogus check.

These are the remains of a larger chunk of code that I removed in
4e193d20. It was used to determine whether a MGA, CGA, EGA or VGA
was present in the box. I left the check in at the time because I
thought, why not?

However, ASpeed's VGA BIOS (at least as found on some Tyan S8230*
series motherboards) seems to have some flaws and ends up returning
0xf instead of 0x9. This caused vga(4) initialization to fail early
in the boot and no kernel messages would go to the screen.

Since the only thing that interests us is whether a VGA is present
or not, remove this check. There are other tests later on that will
detect what we want (such as checking the CRTC's address).

Reported-by: Francois Tigeot <ftigeot@wolfpond.org>
12 years agomsk(4): Pass through mii_mediachg() return value
Sepherosa Ziehau [Mon, 11 Jul 2011 07:01:53 +0000 (15:01 +0800)]
msk(4): Pass through mii_mediachg() return value

Obtained-from: FreeBSD 192720

12 years agomsk(4): Align RX buffer on 8bytes for hardware w/ ram buffer
Sepherosa Ziehau [Mon, 11 Jul 2011 06:50:07 +0000 (14:50 +0800)]
msk(4): Align RX buffer on 8bytes for hardware w/ ram buffer

Add another hardware bug workaround for Yukon II controllers that
have hardware ram buffer. The silicon bug seem to be triggered by
pause frames if receive buffer is not aligned on FIFO word(8 bytes).
To workaround the issue, make sure to align Rx buffers on 8 bytes.
Unfortunately this workaround requires yet another Rx fixup for
strict alignment architecture machines to align IP header.

For newer hardwares that lacks ram buffer may not have this bug so
check number of available ram buffer size to see the existence of
ram buffer.

Obtained-frim: FreeBSD 183346

12 years agomsk(4): Workaround GMAC hardware hang of Yukon II on the receipt of pause frame
Sepherosa Ziehau [Mon, 11 Jul 2011 05:50:37 +0000 (13:50 +0800)]
msk(4): Workaround GMAC hardware hang of Yukon II on the receipt of pause frame

This bug seems to happen on certain hardware model/revision (e.g. 88E8053)
but it's not identified which hardwares are affected.  To workaround it,
inrease GMAC FIFO threshold by one FIFO word to flush received pause frames.

Obtained-from: FreeBSD 176652

12 years agoktrdump: handle %c in ktr format strings
Aggelos Economopoulos [Sun, 10 Jul 2011 21:44:04 +0000 (23:44 +0200)]
ktrdump: handle %c in ktr format strings

12 years agoMention the ktr format string limitations in ktr(9)
Aggelos Economopoulos [Sun, 10 Jul 2011 18:11:23 +0000 (20:11 +0200)]
Mention the ktr format string limitations in ktr(9)

12 years agoktrdump: fixup size modifiers for integers
Aggelos Economopoulos [Sun, 10 Jul 2011 17:49:49 +0000 (19:49 +0200)]
ktrdump: fixup size modifiers for integers

The 'j' modifier is actually {u,}intmax_t, not {s,}size_t. Correct that
and add support for 'z' while at it.

12 years agovfs_conf - remove dead struct
Alex Hornung [Sun, 10 Jul 2011 09:35:30 +0000 (10:35 +0100)]
vfs_conf - remove dead struct

12 years agovga(4): Fix the kernel build with VGA_NO_BIOS set.
Sascha Wildner [Sat, 9 Jul 2011 19:50:35 +0000 (21:50 +0200)]
vga(4): Fix the kernel build with VGA_NO_BIOS set.

Reported-by: Francois Tigeot <ftigeot@wolfpond.org>
12 years agokernel - Fix improper persist state in tcp
Matthew Dillon [Sat, 9 Jul 2011 18:37:05 +0000 (11:37 -0700)]
kernel - Fix improper persist state in tcp

* Fix another case where the persist timer could wind up getting set
  while in TCPS_SYN_RECEIVED.

12 years agoHAMMER VFS - Fix inconsistent atime updates on read()
Matthew Dillon [Sat, 9 Jul 2011 18:34:24 +0000 (11:34 -0700)]
HAMMER VFS - Fix inconsistent atime updates on read()

* HAMMER's optimization of the read() path to improve concurrency broke
  atime updates in the cache case.  There was a big XXX comment in the
  code about it.

* Fix the issue in a way that avoids acquiring the fs_token in the cache
  case.  If the ATIME flag is already set all we need to do is update
  ip->ino_data.atime.  If it is not set we have to get the fs_token and
  go through the normal transaction.

Reported-by: marino
12 years agokernel - Fix improper persist state in tcp
Matthew Dillon [Sat, 9 Jul 2011 06:45:22 +0000 (23:45 -0700)]
kernel - Fix improper persist state in tcp

* When TCP is doing a simultanious connect and sitting in the
  TCPS_SYN_RECEIVED state a degenerate 0 window (due to +SYN -ACK packets)
  case occurs where the code improperly tries to switch over from the
  retry timer to the persist timer, which panics.

  The invalid persist state was caught by code placed earlier in the
  year.

* Adjust the code to document the case and stay with the retry timer.

12 years agokernel: Fix compiling SMBFS and NETSMB into the x86_64 kernel.
Sascha Wildner [Sat, 9 Jul 2011 03:40:39 +0000 (05:40 +0200)]
kernel: Fix compiling SMBFS and NETSMB into the x86_64 kernel.

12 years agovkernel - enhance the pidfile option and fix memimg file scanning
Matthew Dillon [Fri, 8 Jul 2011 23:05:42 +0000 (16:05 -0700)]
vkernel - enhance the pidfile option and fix memimg file scanning

* Enhance the pidfile option to leave the file descriptor open and hold
  an active lock on the pidfile while the vkernel is running.

  This allows scripts to test whether the pidfile is real or stale.

* When scanning for memimg files only stop if we are unable to create
  a new file.  Skip files owned by other users instead of giving up.

* Adjust the vkernel manual page to document the pidfile feature.  Also
  document that -I can take a vknetd socket path.

12 years agoless(1): Raise WARNS to 2.
Sascha Wildner [Wed, 6 Jul 2011 20:00:11 +0000 (22:00 +0200)]
less(1): Raise WARNS to 2.

12 years agokernel: Move the est(4) source code to dev/powermng/est.
Sascha Wildner [Wed, 6 Jul 2011 19:58:18 +0000 (21:58 +0200)]
kernel: Move the est(4) source code to dev/powermng/est.

Just like the other related drivers (such as powernow(4)).

12 years agoInstall the est(4) manual page for both i386 and x86_64.
Sascha Wildner [Wed, 6 Jul 2011 19:11:36 +0000 (21:11 +0200)]
Install the est(4) manual page for both i386 and x86_64.

12 years agokernel: FWIW, allow the CPU_ENABLE_EST option for x86_64 kernels too.
Sascha Wildner [Wed, 6 Jul 2011 19:05:26 +0000 (21:05 +0200)]
kernel: FWIW, allow the CPU_ENABLE_EST option for x86_64 kernels too.

12 years agokernel: Remove obsolete comment.
Sascha Wildner [Wed, 6 Jul 2011 18:57:19 +0000 (20:57 +0200)]
kernel: Remove obsolete comment.

12 years agokernel: Fix buildkernel for kernel w/ 'options IPSEC', but w/o IPSEC_ESP
Thomas Nikolajsen [Wed, 6 Jul 2011 09:03:21 +0000 (11:03 +0200)]
kernel: Fix buildkernel for kernel w/ 'options IPSEC', but w/o IPSEC_ESP

12 years agoVKERNEL64: Sync to VKERNEL; i.e. add IPSEC, TMPFS & NULLFS
Thomas Nikolajsen [Wed, 6 Jul 2011 09:37:10 +0000 (11:37 +0200)]
VKERNEL64: Sync to VKERNEL; i.e. add IPSEC, TMPFS & NULLFS

12 years agovkernel64: Sync to vkernel modulo pc64
Thomas Nikolajsen [Wed, 6 Jul 2011 09:10:54 +0000 (11:10 +0200)]
vkernel64: Sync to vkernel modulo pc64

I.e. add conf/files files present in both platform/vkernel and platform/pc64.

This adds support for IPSEC

12 years agopadlock(4): Fix build
Thomas Nikolajsen [Wed, 6 Jul 2011 09:23:30 +0000 (11:23 +0200)]
padlock(4): Fix build

12 years agobce(4): Fix build
Thomas Nikolajsen [Wed, 6 Jul 2011 09:21:56 +0000 (11:21 +0200)]
bce(4): Fix build

12 years agocrypto(4,9) - update with new algorithms
Alex Hornung [Mon, 4 Jul 2011 18:18:08 +0000 (19:18 +0100)]
crypto(4,9) - update with new algorithms

12 years agounix(4): Mention SOCK_SEQPACKET
Sepherosa Ziehau [Mon, 4 Jul 2011 07:32:43 +0000 (15:32 +0800)]
unix(4): Mention SOCK_SEQPACKET

Reviewed-by: swildner@
12 years agodm - change remove_all traversal direction
Alex Hornung [Sun, 3 Jul 2011 15:33:25 +0000 (16:33 +0100)]
dm - change remove_all traversal direction

 * Make remove_all iterate backwards, so that devices that depend on
   other dm volumes created earlier are removed first; otherwise
   remove_all stops at the first dm volume on which another one depends.

12 years agokernel: Little style(9) issue.
Sascha Wildner [Sun, 3 Jul 2011 15:08:54 +0000 (17:08 +0200)]
kernel: Little style(9) issue.

12 years agobce(4): Add more definition for the RX frame header
Sepherosa Ziehau [Sun, 3 Jul 2011 08:10:07 +0000 (16:10 +0800)]
bce(4): Add more definition for the RX frame header

Obtained-from: FreeBSD 218423

12 years agobce(4): Update firmware to 6.0.x
Sepherosa Ziehau [Sun, 3 Jul 2011 08:08:53 +0000 (16:08 +0800)]
bce(4): Update firmware to 6.0.x

Obtained-from: FreeBSD 218529

12 years agodevfs - replace subname* with related* functions
Alex Hornung [Sun, 3 Jul 2011 00:16:43 +0000 (01:16 +0100)]
devfs - replace subname* with related* functions

 * Completely remove the subname* cruft that removed devices based on
   whether they started with a given string. This was used to remove,
   for example, all slices and partitions whenever a disk was removed.
   The issue with it was that it was solely based on name, so if one
   created for example two (unrelated) dm volumes, called "foo1" and
   "foo1234", then removing "foo1" would leave "foo1234" dangling.

 * Instead we introduce the concept of devices (cdevs) having parents:
   now the slices have the disk as their parent, and the partitions have
   the slice as their parents. The related* functions in devfs
   recursively deal with these relationships given a parent node.

 * This fix will be MFC'ed in a week or two if no issues pop up.

12 years agoSort the file list in /usr/share/examples/etc.
Sascha Wildner [Sun, 3 Jul 2011 02:38:59 +0000 (04:38 +0200)]
Sort the file list in /usr/share/examples/etc.

12 years agoUpdate the README in /usr/share/examples/etc.
Sascha Wildner [Sun, 3 Jul 2011 02:18:51 +0000 (04:18 +0200)]
Update the README in /usr/share/examples/etc.

12 years agoRemove obsolete file.
Sascha Wildner [Sun, 3 Jul 2011 01:57:52 +0000 (03:57 +0200)]
Remove obsolete file.

12 years agoMerge branch 'vendor/LESS'
Peter Avalos [Sat, 2 Jul 2011 22:50:40 +0000 (12:50 -1000)]
Merge branch 'vendor/LESS'

12 years agoImport less-444.
Peter Avalos [Sat, 2 Jul 2011 22:49:01 +0000 (12:49 -1000)]
Import less-444.

Fix ungetc bug; remove vestiges of obsolete -l option.

12 years agomake upgrade: Remove various old files that were forgotten over the years.
Sascha Wildner [Sat, 2 Jul 2011 20:49:10 +0000 (22:49 +0200)]
make upgrade: Remove various old files that were forgotten over the years.

12 years agodm_target_crypt - Add twofish & serpent support
Alex Hornung [Sat, 2 Jul 2011 14:54:55 +0000 (15:54 +0100)]
dm_target_crypt - Add twofish & serpent support

 * Adds both CBC and XTS mode support for both Twofish and Serpent

12 years agoopencrypto - Add serpent & twofish XTS modes
Alex Hornung [Sat, 2 Jul 2011 14:17:32 +0000 (15:17 +0100)]
opencrypto - Add serpent & twofish XTS modes

 * also minor cleanup

12 years agotests - minor cosmetic fix
Alex Hornung [Sat, 2 Jul 2011 12:26:42 +0000 (13:26 +0100)]
tests - minor cosmetic fix

12 years agotests - add serpent via cryptodev tests
Alex Hornung [Sat, 2 Jul 2011 12:18:37 +0000 (13:18 +0100)]
tests - add serpent via cryptodev tests

12 years agoopencrypto - add serpent support to cryptosoft/dev
Alex Hornung [Sat, 2 Jul 2011 12:14:38 +0000 (13:14 +0100)]
opencrypto - add serpent support to cryptosoft/dev

12 years agocrypto - Add Serpent implementation
Alex Hornung [Sat, 2 Jul 2011 12:07:01 +0000 (13:07 +0100)]
crypto - Add Serpent implementation

12 years agobce(4): Correct ifmedia related bits
Sepherosa Ziehau [Sat, 2 Jul 2011 11:58:41 +0000 (19:58 +0800)]
bce(4): Correct ifmedia related bits

- Changing media in bce_stop() is not necessary at all
- Pass through error code returned by mii_mediachg()

Obtained-from: FreeBSD 210260 210261

12 years agobce(4): Detect context initialization failure
Sepherosa Ziehau [Sat, 2 Jul 2011 11:37:24 +0000 (19:37 +0800)]
bce(4): Detect context initialization failure

Obtained-from: FreeBSD 210259

12 years agobce(4): Avoid NULL pointer access, if no flash info could be found
Sepherosa Ziehau [Sat, 2 Jul 2011 11:28:55 +0000 (19:28 +0800)]
bce(4): Avoid NULL pointer access, if no flash info could be found

Obtained-from: FreeBSD 210257

12 years agobce(4): Track bootcode status
Sepherosa Ziehau [Sat, 2 Jul 2011 10:58:44 +0000 (18:58 +0800)]
bce(4): Track bootcode status

Obtained-from: FreeBSD 206268 (partial)

12 years agobce(4): Print detailed device information only if bootverbose is enabled
Sepherosa Ziehau [Sat, 2 Jul 2011 10:24:24 +0000 (18:24 +0800)]
bce(4): Print detailed device information only if bootverbose is enabled

12 years agobce(4): - Added a workaround for NC-SI management firmware
Sepherosa Ziehau [Sat, 2 Jul 2011 10:17:33 +0000 (18:17 +0800)]
bce(4): - Added a workaround for NC-SI management firmware

That firmware would allow frames to be accepted while the driver
is resetting the hardware.  This failure is generally observed
when broadcast frames are received during driver load and will
generate "Unable to write CTX memory" errors.

Obtained-from: FreeBSD 202717

12 years agobce(4): Create dedicated shared memory access routines.
Sepherosa Ziehau [Wed, 29 Jun 2011 13:41:56 +0000 (21:41 +0800)]
bce(4): Create dedicated shared memory access routines.

Add code to read bootcode firwmare version.

Obtained-from: FreeBSD 194781

12 years agotests - add twofish via cryptodev tests
Alex Hornung [Sat, 2 Jul 2011 10:58:07 +0000 (11:58 +0100)]
tests - add twofish via cryptodev tests

12 years agoopencrypto - add twofish support to cryptosoft/dev
Alex Hornung [Sat, 2 Jul 2011 09:53:33 +0000 (10:53 +0100)]
opencrypto - add twofish support to cryptosoft/dev

12 years agocrypto - Add Twofish implementation
Alex Hornung [Sat, 2 Jul 2011 09:33:16 +0000 (10:33 +0100)]
crypto - Add Twofish implementation

12 years agoopencrypto - Add AES GCM/GMAC support
Alex Hornung [Mon, 27 Jun 2011 20:17:24 +0000 (21:17 +0100)]
opencrypto - Add AES GCM/GMAC support

Obtained-from: OpenBSD

12 years agoopencrypto - (minor) sync with OpenBSD
Alex Hornung [Mon, 27 Jun 2011 18:07:03 +0000 (19:07 +0100)]
opencrypto - (minor) sync with OpenBSD

12 years agotcp: Remove PR_IMPLOPCL; it had been invented to support T/TCP
Sepherosa Ziehau [Fri, 1 Jul 2011 05:08:44 +0000 (13:08 +0800)]
tcp: Remove PR_IMPLOPCL; it had been invented to support T/TCP

Since we have dropped T/TCP support, keep this flag in place could
confuse TCP processing in protocol threads.

12 years agohammer(8) - Fix snapshot count in info directive.
Antonio Huete Jimenez [Thu, 30 Jun 2011 19:55:53 +0000 (21:55 +0200)]
hammer(8) - Fix snapshot count in info directive.

- We were wrongly using the HAMMER filesystem fd instead of a per-PFS one.
- Adapt the snapshot count in the case of error

12 years agokernel: Remove BCE_NVRAM_WRITE_SUPPORT option.
Sascha Wildner [Thu, 30 Jun 2011 03:59:13 +0000 (05:59 +0200)]
kernel: Remove BCE_NVRAM_WRITE_SUPPORT option.

12 years agojail - Automatically mount devfs filesystem in every jail if specified.
Antonio Huete Jimenez [Wed, 29 Jun 2011 22:34:13 +0000 (00:34 +0200)]
jail - Automatically mount devfs filesystem in every jail if specified.

Obtained-from: FreeBSD

12 years agorc.conf - Fix a wrong reference for jail_procfs_enable
Antonio Huete Jimenez [Wed, 29 Jun 2011 21:41:41 +0000 (23:41 +0200)]
rc.conf - Fix a wrong reference for jail_procfs_enable

12 years agokernel: Fix building with BCE_DEBUG.
Sascha Wildner [Wed, 29 Jun 2011 20:33:09 +0000 (22:33 +0200)]
kernel: Fix building with BCE_DEBUG.

12 years agodf(1): Properly indent.
Sascha Wildner [Wed, 29 Jun 2011 16:34:53 +0000 (18:34 +0200)]
df(1): Properly indent.

12 years agodf - Properly handle paths passed when -t is used.
Antonio Huete Jimenez [Wed, 29 Jun 2011 16:07:04 +0000 (18:07 +0200)]
df - Properly handle paths passed when -t is used.

Show only the related mount points for the specified filesystem(s) when
option -t is used.

Obtained-from: FreeBSD

12 years agoetc/rc.d/lvm: Set permissions to 644 like elsewhere.
Sascha Wildner [Wed, 29 Jun 2011 09:49:02 +0000 (11:49 +0200)]
etc/rc.d/lvm: Set permissions to 644 like elsewhere.

12 years agobce(4): Update to 4.6.x firmware
Sepherosa Ziehau [Tue, 28 Jun 2011 14:29:44 +0000 (22:29 +0800)]
bce(4): Update to 4.6.x firmware

Obtained-from: FreeBSD 189325

12 years agobce(4): Add several HP OEM parts' PCI IDs.
Sepherosa Ziehau [Tue, 28 Jun 2011 08:13:28 +0000 (16:13 +0800)]
bce(4): Add several HP OEM parts' PCI IDs.

Obtained-from: FreeBSD 187133 187317

12 years agobce(4): Don't count InFramesL2FilterDiscards into ifnet.if_ierrors
Sepherosa Ziehau [Tue, 28 Jun 2011 07:58:20 +0000 (15:58 +0800)]
bce(4): Don't count InFramesL2FilterDiscards into ifnet.if_ierrors

This value does not represent a real packet error but simply indicate
that an unexpected unicast or multicast error was received by the NIC,
which was not counted in the past as well.

Obtained-from: FreeBSD 186169

12 years agoSync zoneinfo database with tzdata2011h from elsie.nci.nih.gov
Sascha Wildner [Tue, 28 Jun 2011 05:58:19 +0000 (07:58 +0200)]
Sync zoneinfo database with tzdata2011h from elsie.nci.nih.gov

antarctica:     8.8  -> 8.9
asia:           8.64 -> 8.65
europe:         8.32 -> 8.33
iso3166.tab     8.6  -> 8.9
southamerica:   8.49 -> 8.50
zone.tab:       8.43 -> 8.45

* antarctica: Remove unused RussAQ rules.

* asia: Add comment on retaining "old" Russia rules for the benefit
    of Armenia.

* europe: Russia abandons DST in 2011 (thanks to Alexander Krivenyshev).
    "Old" Russia rules retained for now for Belarus.

* iso3166.tab: Change AN (Netherlands Antilles) to CW (Curacao).

* southamerica: Use links for places with new iso3166 codes.

* zone.tab: Change AN (Netherlands Antilles) to CW (Curacao).