Commit Graph

234704 Commits

Author SHA1 Message Date
bouyer
98943c8654 Handle boot option -x (alias 'debug') and set AB_DEBUG in boothowto. 2015-04-11 13:37:59 +00:00
riastradh
ee14e9e637 Define the expansion of the VFORK macro, not the symbol `VFORK'.
Fixes hijacking processes that vfork and exec.  Symptom was the child
would spin with read/EAGAIN <-> kevent/EBADF because the inheritance
mechanism relied on setting the holyfd to -1 on fork...which didn't
happen if we didn't hijack vfork.

ok pooka@
2015-04-11 12:54:41 +00:00
skrll
12abcb76f6 Use NULL not 0 for pointers.
Add a '\n' to a DPRINTF (old style)
2015-04-11 10:10:14 +00:00
sjg
545bddb17b Use separate vars to track cwd and last dir a process read. 2015-04-11 05:24:30 +00:00
riastradh
673259ae26 Make sure rl_t::r_zp is always initialized. 2015-04-11 04:35:39 +00:00
riastradh
b55bbee7a5 Skip Solaris ILP32 ABI compatibility shenanigans from upstream. 2015-04-11 03:23:37 +00:00
riastradh
364c6daba4 Remove broken shim for xdr_control. 2015-04-11 03:22:36 +00:00
riastradh
fceed56786 Use a static initializer, not a broken initializer. 2015-04-11 03:21:43 +00:00
riastradh
fc437ae95d Reduce diff from upstream a little. 2015-04-11 02:33:16 +00:00
riastradh
bb7c94d172 Nuke UIO_XUIO so nothing accidentally misuses it. 2015-04-11 01:49:00 +00:00
ryoon
723db66625 Add new device.
Bump date.
2015-04-11 00:30:50 +00:00
riastradh
e2baba0390 Disable another xuio branch. 2015-04-11 00:23:31 +00:00
riastradh
24d5ed1a0b Make taskq_dispatch fail for now with TQ_NOQUEUE; make caller retry. 2015-04-11 00:13:04 +00:00
matt
f9b7e48585 options<space><tab> 2015-04-11 00:11:40 +00:00
riastradh
5aa555542e Use the upstream xdr, with a rename dance to avoid clash with libc.
The upstream xdr provides some functionality expected by the upstream
libnvpair which our libc's xdr does not provide.

When modifying, double-check that libnvpair.so defines no xdr_*
symbols, only _solaris_xdr_*.  (XXX Put this note somewhere...)
2015-04-10 22:44:20 +00:00
riastradh
cee8cbe23f GCC doesn't speak #pragma init, try __attribute__((constructor)). 2015-04-10 22:38:30 +00:00
riastradh
708e4d7282 One usually puts .c, not .o, files in SRCS. 2015-04-10 22:36:50 +00:00
riastradh
495fdb2f81 Initialize variables. Don't bother supporting nv doubles. 2015-04-10 22:29:35 +00:00
riastradh
0126bcdf7e Use 0, not NULL, for zero integer constant. 2015-04-10 22:28:27 +00:00
riastradh
f7e5f84747 Use dprintf, not printf, for debug messages. 2015-04-10 20:55:38 +00:00
sjg
c6534f45d3 export-all.mk should be including export.mk
sadly some shells do not grok named signals.
2015-04-10 20:41:59 +00:00
riastradh
7c5ca5f421 Use CPPFLAGS, not CFLAGS, so this actually takes effect. 2015-04-10 20:34:16 +00:00
riastradh
d4677cf380 Disable mmap on zfs for now.
The implementation is not coherent with read/write, and apparently it
is is so broken that write(2) on a region mapped from a zfs file will
often fail with EINVAL because something passes an offset that is too
large to getpages.
2015-04-10 19:59:10 +00:00
riastradh
ad39b58c4c KASSERT about page-alignment on initialization too. 2015-04-10 17:44:35 +00:00
riastradh
7c2bb57f2b Use KASSERTMSG to show bad base/offset. 2015-04-10 17:28:42 +00:00
riastradh
134f6b2a80 Need the page's uvm object lock to do pmap_page_protect. 2015-04-10 13:30:01 +00:00
riastradh
2b81644cbd Pull VOP_BMAP/VOP_STRATEGY loop from getpages into its own function.
No functional change.

In preparation for a gop_read like the existing gop_write.
2015-04-10 13:02:15 +00:00
maxv
4c64a57059 Fix a double free. "Suggested" by Brainy.
ok rjs@ riastradh@
2015-04-10 11:47:12 +00:00
hkenken
ca11570717 add PARALLELLA and ZEDBOARD 2015-04-10 11:04:58 +00:00
hkenken
0973511bca include "GENERIC.common" 2015-04-10 10:58:07 +00:00
tron
d1aa912cef Fix casts which are inconsistent with *printf() formats and remove the
use of a non-standard type in the process.
2015-04-10 09:34:43 +00:00
wiz
2690505034 It's 2015. 2015-04-10 08:43:32 +00:00
wiz
302cc6cfe4 Remove trailing whitespace. 2015-04-10 08:43:16 +00:00
uebayasi
c59f84ea6d Typo in previous. 2015-04-10 03:51:44 +00:00
uebayasi
e29416eeae More about attribute -> bus, and child configuration. 2015-04-10 03:30:09 +00:00
mrg
a4598cfd67 almost add radeondrmkms suspend/resume support. it unfortunately doesn't work. 2015-04-10 02:03:14 +00:00
matt
2089be9886 Add #define __HAVE_PIC_PENDING_INTRS for the non-GIC PICs. 2015-04-09 21:33:54 +00:00
riastradh
057ee3c54c Pass NetBSD VA_UTIMES_NULL through to ZFS as Solaris ATTR_UTIME.
Makes t_unpriv:zfs_times fail the wrong way instead of silently
allowing the change.
2015-04-09 20:18:28 +00:00
riastradh
03d306e2dd Apparently I fixed t_unpriv:zfs_owner and didn't notice. 2015-04-09 19:51:13 +00:00
riastradh
3d61be1880 Advisory locking for zfs. 2015-04-09 19:47:05 +00:00
riastradh
5b72b2208e Remove some vestigial #if 0 sections. 2015-04-09 19:35:55 +00:00
sjg
baa0bd3c22 Forgot to tweak date 2015-04-09 18:22:08 +00:00
sjg
065f2cad03 jobs mode handles '-' very differently to compat mode, but this is not
reflected in make.1
Also fix handling to match the behavior described in the comment
of JobPrintCommand (only matters if shell sets hasErrCtl).

A better long term solution is needed since the current behavior
is sub-optimal wrt '-' and different from all other makes.

Reviewed by: christos
2015-04-09 18:21:01 +00:00
christos
b216527c5a add new test 2015-04-09 17:56:30 +00:00
ginsbach
679713aac4 Split inet_addr(3) tests from t_inet_network into stand-alone t_inet_addr,
so that t_inet_network only contains tests for inet_network(3).
2015-04-09 16:47:56 +00:00
jmcneill
703f075e77 Rename beagleboard.img to armv7.img. The new image includes the same
kernels as beagleboard.img plus support for Raspberry Pi 2, ODROID-C1,
Cubieboard2, Cubietruck, Hummingbird A31, and Banana Pi.
2015-04-09 10:55:23 +00:00
matt
45d7adb809 Only if we __HAVE_PIC_PENDING_INTRS do we need the variables to track them. 2015-04-09 06:03:43 +00:00
riastradh
bc95daf1f6 Fix vattr_init_mask: mode is mode_t, not u_short.
Fixes fs/vfs/t_vnops:zfs_attrs test.
2015-04-09 05:32:53 +00:00
riastradh
2b82c270f5 But rename(..., "x/..") is still supposed to yield EINVAL. Go figure. 2015-04-09 05:08:15 +00:00
riastradh
d0319a8396 Tests claim rename(..., "x/.") yields EISDIR, so do that. Fixes zfs. 2015-04-09 05:03:58 +00:00