dholland
28ccf570bf
In bwrite, add assertion that vp != NULL. (vp is the vnode from the
...
buffer being written.)
There's some logic here that carefully checks for vp being null, and
other logic that will crash if it is. It appears that it's all
needless paranoia. See tech-kern for more info.
Unless someone sees the assertion go off (in which case a lot more
investigation is needed) I or someone will clean out the logic at some
future point.
Spotted by coypu.
2016-07-31 04:05:32 +00:00
pgoyette
e8022dfde6
Include rump-vs-host ops files
2016-07-31 02:15:54 +00:00
pgoyette
6be1f10355
Add rump.fssconfig to sets lists
2016-07-31 02:14:12 +00:00
pgoyette
d5966167a4
Add rump.fssconfig
2016-07-31 02:13:26 +00:00
pgoyette
2dc75bdc9e
Fix variable names in previous
2016-07-30 23:07:23 +00:00
pgoyette
763a6486bb
More adaptation of the rump component init, to avoid EEXIST during
...
regular module initialization.
2016-07-30 22:36:14 +00:00
christos
b265873d52
Fix reversed test.
2016-07-30 15:38:17 +00:00
pgoyette
8628665eb6
Update command line parsing to match reality. Only one of -c, -u, or
...
-l can be specified, and the -x option is available only for -c.
2016-07-30 12:33:27 +00:00
wiz
6333fb3d2f
Sort errors.
2016-07-30 11:31:00 +00:00
njoly
c38e2c9645
Remove obsolete BUGS section. getsockname(2) report sensible values
...
for bound UNIX domain sockets.
2016-07-30 11:10:40 +00:00
njoly
d3e4dbe2f3
New getsockname(2) testcase for UNIX domain sockets.
2016-07-30 11:03:54 +00:00
skrll
2cf0afbf6c
Correct comment
2016-07-30 07:10:42 +00:00
skrll
8d208f6bff
Don't always include PARANOIA code
2016-07-30 07:09:03 +00:00
matt
46340a3827
Supply lastvaddr to load_buffer. Fix printf formats.
2016-07-30 06:29:28 +00:00
matt
9939694552
Use register_t for _ds_vaddr
2016-07-30 06:28:05 +00:00
matt
df84c45521
KX needs to set on !O32 kernels
2016-07-30 06:27:45 +00:00
matt
db60ea7c0d
For LP64 and N32 make sure KX is set in the trapframe as well.
2016-07-30 06:20:54 +00:00
dholland
b42061f23c
stick my neck out for a runnable-but-experimental lfs64
2016-07-30 06:20:14 +00:00
dholland
cc620b0609
typo
2016-07-30 06:09:29 +00:00
skrll
2d098c76a5
KASSERT for KX in __mips_n32 as well.
2016-07-30 05:58:15 +00:00
matt
8ce9492b9c
Fix typo. N32 doesn't want UX on.
2016-07-30 05:55:34 +00:00
alnsn
db4395c55a
Don't trigger BJ_ASSERT(false) on invalid BPF_Jxxx opcode in jmp_to_op().
...
This change helps survive AFL fuzzing without calling bpf_validate() first.
Also change alu_to_op() function to have a similar interface.
2016-07-29 20:29:38 +00:00
pgoyette
64222d3a12
Mount the snapshot read-only; otherwise we get a nasty panic.
...
Re-order the clean-up steps to properly undo what we did.
2016-07-29 20:27:37 +00:00
palle
5914a139ed
scsipi(9): Removed duplicate "for"
2016-07-29 19:27:45 +00:00
christos
ec40c28b64
Use %s+strerro(errno) instead of %m (From Kurt Lidl)
2016-07-29 17:13:09 +00:00
skrll
4dc2832e6a
Fix up va for pmap_md_map_ephemeral_page and so that cache ops get the
...
correct address
2016-07-29 15:43:02 +00:00
skrll
102137de55
more debug
2016-07-29 15:38:05 +00:00
pgoyette
6e4e96b573
Add the real directory as well as the debug directory.
2016-07-29 10:09:38 +00:00
roy
3799d64d34
Sync
2016-07-29 10:07:57 +00:00
pgoyette
9c91731aa4
Add destination directory for new dev/fss test
2016-07-29 09:52:46 +00:00
skrll
ee05feec7f
Simplify ARM_MMU_EXTENDED #ifdefs
...
No functional change
2016-07-29 09:47:09 +00:00
nonaka
edd893fef7
regen
2016-07-29 07:28:52 +00:00
nonaka
1d5ef3eac5
Add MegaRAID SAS3008
2016-07-29 07:28:19 +00:00
pgoyette
fa8676f447
Add files for the new fss(4) test
2016-07-29 07:02:24 +00:00
pgoyette
0c0a621f71
Add a basic test for fss(4)
...
XXX For now, we just create required files (including mount-points)
XXX in the test's working directory. Eventually someone with more
XXX rump-foo than I should create a fss rump-component and then update
XXX the test to run under rump.
2016-07-29 06:13:39 +00:00
pgoyette
7dc153cb5a
Remove. Nothing here (or below) seems to refer to it, and it won't
...
work anyway due to the case of the 'l' in CPPFlAGS
2016-07-29 06:11:12 +00:00
ozaki-r
efee6976a2
Avoid memset and rtcache_free if unnecessary
...
It's the same as ip_output.
2016-07-29 06:02:03 +00:00
pgoyette
3ff4e5ad94
Update the test - the "official" name of the vnd configuration utility
...
was changed in NetBSD 7 to vndconfig(8).
2016-07-29 05:23:24 +00:00
pgoyette
b3610864a5
Improve wording, enhance the example
2016-07-29 05:20:33 +00:00
maya
364a6d7c47
Fix typo in Makefile which resulted in kernel image not being generated
...
From Rin Okuyama in PR/51369
2016-07-28 22:46:48 +00:00
nakayama
8055cc80b9
Resurrect Asia/Tomsk, split off from Asia/Novosibirsk in tzdata2016d.
2016-07-28 19:24:08 +00:00
christos
4f619fea3a
regen; Left: earm, armeb, earmeb, riscv64, earmhf, earmhfeb, aarch64.
2016-07-28 14:17:58 +00:00
christos
9180686841
regen amd64.
2016-07-28 12:25:24 +00:00
christos
4a4d5be6eb
merge conflicts
2016-07-28 12:25:07 +00:00
christos
09ac01bf76
Import 2.26.1; please see the individual ChangeLogs for bug fixes.
2016-07-28 12:18:51 +00:00
msaitoh
fedc066b92
Note sdtemp(4)'s JEDEC TSE2004av support.
2016-07-28 09:13:06 +00:00
msaitoh
8cd40e1465
Add JEDEC TSE2004av support. OK'ed by pgoyette. If a device conforms
...
TES2004av, it can be used without adding new entry into the matching
table.
2016-07-28 09:11:13 +00:00
ozaki-r
c68a77bc1d
Fix panic on adding/deleting IP addresses under network load
...
Adding and deleting IP addresses aren't serialized with other network
opeartions, e.g., forwarding packets. So if we add or delete an IP
address under network load, a kernel panic may happen on manipulating
network-related shared objects such as rtentry and rtcache.
To avoid such panicks, we still need to hold softnet_lock in in_control
and in6_control that are called via ioctl and do network-related operations
including IP address additions/deletions.
Fix PR kern/51356
2016-07-28 09:03:50 +00:00
martin
f0b8f9c13b
From Michael Plass:
...
The superblock field that distinguishes between 4.2BSD and 4.4BSD
inodes is really only relevant on a UFS1 file system. Make sure that
it is a UFS1 fs before using fs_old_inodefmt.
Note that the NetBSD newfs and mkfs utilities initialize fs_old_inodefmt
even for UFS2, so problems were apparent only on file systems created
by other operating systems, for example, FreeBSD.
2016-07-28 08:24:58 +00:00
martin
1982ce327f
PR kern/51371: avoid shifting negative values
2016-07-28 07:54:31 +00:00