243948 Commits

Author SHA1 Message Date
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
martin
07832dcc0c PR kern/51371: fix misleading indentation 2016-07-28 07:52:06 +00:00
nonaka
d72787f787 regen 2016-07-28 03:09:47 +00:00
nonaka
720bf60533 Add Super Micro Computer Inc 2016-07-28 03:08:39 +00:00
nonaka
239c8e76b1 sort by vendor id. 2016-07-28 03:05:31 +00:00
maxv
9192e87177 Use UVM_PROT_ALL only if UVM_KMF_EXEC is given as argument. Otherwise, if
UVM_KMF_PAGEABLE is also given as argument, only the VA is allocated and
UVM waits for the page to fault before kentering it. When kentering it, it
will use the UVM_PROT_ flag that was passed to uvm_map; which means that it
will kenter it as RWX.

With this change, the number of RWX pages in the amd64 kernel reaches
strictly zero.
2016-07-27 16:45:00 +00:00
maxv
079335f30f Call cpu_init_msrs on i386 when waking up. Currently it does not change
anything, since MSR_EFER is already enabled earlier. But if we add new
MSRs in the future, we will want them when waking up as well.
2016-07-27 13:04:28 +00:00
maxv
441f58f71a Re-enable large pages on the data segment, but don't map the first page,
and add a comment to explain why. We will have to move the LAPIC VA.

The large page support is technically the same as before my last commit,
since in practice, the first page of .data is never mapped with large
pages.
2016-07-27 12:08:46 +00:00
skrll
442c44de38 Fix RB_KDB by calling the debugger entry points after pmap_bootstrap, etc 2016-07-27 11:13:14 +00:00
skrll
ac3daeaa4c Bump size of scratchstr - some KASSERTMGS exceed 256 characters 2016-07-27 09:57:26 +00:00
skrll
321454a08d Sprinle RCSID 2016-07-27 09:32:35 +00:00
msaitoh
1fdf1827c5 Print device ID with 8bits again (revert part of rev. 1.27) because
the revision field also printed next.
2016-07-27 09:11:44 +00:00
wiz
68e94d49dd New sentence, new line. 2016-07-27 08:38:25 +00:00
msaitoh
dde8159a11 - Add 0x54-0x57.
- Add note about sdtemp(4).
2016-07-27 07:44:10 +00:00
msaitoh
30742bf475 Add ichsmb(4), spdmem(4) and sdtemp(4). 2016-07-27 07:05:39 +00:00
msaitoh
e89450977b Add sdtemp(4) 2016-07-27 07:04:56 +00:00
pgoyette
827e59d955 Don't mutex_exit() if we didn't mutex_enter().
Pointed out by coypu. Thanks!
2016-07-27 05:14:40 +00:00
knakahara
c5ebd2d172 remove extra ifdefs. no functional changes.
ip_flow.c becomes build target only if GATEWAY kernel option is on.
So, "#ifdef GATEWAY" in ip_flow.c is not needed.
2016-07-27 04:23:42 +00:00
christos
813c85c184 start creating a table and say I will do binutils. 2016-07-27 02:33:40 +00:00
pgoyette
2d03daa3b0 If we're going to check for a NULL pointer, do the check before we
dereference it (to get the lock address).
2016-07-27 01:09:44 +00:00