Commit Graph

244854 Commits

Author SHA1 Message Date
skrll
643b0f021f Fix previous... handle hub ports 2016-09-07 08:09:59 +00:00
skrll
acf2328b3d Don't read beyond the end of the array when given a overly large number
of ports on a hub.
2016-09-07 08:05:02 +00:00
martin
832d276ed9 Redo previous by avoiding the casts and using PRIxREGISTER instead 2016-09-06 07:45:41 +00:00
martin
cccccd8360 Can not print register_t with %d, cast to long and use %ld instead. 2016-09-06 07:32:39 +00:00
martin
a4856ef48c Fix DPRINTF format 2016-09-06 07:12:48 +00:00
skrll
fe743c8bf7 Reduce scope of a variable. No functional change. 2016-09-06 06:46:15 +00:00
skrll
1d5354e153 Don't read beyond the end of an array 2016-09-06 06:27:17 +00:00
dholland
9367ee5723 Check bounds on input. From Michael Plass. 2016-09-05 21:11:11 +00:00
skrll
1b38ce07c0 kern/51458 (usb athn panic)
initialise buf in usc_tx_cmd
2016-09-05 20:58:51 +00:00
dholland
7bd425cccf printf functions should be tagged as printf functions. Noticed by
martin, whose build broke for some reason yet to be determined.
2016-09-05 20:41:59 +00:00
dholland
273d65f9c5 Build fix for when COREDUMP is turned off, from Ray Phillips in PR 51460. 2016-09-05 17:42:57 +00:00
jakllsch
b0d9a74829 Increase size of cats installation memory disk by 100Ki.
Or: We shouldn't let the cats out of the bag.
2016-09-05 14:47:30 +00:00
christos
8514813e35 more errors for text relocations 2016-09-05 14:25:33 +00:00
christos
262a6229a0 don't forget to destroy a cv 2016-09-05 14:13:50 +00:00
martin
9286e800c1 Add a bit of swapping for values in CG descriptors (used to be done
wholesale in e2fs_cgsave, but now common code keeps them in FS byte
order). Seems to fix newfs_ext2fs on big endian hosts.
2016-09-05 10:44:36 +00:00
christos
118ae671e7 sync error with x86_64. 2016-09-05 09:17:35 +00:00
christos
781b35a2d5 PR/51461: Mateusz Poszwa: Processes hang when attempting to read from an empty file on psshfs mount, add unit test:
When a process attempts to read from an empty file originating from
psshfs mount, it waits indefinitely. Until the hanged process is
interrupted, the mounted filesystem appears to work as expected,
except for the directory containing the empty file. Processes trying
to list that directory also hang, and cause misbehaviour of the
containing directory.  It is possible to create a chain of hanged
processes trying to read directories up to the mount point. At the
same time, psshfs generates some network traffic (around 5KB/s, in
my case). Interrupting the first hanged process causes emission of
an error message by all other hanged processes, and psshfs ceases
to generate network traffic. Subsequent trials to list any affected
directory or if one of the affected directories is the mount point
to unmount the filesystem, fail with the same error.
2016-09-05 08:53:57 +00:00
skrll
5dae601e33 Add ub and elf32 to KERNEL_SUFFIXES 2016-09-05 07:23:43 +00:00
skrll
328eb1ab0d Flush the dcache before syncing the icache as previous mappings (UBC)
might have used the same colo(u)r and the dcache won't have been flush up
to now.
2016-09-05 06:59:25 +00:00
martin
2aa3eb8e7d HAVE_GCC may not be set at all 2016-09-05 06:30:40 +00:00
mrg
f0286f687e oops, put mips32 back to gcc 5.3. 2016-09-05 05:58:29 +00:00
ozaki-r
6217615c26 Add some tests
We need more realistic tests.
2016-09-05 04:35:46 +00:00
ozaki-r
9457c93fed Remove a unexpectedly committed file 2016-09-05 04:17:13 +00:00
msaitoh
5e0f0bcd7f Fix the first two bytes' definitions of the DDR3 SPD ROM. This was not a real
bug because the definitions haven't used. From JEDEC Standard No. 21-C Annex K:
Serial Presense Detect (SPD) for DDR3 SDRAM Modules Document Release 6.
2016-09-05 04:06:55 +00:00
ozaki-r
13445aedf0 Add very basic tests for tun devices 2016-09-05 02:26:48 +00:00
ozaki-r
6dc1297521 Support tun devices on rump kernels 2016-09-05 02:25:37 +00:00
ozaki-r
586dc438d1 Fix typo in a comment 2016-09-05 01:57:54 +00:00
sevan
51fe790c4c Drop main() prototype. 2016-09-05 01:00:07 +00:00
sevan
39bbc68a3b Drop main() prototype. 2016-09-05 00:40:28 +00:00
mrg
6c540367a2 reverse the GCC 5 test and only list the platforms not using it:
${MACHINE_CPU} == "mips" || \
    ${MACHINE_CPU} == "m68k" || \
    ${MACHINE_ARCH} == "coldfire" || \
    ${MACHINE_ARCH} == "m68000" || \
    ${MACHINE} == "or1k" || \
    ${MACHINE} == "riscv"

