freebsd.git
5 hours agoAdd support for 64-byte CQE size. master github/master
hselasky [Wed, 26 Nov 2014 09:51:38 +0000 (09:51 +0000)]
Add support for 64-byte CQE size.

Sponsored by: Mellanox Technologies
MFC after: 3 days

6 hours agoRemove MINUSLPAM the LIBADD framework handles static dependencies just fine
bapt [Wed, 26 Nov 2014 08:14:30 +0000 (08:14 +0000)]
Remove MINUSLPAM the LIBADD framework handles static dependencies just fine

6 hours agoConvert to LIBADD
bapt [Wed, 26 Nov 2014 08:12:21 +0000 (08:12 +0000)]
Convert to LIBADD

6 hours agoConvert to LIBADD
bapt [Wed, 26 Nov 2014 08:09:44 +0000 (08:09 +0000)]
Convert to LIBADD

10 hours agoAdd bunch of PCI IDs of Intel Wildcat Point (9 Series) chipsets.
mav [Wed, 26 Nov 2014 04:23:21 +0000 (04:23 +0000)]
Add bunch of PCI IDs of Intel Wildcat Point (9 Series) chipsets.

MFC after: 1 week

12 hours agoRevert r273060 per discussion with avg@ as we need to make L2ARC
delphij [Wed, 26 Nov 2014 02:20:25 +0000 (02:20 +0000)]
Revert r273060 per discussion with avg@ as we need to make L2ARC
aware of 4K devices and this one is not the right fix anyway.

16 hours agoConvert to LIBADD
bapt [Tue, 25 Nov 2014 22:45:35 +0000 (22:45 +0000)]
Convert to LIBADD

16 hours agoRemove now useless USEPRIVATELIB
bapt [Tue, 25 Nov 2014 22:43:17 +0000 (22:43 +0000)]
Remove now useless USEPRIVATELIB

16 hours agoRemove all remnant ugly LD<lbname> but atf one until the aft framework knows
bapt [Tue, 25 Nov 2014 22:39:59 +0000 (22:39 +0000)]
Remove all remnant ugly LD<lbname> but atf one until the aft framework knows
about LIBADD

16 hours agoConvert to LIBADD
bapt [Tue, 25 Nov 2014 22:37:27 +0000 (22:37 +0000)]
Convert to LIBADD

16 hours agoReduce overlinking
bapt [Tue, 25 Nov 2014 22:25:13 +0000 (22:25 +0000)]
Reduce overlinking
The framework now ensure by itself that pthread is added to the link chain
as the last component if linked to kerberos hence avoid with out any explicit
addition prevent issue like CVE-2014-8475

16 hours agoRegister the explicit (pthread) and implicit (for static) dependencies for
bapt [Tue, 25 Nov 2014 22:17:31 +0000 (22:17 +0000)]
Register the explicit (pthread) and implicit (for static) dependencies for
kerberos

16 hours agoDefines the libssh dependencies
bapt [Tue, 25 Nov 2014 22:10:31 +0000 (22:10 +0000)]
Defines the libssh dependencies

17 hours agoConvert svn to LIBADD reduce overlinking
bapt [Tue, 25 Nov 2014 21:43:51 +0000 (21:43 +0000)]
Convert svn to LIBADD reduce overlinking

17 hours agoConvert to LIBADD
bapt [Tue, 25 Nov 2014 21:18:18 +0000 (21:18 +0000)]
Convert to LIBADD
Reduce overlinking

17 hours agoDefine missing libraries to be able to convert gnu, cddl and secure to LIBADD
bapt [Tue, 25 Nov 2014 21:16:44 +0000 (21:16 +0000)]
Define missing libraries to be able to convert gnu, cddl and secure to LIBADD

18 hours agoIn preparation for using clang's -Wcast-qual:
jamie [Tue, 25 Nov 2014 21:01:08 +0000 (21:01 +0000)]
In preparation for using clang's -Wcast-qual:

Use __DECONST (instead of my own attempted re-invention) for the iov
parameters to jail_get/set(2).  Similarly remove the decost-ish hack
from execvp's argv, except the __DECONST is only added at very end.

