Commit Graph

245896 Commits

Author SHA1 Message Date
jdolecek
7d01329449 note wapbl truncate fix 2016-11-01 18:57:56 +00:00
jdolecek
8ed63d94b4 remove dup line 2016-11-01 16:15:51 +00:00
christos
3d63ec494e need an = 2016-11-01 15:58:41 +00:00
wiz
f899b3dcea Bump date for previous. 2016-11-01 15:30:47 +00:00
jdolecek
3a357b71a7 reduce admin queue size to save memory; it's only ever used during
attach/detach and for nvmectl(8), so there is actually no point having it big
2016-11-01 14:46:31 +00:00
skrll
0d033f4194 Obsolete gcc files 2016-11-01 14:45:25 +00:00
jdolecek
a2a95605bd pass maxphys from device rather then assuming MAXPHYS; it's clipped in ld(4)
if bigger then MAXPHYS

multiply the queue size by number of queues for ld(4) sc_maxqueuecnt, so
that ld_diskstart() would try to use full capacity, instead of throttling
to one queue worth of commands
2016-11-01 14:39:38 +00:00
jdolecek
b5e5261cdf tighter queue control - according to spec actual cap on number of commands
in flight is actually one less then queue size, head == tail means empty
queue
2016-11-01 14:24:35 +00:00
skrll
00c98aaf30 enable xorg-server 1.18 for evbarm 2016-11-01 14:21:30 +00:00
christos
84f3f387af bump binutils libraries 2016-11-01 14:04:48 +00:00
christos
24c043b8d9 bump both (belatedly) 2016-11-01 14:02:15 +00:00
christos
ed77187f53 Add NODEBUGLIB, perhaps LIBISPRIVATE is better here? 2016-11-01 14:02:01 +00:00
christos
3dbb75efa9 add NODEBUGLIB 2016-11-01 14:01:25 +00:00
kamil
0144090d24 Document PT_SET_EVENT_MASK, PT_GET_EVENT_MASK and PT_GET_PROCESS_STATE
These descriptions are imported from OpenBSD.

Approved by <christos>

Sponsored by <The NetBSD Foundation>
2016-11-01 13:51:13 +00:00
maxv
6afccfe796 Map the PTE space as non-executable on PAE. The same is already done on
amd64.
2016-11-01 12:16:10 +00:00
maxv
36b3504040 Map the remaining pages as non-executable. Only text should have X. 2016-11-01 12:00:21 +00:00
ozaki-r
d5dc0960bb Reduce the number of return points
No functional change.
2016-11-01 10:32:57 +00:00
christos
6e03f6000c Don't spin if we already own the mutex, otherwise we will get stuck spinning
forever, fixes timemutex{1,2} tests.
2016-10-31 23:53:12 +00:00
christos
b6bcbcb52f more tests from kamil 2016-10-31 23:51:20 +00:00
skrll
e0370c2ad8 Fix linker script entries for arch64 mips 2016-10-31 20:22:35 +00:00
skrll
424aa5458d Mark linker scripts with binutils 2016-10-31 20:16:48 +00:00
skrll
1a24f78652 sort (sort of) 2016-10-31 20:14:08 +00:00
kamil
3b2abf0b2a Add CHECK_NOT_THREADED() in __libc_mutexattr_settype_stub()
This makes this function consistent with __libc_mutex_catchall_stub()
and others in the same group.

Approved by <christos>.
2016-10-31 18:10:11 +00:00
abhinav
0551ffcf66 Fix file name auto completion in one specific case.
For example if you do
$mkdir -p /tmp/dir1/dir2

Then:
$ls /tmp/di <TAB> auto completes to
$ls /tmp/dir1/

Hitting <TAB> again auto completes to
$ls /tmp/dir1/dir2

Whereas it should auto complete to
$ls /tmp/dir1/dir2/


Essentially, in cases like above where you have to hit <TAB> twice to get
to the match and there is only one match (because only one file/sub-directory) then
auto complete doesn't work correctly. It doesn't append a trailing slash (in case
of directory) or a space (in case of a file) to the match name.

