Commit Graph

248759 Commits

Author SHA1 Message Date
hannken
b62f0c07fe Protect attaching and detaching lwp_info to mount with a mutex. 2017-02-17 08:24:07 +00:00
knakahara
651a6f210c more fix about IFF_OACTIVE.
fix TODO of r1.479 and reduce IFF_OACTIVE manipulation.
2017-02-17 07:21:28 +00:00
knakahara
d1883cb564 refactor: functionize deferred_start code holding locks. 2017-02-17 05:20:01 +00:00
knakahara
081c50afe5 refactor: functionize txrxintr disable/enable code. 2017-02-17 04:51:01 +00:00
ozaki-r
d412d1c277 Protect sysctl_net_inet_ip_pmtudto with icmp_mtx instead of softnet_lock 2017-02-17 04:32:10 +00:00
ozaki-r
77a7c1c676 Make NOMPSAFE comments informative 2017-02-17 04:31:34 +00:00
ozaki-r
c5696d3c25 Rename if_acquire_NOMPSAFE to if_acquire
It can be used in MP-safe ways. So let's remove the confusing postfix.
If it's used in a unsafe way, warn NOMPSAFE in a comment.
2017-02-17 03:57:17 +00:00
ozaki-r
8392d61dfb Fill rmx_locks too
Otherwise userland sees garbage in it.

This should fix t_mtudisc6 failing on babylon5.
2017-02-17 02:56:53 +00:00
kamil
e20435531b Commit TRAP_HWWPT -> TRAP_DBREG switch in <sys/siginfo.h>
This is integral part of the previous two commits.

Sponsored by <The NetBSD Foundation>
2017-02-17 01:49:24 +00:00
kamil
ff463eb10e Note TRAP_HWWPT -> TRAP_DBREG rename manual steps for build.sh -u 2017-02-17 01:42:59 +00:00
kamil
e883110f17 Add new si_code TRAP_DBREG
It replaces previous TRAP_HWWPT and is designed to be used for debug
register traps (both watchpoints and breakpoints).

TRAP_HWWPT wasn't documented in siginfo(2) neither noted in doc/CHANGES -
- document it and add new entry in CHANGES. This move is a step towards
switch the watchpoint ptrace(2) api to PT_*DBREGS.

This code was introduced recently and has no impact on stable releases.

Sponsored by <The NetBSD Foundation>
2017-02-17 01:14:31 +00:00
ozaki-r
edc02e28f0 Make the test more stable 2017-02-17 00:51:52 +00:00
ozaki-r
d1c5314c1f Make test names self-descriptive 2017-02-17 00:51:25 +00:00
christos
375072cc9c allow 0 timestamp 2017-02-16 22:44:06 +00:00
christos
285cf56905 Allow 0 timestamp 2017-02-16 22:42:25 +00:00
christos
f8bc8f05cf allow 0 timestamp 2017-02-16 22:40:19 +00:00
christos
d372863cc1 need <sys/stat.h> 2017-02-16 22:10:50 +00:00
christos
639cd04dc3 fix msdos reproducible builds! 2017-02-16 19:11:13 +00:00
christos
e93222b74e start fixing msdosfs for reproducible builds; does not work yet. 2017-02-16 18:50:04 +00:00
christos
297234680c add -T for reproducible builds (used in makefs) 2017-02-16 18:49:31 +00:00
christos
0ac6b0daad PR/51973: Use proper fd for AuthorizedKeysCommand 2017-02-16 17:56:07 +00:00
rin
aaf544539d The default values for MKPIC are yes and no for sh3 and m68000, respectively.
Bump date.
2017-02-16 17:15:26 +00:00
kamil
0c10bdf293 Switch back arch/amd64/t_ptrace_wait.c to r1.6 and restore original DBREGS
This is preparation to replace watchpoint API to dbregs.

Sponsored by <The NetBSD Foundation>
2017-02-16 15:57:45 +00:00
tls
9c8a51e704 On i386 (but not on amd64) we can enable SSE comparatively very late, when
probing/attaching the FPU.  This is a problem for cpu_rng with the VIA
processors because, by design, cpu_rng attaches, and the entropy subsystem
starts up, very early.

If SSE is not enabled, calls to any "PadLock" instructions (ACE, RNG)
on the VIA processors will trap, per the manual:
	linux.via.com.tw/support/beginDownload.action?eleid=181&fid=261

All VIA CPUs with PadLock, or which match the model/stepping test as
possibly having PadLock, have SSE.  Just unconditionally enable it before
trying to turn the crypto block on.