While I'm at it, remove an unused variable and fix a comment typo.

18 hours agoReinstitate send() after syslogd restarts.
delphij [Tue, 25 Nov 2014 20:59:22 +0000 (20:59 +0000)]
Reinstitate send() after syslogd restarts.

In r228193 the test of CONNPRIV have been moved to before the _usleep
and send in vsyslog().  When syslogd restarts, this would prevent the
message being logged after the disconnect/connect dance for
scenario #1.

PR: 194751
Submitted by: Peter Creath <pjcreath+freebsd gmail com>
Reviewed By: glebius
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D1227

19 hours agoSort libraries definitions
bapt [Tue, 25 Nov 2014 19:13:03 +0000 (19:13 +0000)]
Sort libraries definitions

Reported by: bjk

20 hours agoRemove duplicated krb5
bapt [Tue, 25 Nov 2014 19:07:31 +0000 (19:07 +0000)]
Remove duplicated krb5

Reported by: markj

20 hours agoFix style(9).
rdivacky [Tue, 25 Nov 2014 18:58:40 +0000 (18:58 +0000)]
Fix style(9).

Suggested by: jkim

20 hours agoFix style(9).
rdivacky [Tue, 25 Nov 2014 18:53:17 +0000 (18:53 +0000)]
Fix style(9).

Suggested by: jkim

20 hours agoFix b64_pton output buffer overrun test for exact-sized buffer
emaste [Tue, 25 Nov 2014 18:39:37 +0000 (18:39 +0000)]
Fix b64_pton output buffer overrun test for exact-sized buffer

b64_pton would sometimes erroneously fail to decode a base64 string into
a precisely sized buffer. The overflow check was a little too greedy.

Reported by: Ted Unangst on freebsd-hackers@
Reviewed by: loos, trasz
Obtained from: OpenBSD
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D1218

20 hours agoShrink boot2 by a couple more bytes.
rdivacky [Tue, 25 Nov 2014 18:35:47 +0000 (18:35 +0000)]
Shrink boot2 by a couple more bytes.

Reviewed by:    jhb
Tested by:      me, dim

21 hours agoCoalesce last data move and command status for read commands.
mav [Tue, 25 Nov 2014 17:53:35 +0000 (17:53 +0000)]
Coalesce last data move and command status for read commands.

Make CTL core and block backend set success status before initiating last
data move for read commands.  Make CAM target and iSCSI frontends detect
such condition and send command status together with data.  New I/O flag
allows to skip duplicate status sending on later fe_done() call.

For Fibre Channel this change saves one of three interrupts per read command,
increasing performance from 126K to 160K IOPS.  For iSCSI this change saves
one of three PDUs per read command, increasing performance from 1M to 1.2M
IOPS.

MFC after: 1 month
Sponsored by: iXsystems, Inc.

21 hours agoAdd support for Buffalo WZR-HP-AG300H atheros MIPS router.
sbruno [Tue, 25 Nov 2014 17:33:22 +0000 (17:33 +0000)]
Add support for Buffalo WZR-HP-AG300H atheros MIPS router.

Special thanks to Nicholas Esborn for the loaner router to get this
target bootstrapped.

Review:  D777
Reviewed by:    adrian
Sponsored by:   Nicholas Esborn <nick@desert.net>

22 hours agoConvert usr.sbin to LIBADD
bapt [Tue, 25 Nov 2014 16:57:27 +0000 (16:57 +0000)]
Convert usr.sbin to LIBADD
Reduce overlinking

22 hours agoo Add Virtio MMIO bus driver to config
br [Tue, 25 Nov 2014 16:53:22 +0000 (16:53 +0000)]
o Add Virtio MMIO bus driver to config
o Move Virtio-related to common config file

22 hours agoDefined the needed library to convert usr.sbin to LIBADD
bapt [Tue, 25 Nov 2014 16:51:06 +0000 (16:51 +0000)]
Defined the needed library to convert usr.sbin to LIBADD

22 hours agoAdd new devices to the config.
br [Tue, 25 Nov 2014 16:24:31 +0000 (16:24 +0000)]
Add new devices to the config.

