Commit Graph

234428 Commits

Author SHA1 Message Date
yamt
b549d229c6 Fix membars around rtld internal mutex.
This fixes the most of lockups i observed with Open vSwitch
on NetBSD/amd64.  ("most of" because it still occasionally
locks up because of other problems.  see PR/49816)
2015-04-06 09:34:15 +00:00
hannken
a494ee15b8 Change udf to vcache, keyed on udf_node->loc.loc. 2015-04-06 08:39:23 +00:00
ozaki-r
51022ca953 Make rt_maskedcopy static 2015-04-06 08:39:06 +00:00
hannken
94abdca3c1 Move the removal of unlinked nodes from udf_inactive() to udf_reclaim(). 2015-04-06 08:38:25 +00:00
martin
58e6995b46 Make sure to halt (not just stop) the bge_tick callout during detach. 2015-04-06 07:38:17 +00:00
ozaki-r
516f7fb118 Add hint comments for big ifdef 2015-04-06 06:26:21 +00:00
ozaki-r
6efd00dd29 Include sys/sysctl.h ifdef RTFLUSH_DEBUG 2015-04-06 06:20:27 +00:00
ozaki-r
f5ac3a72e5 Remove unnecessary inclusions 2015-04-06 06:16:30 +00:00
riastradh
c955328013 Missed a zero: it's 0x100000, not 0x10000. 2015-04-06 02:29:18 +00:00
uwe
c9951c23e1 On swapcontext(3) preserve r12 too. Properly fixes PR port-sh3/49597. 2015-04-06 01:50:46 +00:00
riastradh
8e8ad4e145 Don't let anyone else allocate the video BIOS either. 2015-04-06 01:11:19 +00:00
rtr
cefecbaa6b fix typo bindinging -> binding 2015-04-05 23:28:10 +00:00
rtr
ab64ace65a change return from EINVAL to EAFNOSUPPORT when the domain of the socket
does not match the family of the address to be bound.

fixes atf test lib/libc/sys/t_bind bind_foreign_family
2015-04-05 23:19:56 +00:00
rtr
f0da3f110d add another test program for connect(2) that checks that connect fails
with EAFNOSUPPORT (similar to the bind test) if the domain of the socket
does not match the address family of the supplied address.

test currently fails as it should
2015-04-05 23:17:41 +00:00
rtr
a954fb5823 - ATF_REQUIRE(EINVAL == errno);
+       ATF_REQUIRE(EAFNOSUPPORT == errno);

as per http://pubs.opengroup.org/onlinepubs/009695399/functions/bind.html