I have tested file name completion in sh(1) and symbol completion in gdb after
this change.
2016-10-31 17:46:32 +00:00
christos
73f2b871c9 fix typos 2016-10-31 16:23:03 +00:00
christos
179c7d3b31 Merge and fix the timed mutex tests to use absolute time.
NB: the new tests are broken?
2016-10-31 16:21:23 +00:00
maxv
e18421c86e The mbuf is freed by the protocol even on error, so always NULL the pointer
instead of double-freeing it. Indirectly pointed out by Mootja.
2016-10-31 15:27:24 +00:00
maxv
a8d918182b Memory leak, found by Mootja. By the way, we probably shouldn't be
returning -1 here.
2016-10-31 15:08:45 +00:00
maxv
bee122aa97 Memory leak, found by Mootja. It is easily triggerable from userland. 2016-10-31 15:05:05 +00:00
christos
e3992d8536 restore previous logic. 2016-10-31 14:34:32 +00:00
skrll
94b84ddb19 Pre-allocate some kcpuset_ts so that we don't try and allocate in the
wrong context.
2016-10-31 12:49:04 +00:00
skrll
7a18db2183 Fixup IPI interrupt delivery and splsched mask so that
sys/uvm/pmap/pmap_tlb.c

    541 	KASSERTMSG(ci->ci_cpl >= IPL_SCHED,
    542 	    "%s: cpl (%d) < IPL_SCHED (%d)",
    543 	    __func__, ci->ci_cpl, IPL_SCHED);

doesn't fire.
2016-10-31 12:27:22 +00:00
christos
683d8d5aa6 PR/51574: You can't always get what you want, but if you try sometime..
Remove unreachable code.
2016-10-31 12:18:10 +00:00
ozaki-r
cd4a5f447b Add tests for ping6 options
- -S <sourceaddr>
- -I <interface>
- -g <gateway>
2016-10-31 10:38:25 +00:00
martin
4b719b6d22 Stopgap fix for in-kernel compilation (differences between humanize_number(3)
and humanize_number(9)), ok: msaitoh
2016-10-31 09:13:20 +00:00
pgoyette
c16bd04c08 Fix markup .Dv --> .Dq
(Thanks, wiz!)
2016-10-31 07:37:10 +00:00
msaitoh
457bdd14ee Decode Resizable BAR. 2016-10-31 05:10:45 +00:00
dholland
5358d0befc Add another case related to the ones from PR 49278: [A-\\]. 2016-10-31 05:08:53 +00:00
ozaki-r
c5224ffd07 Pull best address selection code out of in6_selectsrc
No functional change.
2016-10-31 04:57:10 +00:00
nonaka
ba5614b57d regen 2016-10-31 04:16:29 +00:00
ozaki-r
0f3a44863e Fix race condition of in6_selectsrc
in6_selectsrc returned a pointer to in6_addr that wan't guaranteed to be
safe by pserialize (or psref), which was racy. Let callers pass a pointer
to in6_addr and in6_selectsrc copy a result to it inside pserialize
critical sections.
2016-10-31 04:16:25 +00:00
nonaka
e40484001a Remove duplicated HUAWEI E353 entry. 2016-10-31 04:15:22 +00:00
dholland
9a414660b9 Regen. 2016-10-31 03:19:23 +00:00
dholland
11840f5367 Add extra ucom/u3g id for Huawei E353; from Ben Gergely in PR 49302. 2016-10-31 03:18:41 +00:00
ozaki-r
6e6136eaff Remove unnecessary NULL checks 2016-10-31 02:50:31 +00:00
knakahara
973dac0e9f Fix locking against myself at wm_turn{on,off} when NET_MPSAFE is defined.
Pointed out by ozaki-r@n.o, thanks.
2016-10-31 02:44:54 +00:00
pgoyette
34a71bb24b Typo 2016-10-31 01:31:25 +00:00
mlelstv
797eebd407 Error recovery stops normal queue processing but didn't resume it
when the recovery succeeded. Add the missing calls to scsipi_channel_thaw
similar to kern/41867.
2016-10-30 23:56:05 +00:00
mlelstv
fc6e0636cf CAM status values are used as xs_status and must be mapped to XS values.
Add the missing mapping for CAM_CMD_TIMEOUT.
2016-10-30 23:35:10 +00:00
kamil
06b9d77598 POSIX harder the pthread_mutex_timedlock(3) prototype
Add missing __restrict keyword to the first pointer parameter.

It was already used for the second argument, should not be a functional
change and generated code should be the same.

This new form is now aligned with POSIX.
2016-10-30 23:26:33 +00:00