dragonfly.git
20 months agopcidevs: regen
Sepherosa Ziehau [Tue, 24 Jul 2012 08:52:41 +0000 (16:52 +0800)]
pcidevs: regen

20 months agopcidevs: Add more PCI ids for BCM57785 family chips
Sepherosa Ziehau [Tue, 24 Jul 2012 08:52:11 +0000 (16:52 +0800)]
pcidevs: Add more PCI ids for BCM57785 family chips

20 months agobnx: BCM57791 and BCM57795 are 10/100 only
Sepherosa Ziehau [Tue, 24 Jul 2012 06:09:28 +0000 (14:09 +0800)]
bnx: BCM57791 and BCM57795 are 10/100 only

While im here, remove some unused code

20 months agobnx: Reconfigure DMA read/write control register
Sepherosa Ziehau [Tue, 24 Jul 2012 04:53:52 +0000 (12:53 +0800)]
bnx: Reconfigure DMA read/write control register

- Use default DMA write watermark (256bytes by default, was 128bytes)
- Don't touch reserved bits
- Disable 32bytes cache align; 64bytes cache align is left enabled

According-to: tg3

20 months agobnx: Enable MBUF low attention on buffer manager
Sepherosa Ziehau [Mon, 23 Jul 2012 09:17:58 +0000 (17:17 +0800)]
bnx: Enable MBUF low attention on buffer manager

According-to: tg3

20 months agobnx: Using 57765_FAMILY to conf Low Watermark Maximum Receive Frame Register
Sepherosa Ziehau [Sun, 22 Jul 2012 13:23:39 +0000 (21:23 +0800)]
bnx: Using 57765_FAMILY to conf Low Watermark Maximum Receive Frame Register

20 months agobnx: Properly configure PCI-E PL/DL registers and MAC clock speed
Sepherosa Ziehau [Sun, 22 Jul 2012 13:20:11 +0000 (21:20 +0800)]
bnx: Properly configure PCI-E PL/DL registers and MAC clock speed

According-to: tg3

20 months agobnx: Adjust RX/TX ring limit for BCM57785 family
Sepherosa Ziehau [Sun, 22 Jul 2012 10:52:55 +0000 (18:52 +0800)]
bnx: Adjust RX/TX ring limit for BCM57785 family

20 months agobnx: Remove unused code
Sepherosa Ziehau [Fri, 20 Jul 2012 09:43:24 +0000 (17:43 +0800)]
bnx: Remove unused code

20 months agobge/bnx: Avoid using magic register name
Sepherosa Ziehau [Fri, 20 Jul 2012 09:07:30 +0000 (17:07 +0800)]
bge/bnx: Avoid using magic register name

20 months agobnx: UDP hardware checksum offloading works
Sepherosa Ziehau [Fri, 20 Jul 2012 08:49:06 +0000 (16:49 +0800)]
bnx: UDP hardware checksum offloading works

20 months agobnx: Utilize BNX_IS_5717_PLUS
Sepherosa Ziehau [Fri, 20 Jul 2012 08:14:43 +0000 (16:14 +0800)]
bnx: Utilize BNX_IS_5717_PLUS

- Correctly disable 4 sending rings for BCM5718 family
- Correct NVRAM read offset.  NVRAM reading as no effect currently.

20 months agobnx: Add macros to further differentiate BCM57785 and BCM5718 families
Sepherosa Ziehau [Fri, 20 Jul 2012 07:31:12 +0000 (15:31 +0800)]
bnx: Add macros to further differentiate BCM57785 and BCM5718 families