23 hours agoo Add PIO and vtblk mmio device info to the tree
br [Tue, 25 Nov 2014 16:06:19 +0000 (16:06 +0000)]
o Add PIO and vtblk mmio device info to the tree
o Add FPGA memory window to static dev mappings
o Fix whitespace

23 hours agoAdd BERI-specific virtio block backend device driver.
br [Tue, 25 Nov 2014 15:58:59 +0000 (15:58 +0000)]
Add BERI-specific virtio block backend device driver.
This part intended to operate on ARM side in heterogeneous
(ARM/BERI) system on crystal.

23 hours agowhitespace and cosmetic changes in callout_reset family of macros
avg [Tue, 25 Nov 2014 15:24:05 +0000 (15:24 +0000)]
whitespace and cosmetic changes in callout_reset family of macros

- add parentheses around macro parameters for consistent style
- remove redundant parentheses around an expression
- use tab before a line continuation symbol

Differential Revision: https://reviews.freebsd.org/D1161 (partial)
Reviewed by: markj
MFC after: 1 week

23 hours agocallout(9): add sbt flavors of callout_schedule
avg [Tue, 25 Nov 2014 15:21:21 +0000 (15:21 +0000)]
callout(9): add sbt flavors of callout_schedule

Differential Revision: https://reviews.freebsd.org/D1161 (partial)
Reviewed by: jhb, markj
MFC after: 1 week

23 hours agoFix ifa_data description.
pluknet [Tue, 25 Nov 2014 15:09:34 +0000 (15:09 +0000)]
Fix ifa_data description.

PR: 176583
Discussed with: glebius
MFC after: 1 week
Sponsored by: Nginx, Inc.

24 hours agoReadd protect(2) removed by mistake
bapt [Tue, 25 Nov 2014 14:40:38 +0000 (14:40 +0000)]
Readd protect(2) removed by mistake

Reported by: emaste

24 hours agoConvert to usr.bin/ to LIBADD
bapt [Tue, 25 Nov 2014 14:29:10 +0000 (14:29 +0000)]
Convert to usr.bin/ to LIBADD
Reduce overlinking

24 hours agoDefines all the libraries needed for usr.bin
bapt [Tue, 25 Nov 2014 14:28:15 +0000 (14:28 +0000)]
Defines all the libraries needed for usr.bin

26 hours agoMFamd64: Check for invalid flags in the machine context in sigreturn()
jhb [Tue, 25 Nov 2014 12:52:00 +0000 (12:52 +0000)]
MFamd64: Check for invalid flags in the machine context in sigreturn()
and setcontext().

26 hours agoOnly pass 6 arguments to the 'run' function on amd64. amd64's
jhb [Tue, 25 Nov 2014 12:44:18 +0000 (12:44 +0000)]
Only pass 6 arguments to the 'run' function on amd64.  amd64's
makecontext on FreeBSD only supports a maximum of 6 arguments.  This
fixes the setcontext_link test on amd64.

PR: 194828

26 hours agoDecouple datamove/done logic from CTL status set.
mav [Tue, 25 Nov 2014 12:22:29 +0000 (12:22 +0000)]
Decouple datamove/done logic from CTL status set.

27 hours agoConvert sbin/ to LIBADD
bapt [Tue, 25 Nov 2014 11:23:12 +0000 (11:23 +0000)]
Convert sbin/ to LIBADD
Reduce overlinking

27 hours agoDefine libipf internal library
bapt [Tue, 25 Nov 2014 11:22:28 +0000 (11:22 +0000)]
Define libipf internal library

27 hours agoConvert bin/ to LIBADD, reduce overlinking allow to build all components as
bapt [Tue, 25 Nov 2014 11:15:40 +0000 (11:15 +0000)]
Convert bin/ to LIBADD, reduce overlinking allow to build all components as
static

27 hours agoFix recursive problem with libedit dependency, if you depends on ncursesw and
bapt [Tue, 25 Nov 2014 11:14:42 +0000 (11:14 +0000)]
Fix recursive problem with libedit dependency, if you depends on ncursesw and
not on itself

27 hours agoAdd a definition for libxo
bapt [Tue, 25 Nov 2014 11:13:21 +0000 (11:13 +0000)]
Add a definition for libxo

