228131 Commits

Author SHA1 Message Date
taca
10703e1e09 Update root.cache entry. 2014-07-01 03:34:05 +00:00
taca
de6fa99741 Update root.cache to 2014060201.
Now B.ROOT-SERVERS.NET and C.ROOT-SERVERS.NET has an AAAA record.
2014-07-01 03:33:28 +00:00
matt
1dba1e789b Use MAP_ANONYNOUS (POSIX). Define MAP_ANON as MAP_ANONYMOUS. 2014-06-30 21:46:33 +00:00
alnsn
66c2729de9 Fix test directory. 2014-06-30 21:34:22 +00:00
jakllsch
663d51c704 Apply OpenBSD src/sys/dev/pci/if_wpireg.h 1.17. 2014-06-30 21:33:40 +00:00
alnsn
e281e658e4 Add new net/t_bpfjit test. 2014-06-30 21:32:59 +00:00
alnsn
d32d6008b1 Add bpfjit kernel tests for loading from mbuf chain. 2014-06-30 21:30:51 +00:00
jakllsch
5759b3c5f2 Sync with OpenBSD src/sys/dev/pci/if_wpireg.h 1.16. 2014-06-30 21:17:18 +00:00
joerg
1aed1443e6 IAS is clang specific. 2014-06-30 20:42:31 +00:00
maxv
374ecba24a This is weird; 'abort' already does all this, so simply use goto abort. 2014-06-30 17:51:31 +00:00
maxv
1d2bb5599c Reorder two variables and fix some comments. 2014-06-30 17:31:15 +00:00
maxv
8bd04c63bd If the interpreter is "", do not keep loading the script (which will later
fail), but return ENOEXEC directly.

ok christos@
2014-06-30 17:22:32 +00:00
darrenr
347b12f138 New IPv6 tests for ipnat parsing need to be built by make so that they can
be executed.
2014-06-30 17:02:55 +00:00
darrenr
6dd125be9b NetBSD has an entry for protocol #255 in /etc/protocols labeled "reserved"
so expect that in the parsing output instead of 255.
2014-06-30 16:14:35 +00:00
martin
59ac30731b Undo the mac68k specific previous change and instead move all mkisofs-based
images into ${RELEASEDIR}/images (just like the makefs ones).
2014-06-30 15:34:57 +00:00
njoly
7e0ae4d816 Use NZERO instead of hard-coded "20" value. 2014-06-30 14:58:59 +00:00
palle
b40cec791d sun4v: The maximum number of register windows is a constant and thus not available via the %ver register (sun4u only). Introduce a macro GET_MAXCWP that handles this, so cpu_switchto() works properly on sun4v. Other relevant reference to %ver can be adapted to use GET_MAXCWP as the sun4v port progresses. OK martin@ 2014-06-30 12:59:48 +00:00
ozaki-r
efbe326b4f Cleanup ppp_inproc
- Remove unnecessary variable isr
- Use pktq instead of rv to switch between inet/inet6 and other protocols

ok msaitoh@ and rmind@
2014-06-30 12:56:51 +00:00
ozaki-r
1a57926a63 Schedule pppoe_softintr only when a packet is enqueued 2014-06-30 10:03:41 +00:00
ozaki-r
2ee3427794 Acquire SW semaphore in wm_get_swsm_semaphore
It is required to serialize device drivers running on different CPUs.
The basic instructions are same as the official Intel driver.

ok msaitoh@
2014-06-30 06:09:44 +00:00
ozaki-r
fc4b038b3e Note micphy(4) 2014-06-30 05:52:24 +00:00
rmind
c4a0527d4f NPF: use BPF JIT by default. 2014-06-30 00:01:23 +00:00
jakllsch
202b86dcd4 drop trailing whitespace 2014-06-29 23:21:28 +00:00
jakllsch
98128fa573 Pass the scan result RSSI to the WPA code in a way that it understands. 2014-06-29 23:10:48 +00:00
martin
cc489da3c3 Make sure the iso target directory is created in-time for the mkisofs
invocation
2014-06-29 17:49:04 +00:00
mrg
200f5dd968 set TOOLCHAIN_MISSING for playstation2.
default EXTERNAL_TOOLCHAIN to choosing to be GCC.

ps2 pkgsrc almost works now..
2014-06-29 15:10:17 +00:00
martin
a2e013be29 Remove an unused variable 2014-06-29 12:18:42 +00:00
justin
dcada659bb Change assertion as rump_component_load may be called before curlwp available 2014-06-29 11:36:52 +00:00
mrg
c9c8247cb1 NBPFILTER is no more. 2014-06-29 11:18:40 +00:00
kardel
f4fb489c95 allow i2c address 0x01-0x7F
ignore responses if the sensor is in command mode
2014-06-29 09:52:43 +00:00
kardel
d70c01ba15 make implementation match gpio(4) man entry. do no change configuration
if no flags are being set (allows non-destructive inquiry via GPIOSET again).
2014-06-29 09:32:24 +00:00
darrenr
55ab6190c4 PR kern/47462 2014-06-29 09:27:58 +00:00
darrenr
d36a011b61 Add in test cases for testing ipnat's parsing of IPv6 NAT rules 2014-06-29 09:25:31 +00:00
kardel
21c18910f4 remove artifacts inspired by misleading documentation
fix address calculation macros
fix typoes
2014-06-29 09:06:05 +00:00
darrenr
656cd05412 #552 destination port not zero after parsing nat rule
3561691 gethost never returns an ipv6 address
2014-06-29 08:58:01 +00:00
darrenr
19d3d51e86 #551 ipf.conf address structure not properly zero filled 2014-06-29 08:53:08 +00:00
darrenr
e3b9d7cc54 #536 ipnat can try to print rule as dstlist incorrectly 2014-06-29 08:51:01 +00:00
tsutsui
9118f0148c Use "-O2 -fno-reorder-blocks" instead of "-Os" for m68k default optimization.
"-Os" was specfied when gcc 4.5.x was imported and the commit log says
"-O2 produces much bigger code with gcc 4.5 than it did with gcc 4.1"
but "-Os" disables most inline declarations and makes some applications
much slower.  "-O2 -fno-reorder-blocks" seems enough to reduce sizes
and disabling -freorder-blocks wouldn't cause particular performance
impact on ancient m68k machines with small cache memories.
See my post on port-m68k@ for more details:
http://mail-index.NetBSD.org/port-m68k/2014/06/22/msg000488.html