20 months agowpa_cli(8): Add libedit support (using libedit's readline API).
Sascha Wildner [Tue, 24 Jul 2012 21:22:41 +0000 (23:22 +0200)]
wpa_cli(8): Add libedit support (using libedit's readline API).

Unfortunately, this introduces a warning which required lowering
WARNS to 0 for wpa_cli(8). I didn't feel like modifying contrib/
source for it.

Taken-from: FreeBSD
Tested-by: Johannes Hofmann <Johannes.Hofmann@gmx.de>
20 months agorc.d/netif: Require cleanvar.
Sascha Wildner [Tue, 24 Jul 2012 21:19:23 +0000 (23:19 +0200)]
rc.d/netif: Require cleanvar.

Before the ipfilter removal, netif required ipfilter, which required
ipmon, which required cleanvar. In other words, cleanvar was run before
netif.

With the ipfilter requirement removed from netif, cleanvar was now
ordered at some place after netif, which caused the PID file and
control socket of wpa_supplicant(8) (which is started by netif if an
ifconfig_xxx="WPA" line is found in /etc/rc.conf) to be removed from
/var/run by cleanvar after they were created.

This caused trouble for wpa_cli(8), which needs the socket.

Found-by: Johannes Hofmann <Johannes.Hofmann@gmx.de>
20 months agotftp(1): Add libedit support.
Sascha Wildner [Tue, 24 Jul 2012 12:31:40 +0000 (14:31 +0200)]
tftp(1): Add libedit support.

Taken-from:  FreeBSD

20 months agopam_exec.8: Fix references to nonexistent manual pages.
Sascha Wildner [Mon, 23 Jul 2012 20:50:51 +0000 (22:50 +0200)]
pam_exec.8: Fix references to nonexistent manual pages.

They exist in section 3, not 8, so reference those.

20 months agobc(1): Raise WARNS to 3 and fix a warning.
Sascha Wildner [Mon, 23 Jul 2012 17:38:29 +0000 (19:38 +0200)]
bc(1): Raise WARNS to 3 and fix a warning.

20 months agobc(1): Add libedit support.
Sascha Wildner [Mon, 23 Jul 2012 17:23:55 +0000 (19:23 +0200)]
bc(1): Add libedit support.

Reported-by: Pierre Abbat <phma@phma.optus.nu>
Taken-from:  FreeBSD

20 months agoaic7xxx: fix a pointer sign warning
François Tigeot [Mon, 23 Jul 2012 07:29:25 +0000 (09:29 +0200)]
aic7xxx: fix a pointer sign warning

20 months agoixgbe(4): Use MSI by default
François Tigeot [Sun, 22 Jul 2012 07:04:26 +0000 (09:04 +0200)]
ixgbe(4): Use MSI by default

20 months agompt.4: Mention that mpt(4) is available in VMware (player in my case).
Sascha Wildner [Sat, 21 Jul 2012 19:52:19 +0000 (21:52 +0200)]
mpt.4: Mention that mpt(4) is available in VMware (player in my case).

20 months agokenv.9: Improve wording after my last commit made it sound weird.
Sascha Wildner [Sat, 21 Jul 2012 18:56:46 +0000 (20:56 +0200)]
kenv.9: Improve wording after my last commit made it sound weird.

20 months agompt.4: Add missing .El
Sascha Wildner [Sat, 21 Jul 2012 18:48:23 +0000 (20:48 +0200)]
mpt.4: Add missing .El

20 months agompt(4): Use MSI on SAS adapters that support it.
Sascha Wildner [Sat, 21 Jul 2012 18:43:31 +0000 (20:43 +0200)]
mpt(4): Use MSI on SAS adapters that support it.

The hw.mpt.msi.enable tunable can be used to override this behavior.

Tested-by: ftigeot
20 months agokenv.9: kgetenv_*() functions actually return 1 if successful.
Sascha Wildner [Sat, 21 Jul 2012 18:33:03 +0000 (20:33 +0200)]
kenv.9: kgetenv_*() functions actually return 1 if successful.

20 months agoSync various files with tzcode2012c from ftp://ftp.iana.org/tz/releases
Sascha Wildner [Sat, 21 Jul 2012 09:35:27 +0000 (11:35 +0200)]
Sync various files with tzcode2012c from ftp://ftp.iana.org/tz/releases

Not much to see here. Mainly removal of RCS IDs and some minor
adjustments in localtime(3).

20 months agoaac(4): Sync with FreeBSD.
Sascha Wildner [Fri, 20 Jul 2012 20:42:07 +0000 (22:42 +0200)]
aac(4): Sync with FreeBSD.

Nothing spectacular. Race fixes, some cleanup and a sysctl for displaying
the firmware version.

20 months agotests: make the code in poll_1.c a little bit clearer
Markus Pfeiffer [Fri, 20 Jul 2012 19:02:26 +0000 (19:02 +0000)]
tests: make the code in poll_1.c a little bit clearer

* Add a smalÃl comment at the top of poll_1.c and use constants from
  poll.h
* While I am here also fix a typo in the Makefile

20 months agokernel - another attempt at fixing checkloop panic
Markus Pfeiffer [Thu, 19 Jul 2012 15:49:02 +0000 (15:49 +0000)]
kernel - another attempt at fixing checkloop panic

20 months agokernel/acpi_thermal: Clarify sysctl description and remove duplicate header.
Sascha Wildner [Fri, 20 Jul 2012 16:01:54 +0000 (18:01 +0200)]
kernel/acpi_thermal: Clarify sysctl description and remove duplicate header.

Taken-from: FreeBSD

20 months agoSync zoneinfo database with tzdata2012d from ftp://ftp.iana.org/tz/releases
Sascha Wildner [Fri, 20 Jul 2012 08:22:22 +0000 (10:22 +0200)]
Sync zoneinfo database with tzdata2012d from ftp://ftp.iana.org/tz/releases

* Removes the SCCS IDs

* africa: Morocco does not observe DST from Jul 20 03:00 to Aug 20 02:00.

20 months agolapic: Allow lapic enumeration to fail
Sepherosa Ziehau [Fri, 20 Jul 2012 02:59:08 +0000 (10:59 +0800)]
lapic: Allow lapic enumeration to fail

It is mainly used to workaround for some old brain dead BIOS, which
will set BSP's LAPIC apic id to 255, but all MADT LAPIC entries are
valid

Reported-by: klanger on #dragonflybsd
20 months agoapic: APIC ID should not be 255, which is used for broadcast
Sepherosa Ziehau [Fri, 20 Jul 2012 02:31:04 +0000 (10:31 +0800)]
apic: APIC ID should not be 255, which is used for broadcast

20 months agoLINT/LINT64: Fix some comments.
Sascha Wildner [Thu, 19 Jul 2012 22:28:44 +0000 (00:28 +0200)]
LINT/LINT64: Fix some comments.

20 months agokernel: Remove two duplicate words in messages.
Sascha Wildner [Thu, 19 Jul 2012 21:54:20 +0000 (23:54 +0200)]
kernel: Remove two duplicate words in messages.

20 months agobnx.4: Add a if_bnx(4) MLINK.
Sascha Wildner [Thu, 19 Jul 2012 07:40:11 +0000 (09:40 +0200)]
bnx.4: Add a if_bnx(4) MLINK.

20 months agobnx: Add manpage
Sepherosa Ziehau [Thu, 19 Jul 2012 07:29:30 +0000 (15:29 +0800)]
bnx: Add manpage

Reminded-by: swildner@
20 months agobnx: Add BCM5718 and BCM57785 chip families support
Sepherosa Ziehau [Sun, 15 Jul 2012 10:39:29 +0000 (18:39 +0800)]
bnx: Add BCM5718 and BCM57785 chip families support

Broadcom's new generation of chips will support RSS (multiple RX rings),
multiple TX rings (BCM5718 family only) and multi-vector MSI-X.  The old
chips supported by bge(4) is becoming burden, so new driver, bnx(4), is
created to support new chip families features.

Related changes obtained from FreeBSD if_bge.c:
214428 221445 221818 226871 228479

Also, PCI-E 1.0a mode is not forced for BCM5718 and BCM57785 chip families

20 months agoRemove more useless -offset in manual pages.
Sascha Wildner [Thu, 19 Jul 2012 02:51:02 +0000 (04:51 +0200)]
Remove more useless -offset in manual pages.

20 months agomfiutil.4: -width -indent -> -width indent
Sascha Wildner [Thu, 19 Jul 2012 02:33:53 +0000 (04:33 +0200)]
mfiutil.4: -width -indent -> -width indent

20 months agobluetooth.4: Remove useless -offset
Sascha Wildner [Thu, 19 Jul 2012 02:32:11 +0000 (04:32 +0200)]
bluetooth.4: Remove useless -offset

20 months agomii: regen
Sepherosa Ziehau [Thu, 19 Jul 2012 01:25:54 +0000 (09:25 +0800)]
mii: regen

20 months agomii: Update description string of BCM5720C
Sepherosa Ziehau [Thu, 19 Jul 2012 01:25:33 +0000 (09:25 +0800)]
mii: Update description string of BCM5720C

20 months agobrgphy: Add BCM5718C, BCM54680, BCM54880, BCM54640, BCM54685 and BCM54881
Sepherosa Ziehau [Wed, 18 Jul 2012 23:42:59 +0000 (07:42 +0800)]
brgphy: Add BCM5718C, BCM54680, BCM54880, BCM54640, BCM54685 and BCM54881

20 months agomii: regen
Sepherosa Ziehau [Wed, 18 Jul 2012 23:42:29 +0000 (07:42 +0800)]
mii: regen

20 months agomii: Add more model ids for PHYs from Broadcom
Sepherosa Ziehau [Wed, 18 Jul 2012 23:40:22 +0000 (07:40 +0800)]
mii: Add more model ids for PHYs from Broadcom

- BCM5717C should be BCM5720C according to the datasheet
- Add BCM5718C
- Add BCM54680, BCM54880, BCM54640, BCM54685 and BCM54881

21 months agoconfig_intrhook.9: Use .Dv for SI_* identifier.
Sascha Wildner [Wed, 18 Jul 2012 13:29:43 +0000 (15:29 +0200)]
config_intrhook.9: Use .Dv for SI_* identifier.

21 months agokernel/lwkt_msgport: Improve comments a bit.
Nuno Antunes [Mon, 16 Jul 2012 13:11:04 +0000 (14:11 +0100)]
kernel/lwkt_msgport: Improve comments a bit.

Reviewed-by: Sacha Wildner <swildner@>
21 months agobge: More register value definition
Sepherosa Ziehau [Wed, 18 Jul 2012 08:52:08 +0000 (16:52 +0800)]
bge: More register value definition

21 months agopci: regen pcidevs
Sepherosa Ziehau [Tue, 17 Jul 2012 23:56:34 +0000 (07:56 +0800)]
pci: regen pcidevs

21 months agopci: Add device ids for Broadcom BCM57785 and BCM5718 families
Sepherosa Ziehau [Tue, 17 Jul 2012 23:55:53 +0000 (07:55 +0800)]
pci: Add device ids for Broadcom BCM57785 and BCM5718 families

21 months agobge: Add register and chip id values for BCM57785 and BCM5718 families
Sepherosa Ziehau [Tue, 17 Jul 2012 13:29:23 +0000 (21:29 +0800)]
bge: Add register and chip id values for BCM57785 and BCM5718 families

Obtained-from: FreeBSD

21 months agoVFS quota: replace MNT_ACCOUNTING by MNT_QUOTA
François Tigeot [Sat, 14 Jul 2012 20:52:43 +0000 (22:52 +0200)]
VFS quota: replace MNT_ACCOUNTING by MNT_QUOTA

Getting back a bit of MNT_xxx flag space

21 months agobge: All chips using BGE_PCI_PRODID_ASICREV have CPMU
Sepherosa Ziehau [Tue, 17 Jul 2012 08:44:07 +0000 (16:44 +0800)]
bge: All chips using BGE_PCI_PRODID_ASICREV have CPMU

According-to: tg3

21 months agobge: Rework RWDMA configuration
Sepherosa Ziehau [Tue, 17 Jul 2012 07:07:15 +0000 (15:07 +0800)]
bge: Rework RWDMA configuration

According-to: tg3

21 months agobge: Don't bail, even if firmware hand shaking fails.
Sepherosa Ziehau [Tue, 17 Jul 2012 01:32:18 +0000 (09:32 +0800)]
bge: Don't bail, even if firmware hand shaking fails.

Firmware loading failure is actually nothing critcal.

According-to: tg3

21 months agobge: Increase firmware hand shake timeout
Sepherosa Ziehau [Tue, 17 Jul 2012 01:29:39 +0000 (09:29 +0800)]
bge: Increase firmware hand shake timeout

This allows BMC5761 to complete firmware hand shaking w/o timeout, when the
if_bge module is not loaded and the interface is brought up by using:
ifconfig bge0 inet ip4

21 months agosh: Fix sh from exiting with newer versions of libedit
Peter Avalos [Sun, 15 Jul 2012 08:10:09 +0000 (01:10 -0700)]
sh: Fix sh from exiting with newer versions of libedit

Obtained-from:  FreeBSD 238377

21 months agosh: mdoc nits.
Peter Avalos [Sun, 15 Jul 2012 07:56:18 +0000 (00:56 -0700)]
sh:  mdoc nits.

Obtained-from:: FreeBSD 233992 235400

21 months agosh: Work with make a little better:
Peter Avalos [Sun, 15 Jul 2012 07:50:18 +0000 (00:50 -0700)]
sh: Work with make a little better:

1.  Avoid a cd back into ${.CURDIR} to run mkbuiltins when we know make
    will first cd into ${.OBJDIR}. Keep the cwd to what make sets it to.
2.  Don't tell mkbuiltins where to write to (= ${.OBJDIR}), but where to
    get sources from (= ${.CURDIR}). This to compensate for point 1.

This fixes a problem with bmake's mk files that optimize ${.OBJDIR} to
expand to "." after changing cwd, not taking into account that the
target is pretty much undoing that and not getting the full path to the
object tree anymore.

Obtained-from:  FreeBSD 235927

21 months agosh: Remove unneeded header file.
Peter Avalos [Sun, 15 Jul 2012 07:42:30 +0000 (00:42 -0700)]
sh: Remove unneeded header file.

Obtained-from:  FreeBSD 235488

21 months agosh: Fix build with -DDEBUG=2.
Peter Avalos [Sun, 15 Jul 2012 07:40:55 +0000 (00:40 -0700)]
sh: Fix build with -DDEBUG=2.

Obtained-from: FreeBSD 233792

21 months agosh: Make 'hash' return 1 if at least one utility is not found.
Peter Avalos [Sun, 15 Jul 2012 07:31:52 +0000 (00:31 -0700)]
sh: Make 'hash' return 1 if at least one utility is not found.

Obtained-from: FreeBSD 231535

21 months agoUpdate the pciconf(8) database.
Sascha Wildner [Sun, 15 Jul 2012 06:44:27 +0000 (08:44 +0200)]
Update the pciconf(8) database.

July 11, 2012 snapshot from http://pciids.sourceforge.net/

21 months agokmod.mk: Update/add comments for FIRMWS & FIRMWARE_LICENSE (from FreeBSD).
Sascha Wildner [Sun, 15 Jul 2012 05:47:57 +0000 (07:47 +0200)]
kmod.mk: Update/add comments for FIRMWS & FIRMWARE_LICENSE (from FreeBSD).

21 months agogcc41/gcc44: Remove a modification to exclude -Wpointer-sign from -Wall.
Sascha Wildner [Sat, 14 Jul 2012 16:19:13 +0000 (18:19 +0200)]
gcc41/gcc44: Remove a modification to exclude -Wpointer-sign from -Wall.

We had this as a local change in our compilers but the problem with this
approach is that it needs to be added to each future compiler we support.

This isn't so much a problem with the compilers we have in base but with
those from pkgsrc that we support via CCVER and compilers.conf(5).

Instead, add -Wno-pointer-sign to our Makefiles whenever -Wall comes into
play.

21 months agoRemove bogus (void *) casts.
Sascha Wildner [Sat, 14 Jul 2012 03:39:42 +0000 (05:39 +0200)]
Remove bogus (void *) casts.

These are the cases where the function's prototype declares the
argument as void *.

21 months agoamr.4: Remove an unneeded .Pp
Sascha Wildner [Fri, 13 Jul 2012 15:46:45 +0000 (17:46 +0200)]
amr.4: Remove an unneeded .Pp

21 months agorc.d: rename vfs_accounting to vfs_quota
François Tigeot [Thu, 12 Jul 2012 20:19:04 +0000 (22:19 +0200)]
rc.d: rename vfs_accounting to vfs_quota

Rename the rc.d vfs_accounting_* variables to vfs_quota_* as well

21 months agotrek(6): Nuke the -a option along with the logfile argument (all unused).
Sascha Wildner [Thu, 12 Jul 2012 11:54:20 +0000 (13:54 +0200)]
trek(6): Nuke the -a option along with the logfile argument (all unused).

21 months agogames: Fix -Werror for gcc47.
Sascha Wildner [Thu, 12 Jul 2012 11:41:23 +0000 (13:41 +0200)]
games: Fix -Werror for gcc47.

* Remove unused variables and mark a few things __unused.

* Properly use socklen_t.

* Remove trek(6)'s undocumented -p option (which did nothing).

21 months agox86_64 FPU: Set 64-bit precision for fadd/fsub/fsqrt etc.
John Marino [Thu, 12 Jul 2012 11:15:12 +0000 (13:15 +0200)]
x86_64 FPU: Set 64-bit precision for fadd/fsub/fsqrt etc.

On AMD64, GCC and the ABI expects the x87 unit to be running in 80/64
mode rather than 64/53 mode seen on i386.  This corrects errors seen
in long double tests involving runtime calculations.  Previously, the
results of these runtime calculations would get rounded due to use
of 53-bit mantissas.

21 months agosysctl(8): Fix handling of uquad type sysctls (wrong variable was taken).
Sascha Wildner [Thu, 12 Jul 2012 11:11:37 +0000 (13:11 +0200)]
sysctl(8): Fix handling of uquad type sysctls (wrong variable was taken).

21 months agobge: Correct PHY test control register value name
Sepherosa Ziehau [Thu, 12 Jul 2012 07:05:59 +0000 (15:05 +0800)]
bge: Correct PHY test control register value name

21 months agoMerge branch 'master' of ssh://crater.dragonflybsd.org/repository/git/dragonfly
Matthew Dillon [Thu, 12 Jul 2012 02:50:40 +0000 (19:50 -0700)]
Merge branch 'master' of ssh://crater.dragonflybsd.org/repository/git/dragonfly

21 months agokernel - Fix MP race in sysv semaphore code (2)
Matthew Dillon [Thu, 12 Jul 2012 02:50:13 +0000 (19:50 -0700)]
kernel - Fix MP race in sysv semaphore code (2)

* Add missing changes to proc.h

Reported-by: sephe
21 months agobge: Force 128 bytes Max Payload Size on old PCI-E chips
Sepherosa Ziehau [Thu, 12 Jul 2012 02:49:27 +0000 (10:49 +0800)]
bge: Force 128 bytes Max Payload Size on old PCI-E chips

According-to: tg3

21 months agopci: Define Max Payload Size for device control register
Sepherosa Ziehau [Thu, 12 Jul 2012 02:48:49 +0000 (10:48 +0800)]
pci: Define Max Payload Size for device control register

21 months agobge: Avoid using magic number for PCI-E PHY Test Control register
Sepherosa Ziehau [Thu, 12 Jul 2012 02:02:06 +0000 (10:02 +0800)]
bge: Avoid using magic number for PCI-E PHY Test Control register

21 months agohda: Disable "No Snoop" on PCI express chips
Sepherosa Ziehau [Thu, 12 Jul 2012 01:28:07 +0000 (09:28 +0800)]
hda: Disable "No Snoop" on PCI express chips

Tested-by: ftigeot@
21 months agobge: Add MSI support
Sepherosa Ziehau [Mon, 9 Jul 2012 04:32:55 +0000 (12:32 +0800)]
bge: Add MSI support

- Enable MSI on BCM5750+ chips.
- Enable "oneshot MSI", which does not require driver to disable interrupt
  in interrupt handler, on BCM5755+ and BCM5906 chips.

According-to: tg3

- Always clear INTxDIS in PCI command.

Obtained-from: FreeBSD

21 months agokernel - Fix MP race in sysv semaphore code
Matthew Dillon [Wed, 11 Jul 2012 22:29:55 +0000 (15:29 -0700)]
kernel - Fix MP race in sysv semaphore code

* Fix a serious MP race in the sysv semaphore code due to a lack of
  protection of the semu* global structures.

* The race occurs during semaphore allocation and deallocation vs ANY
  exiting process (even if it does not use semaphores), potentially
  leading to a live-lock in the semu_list scan code.

  The live-lock will prevent the cpu it occurs on from being able to
  switch to another kernel or user thread.  In the sample case it
  stopped pagedaemon from running, creating a backlog in the I/O
  subsystem which locked the computer up.

Reported-by: Peter Avalos
21 months agokernel/smb: Fix a duplicated check (from FreeBSD).
Sascha Wildner [Wed, 11 Jul 2012 22:23:53 +0000 (00:23 +0200)]
kernel/smb: Fix a duplicated check (from FreeBSD).

21 months agoamr(4): Remove an extra newline in a debug message.
Sascha Wildner [Wed, 11 Jul 2012 15:32:59 +0000 (17:32 +0200)]
amr(4): Remove an extra newline in a debug message.

21 months agoamr(4): Make AMR_DEBUG a kernel configuration option.
Sascha Wildner [Wed, 11 Jul 2012 15:32:08 +0000 (17:32 +0200)]
amr(4): Make AMR_DEBUG a kernel configuration option.

21 months agopam.d: Delete some files that don't belong.
Peter Avalos [Wed, 11 Jul 2012 10:25:29 +0000 (03:25 -0700)]
pam.d:  Delete some files that don't belong.

While I'm here, fix some whitespace issues and pam_ssh examples (add
want_agent).

21 months agopam_exec: Use program exit status as return code
Peter Avalos [Wed, 11 Jul 2012 10:01:44 +0000 (03:01 -0700)]
pam_exec: Use program exit status as return code

pam_exec(8) now accepts a new option "return_prog_exit_status". When
set, the program exit status is used as the pam_exec return code. It
allows the program to tell why the step failed (eg. user unknown).
However, if it exits with a code not allowed by the calling PAM service
module function (see $PAM_SM_FUNC below), a warning is logged and
PAM_SERVICE_ERR is returned.

Obtained-from:  FreeBSD

21 months agopam_ssh: Fix segfault with SSH 1 keys.
Peter Avalos [Wed, 11 Jul 2012 09:32:52 +0000 (02:32 -0700)]
pam_ssh:  Fix segfault with SSH 1 keys.

Obtained-from:  FreeBSD

21 months agoUpdate files for OpenPAM Micrampelis import.
Peter Avalos [Wed, 11 Jul 2012 09:12:36 +0000 (02:12 -0700)]
Update files for OpenPAM Micrampelis import.

21 months agoMerge branch 'vendor/OPENPAM'
Peter Avalos [Wed, 11 Jul 2012 08:47:35 +0000 (01:47 -0700)]
Merge branch 'vendor/OPENPAM'

21 months agoImport OpenPAM Micrampelis. vendor/OPENPAM
Peter Avalos [Wed, 11 Jul 2012 08:43:11 +0000 (01:43 -0700)]
Import OpenPAM Micrampelis.

See HISTORY for the details.

21 months agoUpdate files for xz-5.0.4 import.
Peter Avalos [Wed, 11 Jul 2012 07:23:14 +0000 (00:23 -0700)]
Update files for xz-5.0.4 import.

21 months agoMerge branch 'vendor/XZ'
Peter Avalos [Wed, 11 Jul 2012 07:20:07 +0000 (00:20 -0700)]
Merge branch 'vendor/XZ'

21 months agoImport xz-5.0.4. vendor/XZ
Peter Avalos [Wed, 11 Jul 2012 07:16:52 +0000 (00:16 -0700)]
Import xz-5.0.4.

    * liblzma:

        - Fix lzma_index_init(). It could crash if memory allocation
          failed.

        - Fix the possibility of an incorrect LZMA_BUF_ERROR when a BCJ
          filter is used and the application only provides exactly as
          much output space as is the uncompressed size of the file.

    * Fix "xz -lvv foo.xz". It could crash on some corrupted files.

    * Fix output of "xz --robot -lv" and "xz --robot -lvv" which
      incorrectly printed the filename also in the "foo (x/x)" format.

    * Fix exit status of "xzdiff foo.xz bar.xz".

    * Fix exit status of "xzgrep foo binary_file".

21 months agoMerge branch 'vendor/TNFTP'
Peter Avalos [Wed, 11 Jul 2012 07:07:04 +0000 (00:07 -0700)]
Merge branch 'vendor/TNFTP'

21 months agoftp: Sync with NetBSD:
Peter Avalos [Wed, 11 Jul 2012 06:45:26 +0000 (23:45 -0700)]
ftp:  Sync with NetBSD:

make -R work the same in ftp:// like it does for http:// (i.e. work if
there is no local file).

Don't display expected EHOSTUNREACH for all but
the last connect attempts in terse mode.

When given an URL that contains "://" but is not recognised,
print an error message.

Remove unnecessary Bk/Ek pairs from SYNOPSIS.

21 months agoUpdate files for libarchive-3.0.4 import.
Peter Avalos [Wed, 11 Jul 2012 04:53:25 +0000 (21:53 -0700)]
Update files for libarchive-3.0.4 import.

21 months agoMerge branch 'vendor/LIBARCHIVE'
Peter Avalos [Wed, 11 Jul 2012 03:39:24 +0000 (20:39 -0700)]
Merge branch 'vendor/LIBARCHIVE'

21 months agoImport libarchive-3.0.4.
Peter Avalos [Wed, 11 Jul 2012 03:25:58 +0000 (20:25 -0700)]
Import libarchive-3.0.4.