27 hours agoFix typo
bapt [Tue, 25 Nov 2014 11:08:58 +0000 (11:08 +0000)]
Fix typo

28 hours agoConvert libraries to use LIBADD
bapt [Tue, 25 Nov 2014 11:07:26 +0000 (11:07 +0000)]
Convert libraries to use LIBADD
While here reduce a bit overlinking

28 hours agoDefine compiler_rt and ssp_nonshared libraries
bapt [Tue, 25 Nov 2014 11:07:03 +0000 (11:07 +0000)]
Define compiler_rt and ssp_nonshared libraries

29 hours agoConvert kerberos to LIBADD and reduce overlinking of the kerberos binaries and
bapt [Tue, 25 Nov 2014 09:57:42 +0000 (09:57 +0000)]
Convert kerberos to LIBADD and reduce overlinking of the kerberos binaries and
libraries

29 hours agolibvers and libsl are internal libraries
bapt [Tue, 25 Nov 2014 09:54:05 +0000 (09:54 +0000)]
libvers and libsl are internal libraries

29 hours agoThe fallback flag in nsdispatch prevents the fallback implementation of
des [Tue, 25 Nov 2014 09:47:15 +0000 (09:47 +0000)]
The fallback flag in nsdispatch prevents the fallback implementation of
getgroupmembership() from invoking the correct backend in the compat case.
Replace it with a nesting depth counter so it only blocks one level (the
first is the group -> group_compat translation, the second is the actual
backend).  This is one of two bugs that break getgrouplist() in the compat
case, the second being that the backend's own getgroupmembership() method
is ignored.  Unfortunately, that is not easily fixable without a redesign
of our nss implementation (which is also needed to implement the +@group
syntax in /etc/passwd).

PR: 190055
MFC after: 1 week

31 hours agoFix make depends with libnetbsd
bapt [Tue, 25 Nov 2014 07:47:44 +0000 (07:47 +0000)]
Fix make depends with libnetbsd

31 hours agoAdd definitions of kerberos libraries
bapt [Tue, 25 Nov 2014 07:13:31 +0000 (07:13 +0000)]
Add definitions of kerberos libraries

32 hours agoAdjust some checks missed in r274637, now that pi_rname can be NULL.
markj [Tue, 25 Nov 2014 07:01:38 +0000 (07:01 +0000)]
Adjust some checks missed in r274637, now that pi_rname can be NULL.

Additionally fix a misparenthesization in the same check, noticed while
fixing the first bug. This bug only appears to cause problems if the same
USDT probe appears twice within a static function.

X-MFC-With: r274637

32 hours agoThe module load address always needs to be included when setting the dm_*_va
markj [Tue, 25 Nov 2014 06:43:17 +0000 (06:43 +0000)]
The module load address always needs to be included when setting the dm_*_va
fields of dt_module_t. Previously, this was only done on architectures where
kernel modules have type ET_REL; this change fixes that. As a result, symbol
name resolution in the stack() action now works properly for kernel modules
on i386.

Reported by: Shrikanth Kamath <shrikanth07@gmail.com>
Tested by: Shrikanth Kamath
Discussed with: avg
MFC after: 2 weeks

32 hours agoAdd Apple Intrepid USB controller ID.
jhibbits [Tue, 25 Nov 2014 06:15:00 +0000 (06:15 +0000)]
Add Apple Intrepid USB controller ID.

MFC after: 2 weeks

32 hours agoUse ctl_set_success() instead of direct inlining.
mav [Tue, 25 Nov 2014 06:11:05 +0000 (06:11 +0000)]
Use ctl_set_success() instead of direct inlining.

MFC after: 1 week

33 hours agoRemove cokane@ from MAINTAINERS for 3dfx(4)/tdfx(4) because their email
ngie [Tue, 25 Nov 2014 05:25:12 +0000 (05:25 +0000)]
Remove cokane@ from MAINTAINERS for 3dfx(4)/tdfx(4) because their email
addresses on file bounce (see r252463 for more details)

Reviewed by: accounts (dhw)

