dlfcn: Fix dladdr return value

Noticed a minor bug in the OSv dlfcn implementation.
According to the linux man pages, dladdr returns non-zero on success
and zero on error -> http://linux.die.net/man/3/dladdr

Signed-off-by: Dinakar Guniguntala <dino@linux.vnet.ibm.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
x64: Fix nested exception debugging

As of commit a449b88 ("x64: Enable sleeping in fault context") it's now
safe for another thread to enter a fault handler on the same CPU.  Fix
exception guard to reflect that.

This is needed for demand paging where a page fault from another thread
can happen on the same CPU where a thread is sleeping in the page fault
handler.

Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
Move mgmt submodule head

This also requires fixing paths to mgmt jars in build.mk
and usr.manifest as the version scheme has changed.

git log --format=short 7a4db4e759b..54f4810a7:

  commit 54f4810a76fabf955aeea34baefa336abf8b8467
  Author: Tomasz Grabiec <tgrabiec@cloudius-systems.com>

      Revert "supporting artifactory publish"

  commit 4abf771d146d6cde66f330e6b6ab6ececffb4cdd
  Author: Tomasz Grabiec <tgrabiec@cloudius-systems.com>

      mgmt/web: ditch jline-2.7 pulled by jruby-core

  commit 3863a3b58b661cd751314966cccb0f6c9835ed4a
  Author: Nadav Har'El <nyh@cloudius-systems.com>

      Moved RunJava to io.osv namespace

  commit be0717595f45d647062e7a41cc8dd38393c96547
  Author: Ronen Narkis <narkisr@gmail.com>

      supporting testing (jruby rake test does not work no matter what)

  commit 46e74f6bb886a0c62b06f08559fe2e44efdb8900
  Author: Ronen Narkis <narkisr@gmail.com>

      ignoring build

  commit 95ff3b70bae877d5d8cf0144853d1a201a0be333
  Author: Ronen Narkis <narkisr@gmail.com>

      verfying json existence and giving meaning full error

  commit 8b60c4a40aa4bcb7ce08bba600fd9cd6d63e1073
  Author: Ronen Narkis <narkisr@gmail.com>

      moving to three digit versioning in order to have a finer grained control on rel

  commit ffa7646388cec8d5b138ff4fc28a985c6344824c
  Author: Ronen Narkis <narkisr@gmail.com>

      supporting artifactory publish

  commit 8855112e2c867b4f855ed28ad9d9982c26bc56a3
  Author: Ronen Narkis <narkisr@gmail.com>

      clearing unused repo

  commit 3be79eb18b2be7bf1f28aaebd9905ac77945e4e4
  Author: Or Cohen <orc@fewbytes.com>

      Migrated ifconfig from previous JS console

  commit 287b014cf709e9c46692c59f87b70ebf056114b5
  Author: Or Cohen <orc@fewbytes.com>

      Migrated run command from previous CLI

  commit 0ffe064d30c1a812d7e853ee568ce45bfc16ed42
  Author: Or Cohen <orc@fewbytes.com>

      Added daemonizeIfNeeded helper method for commands

  commit 36951a86493c954a2e939648b5060260fac5b539
  Author: Or Cohen <orc@fewbytes.com>

      Moved ELFLoader from cloudius.cli to cloudius.util
external: update boost to 1.53.0

Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
libzfs: add missing includes

Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
netport: add some more module stubs

Needed by libzfs.

Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
mount: add MS_FORCE define

Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
build: allow not building the management code

'make mgmt=0' will skip building the management code.  It is up to the
developer to ensure that a previously built tree is in place.

Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
param.h: include <limits.h>

Fixed MAXPATHLEN

Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
paths: define _PATH_DEVZERO

Needed by MNTTAB.
build: wire up libzfs

Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
netport: allow writing to 'physmem'

Strangely, it still works even though it's not initialized.

Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
cpuset: add missing #include

Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
uio: define UIO_SYSSPACE

Needed by libzpool.

Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
build: build libzpool

Make it part of libzfs, we don't need it separately anyway.

Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
libzpool: build adjustments

Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
devfs: move debugging macros to .c file

Avoid name conflicts.

Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
zfs: prepare zfs_ioctl for inclusion in the build

Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
bsd: implement CTASSERT()

Wanted by zfs_ioctl.c.

Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
zfs: disable jail ioctls

Not supported under osv.

Signed-off-by: Avi Kivity <avi@cloudius-systems.com>