No objection in the thread and "seems fine to me" from mrg@.
2014-06-29 05:20:15 +00:00
darrenr
032564a48d 3561690 ipv6 address for test.hosts.dots in wrong byte order 2014-06-29 05:06:46 +00:00
tsutsui
c86d3c2853 Pull the simliar workaround from gcc 4.5.4:
http://mail-index.NetBSD.org/source-changes/2014/06/29/msg055885.html
---
Tweak LIB1ASMFUNCS order to avoid linker warnings on libgcc_s build with -O2.

Without this change, ld complains as the following:
>> libgcc_s_pic.a(_float.pico):(.text+0x8): relocation truncated to fit:
>> R_68K_PC16 against symbol `$_exception_handler' defined in .text section in
>> libgcc_s_pic.a(_floatex.pico)

_float.S and _double.S refer `$_exception_handler' declared in _floatex.S
and linking the _floatex.S first seems to work around these warnings
(probably caused by pic relative jump addresses).
See port-m68k@ posts for more details:
http://mail-index.NetBSD.org/port-m68k/2014/06/22/msg000488.html
---

Note m68k/defs.mk is manually edited to avoid extra diffs.
2014-06-29 05:02:15 +00:00
tsutsui
f140ce152e Tweak LIB1ASMFUNCS order to avoid linker warnings on libgcc_s build with -O2.
Without this change, ld complains as the following:
>> libgcc_s_pic.a(_float.pico):(.text+0x8): relocation truncated to fit:
>> R_68K_PC16 against symbol `$_exception_handler' defined in .text section in
>> libgcc_s_pic.a(_floatex.pico)

_float.S and _double.S refer `$_exception_handler' declared in _floatex.S
and linking the _floatex.S first seems to work around these warnings
(probably caused by pic relative jump addresses).
See port-m68k@ posts for more details:
http://mail-index.NetBSD.org/port-m68k/2014/06/22/msg000488.html

Note m68k.mk is manually edited to avoid extra diffs.
2014-06-29 04:55:44 +00:00
tsutsui
b0be3f23bf Export accessops functions to allow overriding them in MD attachment. 2014-06-29 04:08:43 +00:00
tsutsui
2136ca1e28 Use todr_[gs]ettime_ymdhms functions that handle ymdhms format properly.
Compile test only.
2014-06-29 04:04:02 +00:00
darrenr
1afe7e56bc in2 is no longer a broken test case 2014-06-29 04:00:59 +00:00
tsutsui
8b7b39a86f Add a newline at end of file. 2014-06-29 03:57:10 +00:00
tsutsui
694848a27b Add gffb(4) at pci. 2014-06-29 03:44:33 +00:00
tsutsui
f4e97c38e7 Appease a printf format warning on LP64 machines. 2014-06-29 03:43:06 +00:00
rmind
9c7a886e44 NPF:
- Populate the BPF external memory store with L3 information.
- Eliminate NPF_COP_L3 call and just use the data in the memstore.
- Bump NPF_VERSION.
2014-06-29 00:05:24 +00:00
dholland
01e782f371 Revert the following changes:
src/sys/sys/quotactl.h 1.37
   src/sys/compat/netbsd32/netbsd32.h 1.101
   src/sys/compat/netbsd32/netbsd32_netbsd.c 1.188, 1.189
   src/sys/kern/vfs_quotactl.c 1.39
   src/sys/kern/vfs_syscalls.c 1.483
   src/sys/ufs/lfs/ulfs_quota.c 1.11
   src/sys/ufs/ufs/ufs_quota.c 1.116
   src/lib/libquota/quota_kernel.c 1.5

and do them correctly.

If you're going to change the name of something, you need to change
the name of *all* the things with the same name, not just a handful,
and you should change it to something similar so it still matches the
rest of the system rather than just picking an arbitrarily different
name.

Hi, Joerg.

To wit, rename the quotactl "delete" operation to "del", because
"delete" is a reserved word in C++ and for some reason Joerg wants to
run internal interfaces used only by C code through his C++ compiler.
Do not rename it to "remove" instead, because this doesn't match
libquota or the rest of the usage throughout the system; and rename
all the related identifiers, not just the ones that blew the mind of
Joerg's C++ compiler.

Because this is not a user-facing API (the only userland consumer
sys/quotactl.h is libquota) it is sort of ok to make arbitrary
source-incompatible changes; however, by the same token it's completely
unnecessary. If it *were* a user-facing API that someone might have a
semi-rational reason to want to run a C++ compiler on, it would be
incorrect to change it at this point.
2014-06-28 22:27:50 +00:00
dholland
c53acaa3d4 If we're going to use just the name of the dying function as a panic
string, it should at least be the name of the *right* function. ish.
2014-06-28 21:13:12 +00:00