35 hours agoRevert r274772: it is not valid on MIPS
emaste [Tue, 25 Nov 2014 03:50:31 +0000 (03:50 +0000)]
Revert r274772: it is not valid on MIPS

Reported by: sbruno

36 hours agoAdd missing headers needed by write().
kevlo [Tue, 25 Nov 2014 02:58:38 +0000 (02:58 +0000)]
Add missing headers needed by write().

37 hours agoFix the fix
bapt [Tue, 25 Nov 2014 01:12:57 +0000 (01:12 +0000)]
Fix the fix

38 hours agolibevent is an internallib
bapt [Tue, 25 Nov 2014 00:51:49 +0000 (00:51 +0000)]
libevent is an internallib

38 hours agolibatf-c++ exposes libatf-c abi hence we need to explicit link to atf-c if
bapt [Tue, 25 Nov 2014 00:28:27 +0000 (00:28 +0000)]
libatf-c++ exposes libatf-c abi hence we need to explicit link to atf-c if
atf-c++ is requested

38 hours agoDo not overwrite any LIBNETBSD or LIBNETBSDDIR if they are already defined
bapt [Tue, 25 Nov 2014 00:12:25 +0000 (00:12 +0000)]
Do not overwrite any LIBNETBSD or LIBNETBSDDIR if they are already defined

39 hours agoFix build.
delphij [Tue, 25 Nov 2014 00:07:56 +0000 (00:07 +0000)]
Fix build.

39 hours agoDefine special case for atf which libraries names are different from their
bapt [Tue, 25 Nov 2014 00:01:53 +0000 (00:01 +0000)]
Define special case for atf which libraries names are different from their
declaration

39 hours agos/cft/ctf
bapt [Mon, 24 Nov 2014 23:58:04 +0000 (23:58 +0000)]
s/cft/ctf

39 hours agoForgot to convert demandoc along with mandoc
bapt [Mon, 24 Nov 2014 23:29:56 +0000 (23:29 +0000)]
Forgot to convert demandoc along with mandoc

40 hours agoFix typo
bapt [Mon, 24 Nov 2014 22:35:32 +0000 (22:35 +0000)]
Fix typo

40 hours agoFix dependencies in case of building statically
bapt [Mon, 24 Nov 2014 22:32:18 +0000 (22:32 +0000)]
Fix dependencies in case of building statically

40 hours agoAvoid code duplication by directly adding _INSTALLLIBS and _PRIVATELIBS into
bapt [Mon, 24 Nov 2014 22:29:16 +0000 (22:29 +0000)]
Avoid code duplication by directly adding _INSTALLLIBS and _PRIVATELIBS into
_LIBRARIES

Reported by: emaste

40 hours agoEach time something links to sqlite3 it should link to pthread
bapt [Mon, 24 Nov 2014 22:17:35 +0000 (22:17 +0000)]
Each time something links to sqlite3 it should link to pthread

40 hours agoConvert makefs to LIBADD
bapt [Mon, 24 Nov 2014 22:15:30 +0000 (22:15 +0000)]
Convert makefs to LIBADD

Add definition of libnetbsd in src.libnames.mk

40 hours agoConvert mandoc to LIBADD
bapt [Mon, 24 Nov 2014 22:12:27 +0000 (22:12 +0000)]
Convert mandoc to LIBADD

While here remove the ugly LDMANDOC

41 hours agoSkip L2 addresses lookups for p2p interfaces.
ae [Mon, 24 Nov 2014 21:51:43 +0000 (21:51 +0000)]
Skip L2 addresses lookups for p2p interfaces.

Discussed with: melifaro
Sponsored by: Yandex LLC

41 hours agoImport libgpio.
rpaulo [Mon, 24 Nov 2014 21:49:40 +0000 (21:49 +0000)]
Import libgpio.

This is a thin wrapper around the kernel interface which should make
it easier to write GPIO applications.  gpioctl(8) will be converted to
use this library in a separate commit.

Differential Revision: https://reviews.freebsd.org/D1183
Reviewed by: adrian, loos
Discussed on: arm@, embedded@
Relnotes: yes

41 hours agoConvert to LIBADD.
brd [Mon, 24 Nov 2014 21:49:01 +0000 (21:49 +0000)]
Convert to LIBADD.