and considering riscv and or1k both need to either wait for GCC 6
or have someone who cares port their 5.x patches to our tree, that
really only means we have mips and m68k left.
2016-09-04 18:57:39 +00:00
joerg
0f183be635 Bump the glob limits to 512KB for total string size and 64K path
entries. The old limits were too small for some important FTP use cases
like a pkgsrc repository.
2016-09-04 18:27:08 +00:00
skrll
87240e32e1 Another typo... that's what you get for not compile testing 2016-09-04 15:25:11 +00:00
skrll
7246cf077c Typo in previous 2016-09-04 15:23:14 +00:00
skrll
6a9bc54ee6 Safely remove non-PV_KENTER pages from pv_list 2016-09-04 15:21:54 +00:00
taca
720dfda89b Now root.cache is 2016082500 version. 2016-09-04 14:38:50 +00:00
taca
66840c3126 Update root.cache to 2016/8/25 version, l.root-servers.net has AAAA record
now.
2016-09-04 14:36:31 +00:00
skrll
e149b2e619 Sign extend va for use with cache ops 2016-09-04 07:47:12 +00:00
skrll
9cd6c57a69 More debug 2016-09-04 07:38:45 +00:00
skrll
3b8780d834 Remove old and incorrect comments 2016-09-04 07:30:52 +00:00
skrll
16b46675c7 Fix pte_cached_p for MIPS_HAS_R4K_MMU 2016-09-04 07:27:49 +00:00
wiz
5f63cd482b Update llvm info. 2016-09-03 23:31:53 +00:00
joerg
7871f8fcbc Update LLVM and Clang to 3.8.1+ r280599. The most relevant changes for
NetBSD are driver logic for PIE linkage and a number of SPARC fixes.
2016-09-03 23:22:38 +00:00
joerg
e2a06b5df1 Import Clang 3.8.1+ r280599. 2016-09-03 23:11:41 +00:00
wiz
b75c02b32e llvm-3.9.0 out. 2016-09-03 23:01:57 +00:00
joerg
6a611ff2ed Import LLVM 3.8.1+ r280599. 2016-09-03 21:50:19 +00:00
jakllsch
e964957707 Switch shark to Xorg server 1.18.
The igs driver no longer builds against 1.10.
2016-09-03 16:10:34 +00:00
christos
6f1abd5174 gcc generates incorrect jump tables with -fPIE 2016-09-03 15:47:54 +00:00
christos
6f0de7e87f NOSSP/NOPIE 2016-09-03 15:18:21 +00:00
christos
ca5a68686c update for sh3 arm and mips 2016-09-03 12:39:41 +00:00
christos
815243be44 Switch mips32 to new binutils/gcc/gdb/pie. Tested with gxemul+pmax 2016-09-03 12:32:12 +00:00