Fixes crash at RNG attach time reported by Andrus V.; fix proposed by
jak@.
2017-02-16 15:00:30 +00:00
wiz
ae4956b2f3 New sentence, new line.
Remove superfluous macros and whitespace.
Some wording improvements.
2017-02-16 14:00:26 +00:00
wiz
d0da83b571 New sentence, new line.
Remove superfluous Oc and merge line to make it less likely to happen again.
Fix typo.
2017-02-16 13:51:08 +00:00
tsutsui
b1d41f724d Make sure to prepare /dev/xp node entry.
Missed in the initial xp(4) support import:
 http://mail-index.netbsd.org/source-changes/2016/12/03/msg079493.html
2017-02-16 13:13:39 +00:00
knakahara
97e14e9587 update doc/CHAGES 2017-02-16 08:48:34 +00:00
knakahara
a1bcdaa388 add l2tp(4) to amd64/GENERIC and amd64/ALL config. 2017-02-16 08:45:42 +00:00
knakahara
abf7aa227e add l2tp(4) basic test. 2017-02-16 08:44:47 +00:00
knakahara
7881c6ebb7 l2tp(4) support rump. 2017-02-16 08:39:10 +00:00
knakahara
f8f075dfc2 add man for l2tp(4). 2017-02-16 08:32:21 +00:00
knakahara
03c4401a4e add l2tp(4) subcomands to ifconfig(8).
originally implemented by IIJ SEIL team.
2017-02-16 08:28:03 +00:00
knakahara
706b73f634 add missing files. 2017-02-16 08:23:35 +00:00
knakahara
9795bc8884 support interface name which includes digit. 2017-02-16 08:13:43 +00:00
ozaki-r
f5b4d3a19e Use nc instead of ftp/httpd
ftp with rumphijack is unstable probably because ftp uses siglongjmp from
a signal hander. So stop using ftp and use nc instead. This fixes test
failures of t_mtudisc on some environments such as my development machine
(amd64) and anita on sparc64.
2017-02-16 08:12:47 +00:00
knakahara
939a415a7d add l2tp(4) L2TPv3 interface.
originally implemented by IIJ SEIL team.
2017-02-16 08:12:43 +00:00
ozaki-r
44d072be9e Support paccept for nc 2017-02-16 08:08:01 +00:00
msaitoh
c6eeb882da Do if_snd check even if IXGBE_LEGACY_TX is used. It's used by ALTQ. 2017-02-16 08:01:11 +00:00
msaitoh
2056453260 txt_si softint is used only for multiqueue (ixgbe_mq_start_locked()), so don't
schedule it in ixgbe_legacy_irq().
2017-02-16 07:58:21 +00:00
knakahara
9f6d30caea fix about IFF_OACTIVE.
It is required manipulate IFF_OACTIVE for old ethernet controllers and ALTQ
to use if_start. To avoid race, txq_lock of 0th txq is needed to write
IFF_OACTIVE.

TODO: read side refactor
2017-02-16 05:36:41 +00:00
nonaka
5082cc4118 Quell maybe-uninitialized false positives from gcc -Os.
reported by John D. Baker at current-users@.
http://mail-index.netbsd.org/current-users/2017/02/15/msg031132.html
2017-02-16 03:53:20 +00:00
christos
d238194040 Add ${GPT_TIMESTAMP} 2017-02-16 03:47:23 +00:00
christos
ef9cffab3f Add -T timestamp for reproducible builds. 2017-02-16 03:32:17 +00:00
christos
23fc7b3c92 there is no -f in install 2017-02-16 02:37:32 +00:00
rin
96f404cffb sorry, correct English grammer 2017-02-16 01:05:01 +00:00
rin
4ec55dfcea lcWrap.c is miscompiled on vax, which results in input failure via XIM.
Besides, some clients, e.g., pkgsrc/x11/kterm, receives SIGSEGV.
2017-02-16 01:02:28 +00:00
christos
4dc6c7760f add chrp 2017-02-15 22:47:27 +00:00
kamil
f0303273a0 Reintroduce ATF_TP_ADD_TC_HAVE_DBREGS for t_ptrace_wait* ATF tests
PT_GETDBREGS & PT_SETDBREGS API will replace the current one for
watchpoints.

Sponsored by <The NetBSD Foundation>
2017-02-15 20:58:22 +00:00
abhinav
3b75062635 Fix spelling: s/alogorithms/algorithms 2017-02-15 17:44:52 +00:00