Reviewed by: bapt

41 hours agoCorrectly specify -L for internal and private libs
bapt [Mon, 24 Nov 2014 21:39:28 +0000 (21:39 +0000)]
Correctly specify -L for internal and private libs

41 hours agoImplement LIBADD
bapt [Mon, 24 Nov 2014 21:31:08 +0000 (21:31 +0000)]
Implement LIBADD

LIBADD will automatically set DPADD and LDADD when needed including their
dependencies, LIBADD automatically handles private and internal libs so that
the end user Makefile does not have to care about it.

This allows to reduce overlinking on the base system leaving the framework get
the dependencies properly.

It also allows to built components binaries statically.

To use it:

Replace:
DPADD= ${LIBARCHIVE} ${LIBSSL}
LDADD= -larchive -lssl

by:
LIBADD= archive ssl

Differential Revision: https://reviews.freebsd.org/D1209
Reviewed by: brooks imp

43 hours agoFor now, disable using -fsanitize=bounds for the libc ssp tests, when
dim [Mon, 24 Nov 2014 20:07:09 +0000 (20:07 +0000)]
For now, disable using -fsanitize=bounds for the libc ssp tests, when
using clang 3.5.0, until the runtime support (via compiler-rt) is added.
Otherwise, this would lead to link errors about missing support
libraries.

43 hours agoAdd a bus_get_domain() wrapper around BUS_GET_DOMAIN(). Use this to add
jhb [Mon, 24 Nov 2014 19:55:45 +0000 (19:55 +0000)]
Add a bus_get_domain() wrapper around BUS_GET_DOMAIN().  Use this to add
a new per-device '%domain' sysctl node that returns the NUMA domain a
device is associated with if it is associated with one.

Note that this API is still a WIP and might change before 11.0 actually
ships.

Differential Revision: https://reviews.freebsd.org/D930
Reviewed by: kib, adrian

44 hours agoProperly initialize the capability rights for vnodes exported to procstat
jhb [Mon, 24 Nov 2014 18:34:11 +0000 (18:34 +0000)]
Properly initialize the capability rights for vnodes exported to procstat
that aren't for file descriptors (cwd, jdir, tracevp, etc.).

Submitted by: Mikhail <mp@lenta.ru>

46 hours agoAdd busdma sync ops before reading and after modifying the descriptor rings.
ian [Mon, 24 Nov 2014 16:12:11 +0000 (16:12 +0000)]
Add busdma sync ops before reading and after modifying the descriptor rings.

This was previously working by accident because BUSDMA_COHERENT_MEMORY has
always been set to strongly-ordered on arm.  Now we're moving towards
normal-uncacheable (what might be called write-combining on other platforms)
and using the proper sync ops will be more important.  Of course, that
opens the question of just what is the "proper" sync op for shared
concurrent dma access as opposed to accesses where the handoff of control
of the memory has well-defined sequence points that match the available
busdma sync operations.

2 days agoAdd a sysctl `net.link.tap.deladdrs_on_close' to configure whether tap
philip [Mon, 24 Nov 2014 14:00:27 +0000 (14:00 +0000)]
Add a sysctl `net.link.tap.deladdrs_on_close' to configure whether tap
should delete configured addresses and routes when the interface is
closed.  Default is enabled (preserve current behaviour).

MFC after: 1 week

2 days agoMake it possible to specify flags for autofs daemons in rc.conf.
trasz [Mon, 24 Nov 2014 13:02:39 +0000 (13:02 +0000)]
Make it possible to specify flags for autofs daemons in rc.conf.

MFC after: 1 month
Sponsored by: The FreeBSD Foundation

2 days agoAdd ip_gre.h to ObsoleteFiles.inc.
ae [Mon, 24 Nov 2014 12:53:56 +0000 (12:53 +0000)]
Add ip_gre.h to ObsoleteFiles.inc.

Sponsored by: Yandex LLC

2 days agoReplace home-grown CTL IO allocator with UMA.
mav [Mon, 24 Nov 2014 11:37:27 +0000 (11:37 +0000)]
Replace home-grown CTL IO allocator with UMA.