while here remove some unnecessary initialization of port and addr members
and replace with a comment explaining why.
2015-04-05 23:15:54 +00:00
christos
b554e5dbff don't forget to include config.h otherwise it thinks we don't have vnsnprintf
and fortify compiles fail.
2015-04-05 22:36:36 +00:00
wiz
1ce6069203 Sort errors. Bump date for previous. 2015-04-05 20:41:05 +00:00
palle
f406263a43 sun4v: Ensure that the TTEs CP and CV bits are the same (both set) for the primary cpu and secondary cpus INTSTACK mappings 2015-04-05 20:34:00 +00:00
rtr
2ed41a38ec Note that bind(2) can fail with EAFNOSUPPORT. The description of why is
taken from the connect(2) manpage.
2015-04-05 20:33:45 +00:00
palle
9a7de76576 sun4v: Ensure that the W (Write) bit is not present in the TTEs unless for the data mapping. This way the permanent mappings for the primary cpu done by ofwboot are the same as the permanent mappings for the secondary cpus done by the kernel. This should fix an issue when booting the kernel on a T2 based system (T5120). 2015-04-05 20:26:47 +00:00
jmcneill
422b7a467a Use FFSv2 instead of FFSv1 for the root file-system. This should fix the
"resize_ffs takes forever" issues with evbarm images -- growing a v2
file-system is much faster than v1.
2015-04-05 17:05:45 +00:00
riastradh
244fab16c6 Don't use the video BIOS memory as an i915 flush page! 2015-04-05 12:55:20 +00:00
apb
4d63581d0f More shell quoting. /etc/rc.d/* file names with embedded spaces are
not expected to work, but let's quote them anyway.
2015-04-05 11:33:15 +00:00
skrll
84f39ea37e PR/49814: USB Quirk for Texas Instrument MSP430 FET programmer 2015-04-05 09:24:21 +00:00
skrll
2751b05138 Regen 2015-04-05 09:22:13 +00:00
skrll
3e276bcf26 More Texas Instruments (not Texas Intel) products.
Part of PR/49814
2015-04-05 09:18:13 +00:00
skrll
7fa116391b More debug. 2015-04-05 09:12:06 +00:00
skrll
63bbbbdab7 Regen 2015-04-05 08:41:05 +00:00
skrll
26ba25f10f Conexant USB Modem from Ryo ONODERA on current-users. 2015-04-05 08:39:10 +00:00
pgoyette
03022ba794 Remove dangling cross-ref to localtime(3). There's another cross-ref in
the next sentence that actually makes sense.
2015-04-05 08:36:38 +00:00
martin
2820a3530e Add new bind(2) test program 2015-04-05 06:37:25 +00:00
martin
4839e0f0d8 New test program for bind(2), with a single (currently eroneously failing)
test case from Tyler Retzlaff.
2015-04-05 06:36:52 +00:00
rtr
9b6821f2d1 make bind() fail with EINVAL if the address family of the provided
socket does not match the address family of the sockaddr received.
2015-04-05 02:26:39 +00:00
christos
27de1fdbf3 build ops.h first, because trying to build dependencies and ops.h at the
same time leads to spurious failures.
2015-04-04 19:32:06 +00:00
christos
412bc8d494 Apply commit fb6e5377f392555b8c725f66b8b701f0061a3695:
-Fix/add ND_TCHECK2 tests,
-Fix a buffer overflow,
-Remove a debug printf
2015-04-04 18:53:51 +00:00
joerg
e0985a06ba lib/49813: Release mutex on error. 2015-04-04 18:51:57 +00:00
riastradh
8ed8bab8ef In DRM_SPIN_WAIT_ON, don't stop after waiting only one tick.
Continue the loop to recheck the condition and count the whole
duration.
2015-04-04 15:46:53 +00:00
christos
1a163254a9 fix leak, found by Brainy. 2015-04-04 15:33:36 +00:00
christos
60286af6b4 another missing free dict. 2015-04-04 15:31:17 +00:00
christos
a71dc1a6de don't forget to free the dictionary. 2015-04-04 15:29:59 +00:00
riastradh
01d53ea75d Free ped if we can't hand it to the power daemon.
Found by Brainy, reported by maxv@.
2015-04-04 15:25:16 +00:00
christos
fe33b0b722 don't leak rl (but there are other leaks), found by Brainy. 2015-04-04 15:22:02 +00:00
christos
062c49ed02 dedup code. 2015-04-04 15:16:54 +00:00
riastradh
5d135d4b30 Free cmd on error if we allocated it.
Found by Brainy, reported by maxv@.
2015-04-04 15:14:42 +00:00
jmcneill
ba1490c167 pmf_device_register returns false on failure, not true 2015-04-04 15:12:39 +00:00
christos
32f59dba16 fix double free, found by Brainy. 2015-04-04 15:10:47 +00:00
christos
29425aef1e fix memory leak, found by Brainy.
XXX: is there anything else that we need to cleanup at this point?
2015-04-04 15:09:45 +00:00
riastradh
73a47107cb Fix error branches in agp_amd64.c.
- agp_generic_detach always.
- Free asc if it was allocated.  (Found by Brainy, noted by maxv@.)
- Free the GATT if it was allocated.
2015-04-04 15:08:40 +00:00
macallan
b820c48042 malloc() -> kmem_alloc() for private data, also kmem_free() them if we
don't finish attaching for whatever reason

found by Brainy
2015-04-04 14:19:00 +00:00
macallan
c5ab7a0ed0 don't malloc a tiny, fixed size buffer to scribble into, then not use it
and never free it either

found by Brainy
2015-04-04 14:12:40 +00:00