Old allocator created significant lock congestion protecting its lists
of preallocated I/Os, while UMA provides much better SMP scalability.
The downside of UMA is lack of reliable preallocation, that could guarantee
successful allocation in non-sleepable environments.  But careful code
review shown, that only CAM target frontend really has that requirement.
Fix that making that frontend preallocate and statically bind CTL I/O for
every ATIO/INOT it preallocates any way.  That allows to avoid allocations
in hot I/O path.  Other frontends either may sleep in allocation context
or can properly handle allocation errors.

On 40-core server with 6 ZVOL-backed LUNs and 7 iSCSI client connections
this change increases peak performance from ~700K to >1M IOPS!  Yay! :)

MFC after: 1 month
Sponsored by: iXsystems, Inc.

2 days agoLimit descriptors and enter capability mode.
brueffer [Mon, 24 Nov 2014 09:31:38 +0000 (09:31 +0000)]
Limit descriptors and enter capability mode.

Differential: D1009
Reviewed by: jonathan, pjd
MFC after: 2 weeks
Relnotes: yes

2 days agoRemove the pidfile clause from the ctl.conf example. Why do everyone
trasz [Mon, 24 Nov 2014 08:13:44 +0000 (08:13 +0000)]
Remove the pidfile clause from the ctl.conf example.  Why do everyone
just copy/paste this line into their configs, it's beyond me.

MFC after: 1 month
Sponsored by: The FreeBSD Foundation

2 days agoFix rendering of manpages with mandoc(1)
bapt [Mon, 24 Nov 2014 08:13:21 +0000 (08:13 +0000)]
Fix rendering of manpages with mandoc(1)

2 days agoWe already have "int i" in this scope.
glebius [Mon, 24 Nov 2014 07:57:20 +0000 (07:57 +0000)]
We already have "int i" in this scope.

Submitted by: alc

2 days agoThe arm PJ4B cpu is armv7 architecture, not v6.
ian [Mon, 24 Nov 2014 01:13:58 +0000 (01:13 +0000)]
The arm PJ4B cpu is armv7 architecture, not v6.

If this feels like deja vu... the last time this was fixed in this file
only ARM_MMU_V6 was fixed, this time it's ARM_ARCH_V6 (and this time I
searched for other occurrances of pj4b in here).

2 days agoRead cs_outstanding_ctl_pdus before incrementing it for NEXUS RESET task.
mav [Mon, 24 Nov 2014 00:59:51 +0000 (00:59 +0000)]
Read cs_outstanding_ctl_pdus before incrementing it for NEXUS RESET task.

This removes extra log noise on idle connection termination.

MFC after: 1 week

2 days agoFix rendering with mandoc
bapt [Mon, 24 Nov 2014 00:34:49 +0000 (00:34 +0000)]
Fix rendering with mandoc

2 days agoAdd ARMV6 as an arm option. This will cause obscure magic in config(8)
ian [Mon, 24 Nov 2014 00:02:15 +0000 (00:02 +0000)]
Add ARMV6 as an arm option.  This will cause obscure magic in config(8)
to automatically set the armv6 option when MACHINE_ARCH is armv6.  That
allows replacing ever-growing lists of cpu names as options to compile
a given file with the using either "optional armv6" or "optional !armv6".

2 days agoFix the negation (!) operator so that it binds only to the word that
ian [Sun, 23 Nov 2014 23:58:47 +0000 (23:58 +0000)]
Fix the negation (!) operator so that it binds only to the word that
immediately follows it, which means 'not' has to be reset every time an
option word or device name is processed.

2 days agoFix rendering with mandoc
bapt [Sun, 23 Nov 2014 23:56:01 +0000 (23:56 +0000)]
Fix rendering with mandoc

2 days agoFix rendering with mandoc
bapt [Sun, 23 Nov 2014 23:55:04 +0000 (23:55 +0000)]
Fix rendering with mandoc

2 days agoTa is only allowed with Bl -column not in Bl -item
bapt [Sun, 23 Nov 2014 23:35:16 +0000 (23:35 +0000)]
Ta is only allowed with Bl -column not in Bl -item