christos
efebee5612
sort completely
2017-02-20 13:45:43 +00:00
skrll
e4fbe3f2fb
Whitespace
2017-02-20 10:34:55 +00:00
ozaki-r
c1421f792c
Add basic tests for forwarding fragmented packets
2017-02-20 09:58:58 +00:00
knakahara
587ff66fda
Apply deferred if_start to vmx(4).
2017-02-20 09:02:01 +00:00
ozaki-r
bed60eb03f
Add simple tests of behaviors of alias addresses
2017-02-20 09:00:08 +00:00
ozaki-r
fa599b2eb8
Apply deferred if_start to more drivers...
2017-02-20 08:25:57 +00:00
ozaki-r
1c82c572b4
Apply deferred if_start to more drivers
2017-02-20 07:43:29 +00:00
kamil
2473483dae
Protect dbregs_dr*_dont_inherit_lwp in arch/amd64 with HAVE_DBREGS
...
The code for debug registers isn't in HEAD and it might break the build.
Sponsored by <The NetBSD Foundation>
2017-02-20 06:48:49 +00:00
ozaki-r
078f8f327c
Fix assertion failure in bpf_mtap by applying deferred if_start to re(4)
...
Reported by maya@
2017-02-20 06:46:41 +00:00
kamil
69781b08f0
Add new tests dbregs_dr[67]_dont_inherit_lwp in arch/amd64
...
New tests:
- dbregs_dr6_dont_inherit_lwp
- dbregs_dr7_dont_inherit_lwp
Debug Registers are set always per-LWP and they are never inherited.
If a user wants to reuse them, there is need to set trap on thread creation
(PTRACE_LWP_CREATE) and set them from a debugger on newly created LWP.
Sponsored by <The NetBSD Foundation>
2017-02-20 06:18:48 +00:00
kamil
89cfb5786e
Fix more issues with compat to i386 in arch/amd64 tests for Debug Registers
...
Stop compating the number of available registers with 16, it's amd64
specific. i386 ships with 8 Debug Registers.
Sponsored by <The NetBSD Foundation>
2017-02-20 05:47:59 +00:00
rin
32e3859f13
bump from NETBSD4 to NETBSD7, no functional changes at the moment
2017-02-20 05:46:12 +00:00
rin
09c20f93ff
We have getifaddrs(3) since NetBSD 1.5, regardless of whether IPv6 is
...
supported or not.
2017-02-20 05:43:12 +00:00
kamil
87307ca799
Add new tests dbregs_dr*_dont_inherit_lwp and improve i386 compat
...
Add new tests:
- dbregs_dr0_dont_inherit_lwp
- dbregs_dr1_dont_inherit_lwp
- dbregs_dr2_dont_inherit_lwp
- dbregs_dr3_dont_inherit_lwp
Fix memcmp(3) usage when comparing registers. Comparing with len is
incorrect as it should be len*sizeof(register) or just sizeof(registers).
Don't check for 16 Debug Registers, it's amd64 specific and not portable
to i386.
Don't compare registers before and after triggering a trap, it's a bug that
was hidden by incorrect usage of memcmp(3).
Sponsored by <The NetBSD Foundation>
2017-02-20 05:40:51 +00:00
rin
318e53e005
correct obviously misplaced #endif
2017-02-20 05:40:03 +00:00
ozaki-r
390b465f79
Make updating a rtentry in rtinit MP-safe
2017-02-20 04:23:11 +00:00
pgoyette
d34bac1615
Move the /etc/sasl stuff to proper position in collating sequence.
...
XXX Ideally we would sort the whole file...
2017-02-20 04:02:53 +00:00
kamil
fcb607706d
Add new entry to TODO.ptrace
...
check 64-bit debugger on 64-bit kernel tracing capabilities of 32-bit tracee
Sponsored by <The NetBSD Foundation>
2017-02-20 03:37:24 +00:00
ryoon
5f4d051ad8
Add valz(4)
2017-02-20 03:29:04 +00:00
kamil
8b8807ec7c
Remove tests/lib/libc/gen/exect paths from mtree and sets
...
The exect tests have been removed from the distribution.
Requested by Thomas Klausner.
2017-02-20 03:14:42 +00:00
ozaki-r
b7100b390b
Reinit a pslist entry before inserting it to a pslist again
...
Fix PR kern/51984
Tested by nonaka@
2017-02-20 03:08:38 +00:00
kamil
6a2fda314b
Add new tests dbregs_dr[0123]_trap_code in arch/amd64
...
Add new tests:
- dbregs_dr0_trap_code
- dbregs_dr1_trap_code
- dbregs_dr2_trap_code
- dbregs_dr3_trap_code
This is the final set of tests for trap types that are supposed to be
supported by all amd64 CPUs.
Traps for code (instruction) execution must be set to 1 byte, otherwise
they are undefined. x86 code traps must point to the first byte of an
instruction.
Sponsored by <The NetBSD Foundation>
2017-02-20 02:56:03 +00:00
khorben
b4c0f63794
Remove a useless loop around getpass()
...
According to getpass(3), this library function cannot return NULL.
Verified with a source code inspection.
2017-02-20 01:38:28 +00:00
kamil
29b683511e
Add new tests dbregs_dr*_trap_variable_readwrite_read_*byte* in arch/amd64
...
Add new tests:
- dbregs_dr0_trap_variable_readwrite_read_byte
- dbregs_dr1_trap_variable_readwrite_read_byte
- dbregs_dr2_trap_variable_readwrite_read_byte
- dbregs_dr3_trap_variable_readwrite_read_byte
- dbregs_dr0_trap_variable_readwrite_read_2bytes
- dbregs_dr1_trap_variable_readwrite_read_2bytes
- dbregs_dr2_trap_variable_readwrite_read_2bytes
- dbregs_dr3_trap_variable_readwrite_read_2bytes
- dbregs_dr0_trap_variable_readwrite_read_4bytes
- dbregs_dr1_trap_variable_readwrite_read_4bytes
- dbregs_dr2_trap_variable_readwrite_read_4bytes
- dbregs_dr3_trap_variable_readwrite_read_4bytes
Sponsored by <The NetBSD Foundation>
2017-02-20 01:34:53 +00:00
khorben
b07e8011d2
Remove a useless loop around getpass()
...
According to getpass(3), this library function cannot return NULL.
Verified with a source code inspection.
2017-02-20 01:33:28 +00:00
kamil
6b2b7082a4
Add new tests dbregs_dr*_trap_variable_readwrite_write_*byte* in arch/amd64
...
Add new tests:
- dbregs_dr0_trap_variable_readwrite_write_byte
- dbregs_dr1_trap_variable_readwrite_write_byte
- dbregs_dr2_trap_variable_readwrite_write_byte
- dbregs_dr3_trap_variable_readwrite_write_byte
- dbregs_dr0_trap_variable_readwrite_write_2bytes
- dbregs_dr1_trap_variable_readwrite_write_2bytes
- dbregs_dr2_trap_variable_readwrite_write_2bytes
- dbregs_dr3_trap_variable_readwrite_write_2bytes
- dbregs_dr0_trap_variable_readwrite_write_4bytes
- dbregs_dr1_trap_variable_readwrite_write_4bytes
- dbregs_dr2_trap_variable_readwrite_write_4bytes
- dbregs_dr3_trap_variable_readwrite_write_4bytes
Sponsored by <The NetBSD Foundation>
2017-02-20 01:21:47 +00:00
khorben
86dea4ede5
Do not crash when listing keys without a keyring
...
To test: (with an empty ~/.gnupg)
$ netpgpkeys --import-key /dev/null
Submitted on tech-pkg@ as:
[PATCH 01/11] Do not crash when listing keys without a keyring
Different patch for the same issue.
2017-02-20 00:51:08 +00:00
pgoyette
72c3d8d573
Add /etc/rc.d/unbound per christos@
...
XXX should we move the /etc/sasl/ entries to their proper place in
XXX sort order? as of now they're sitting in the middle of /etc/rc.d !
2017-02-20 00:33:53 +00:00
pgoyette
2b301e390b
Mark the entry for /etc/rc.d/nsd optional - it's not included in every
...
system.
2017-02-20 00:29:37 +00:00
kamil
ef053d8fe1
Extend dbregs_dr*_trap_variable tests to 1-2-4 byte traps in arch/amd64
...
Replace the following tests:
- dbregs_dr0_trap_variable
- dbregs_dr1_trap_variable
- dbregs_dr2_trap_variable
- dbregs_dr3_trap_variable
With new ones:
- dbregs_dr0_trap_variable_writeonly_byte
- dbregs_dr1_trap_variable_writeonly_byte
- dbregs_dr2_trap_variable_writeonly_byte
- dbregs_dr3_trap_variable_writeonly_byte
- dbregs_dr0_trap_variable_writeonly_2bytes
- dbregs_dr1_trap_variable_writeonly_2bytes
- dbregs_dr2_trap_variable_writeonly_2bytes
- dbregs_dr3_trap_variable_writeonly_2bytes
- dbregs_dr0_trap_variable_writeonly_4bytes
- dbregs_dr1_trap_variable_writeonly_4bytes
- dbregs_dr2_trap_variable_writeonly_4bytes
- dbregs_dr3_trap_variable_writeonly_4bytes
All tests pass with my local implementation of debug registers. Once the
interface will be verified, I will prepare it for commit to HEAD.
Sponsored by <The NetBSD Foundation>
2017-02-19 23:58:30 +00:00
kamil
ca883d3170
Add checks for si_code in dbregs_dr[0123]_trap_variable in ATF arch/amd64
...
Validate that debug register traps generate appropriate SIGTRAP signal with
TRAP_DBREG property in si_code.
Sponsored by <The NetBSD Foundation>
2017-02-19 22:09:29 +00:00
christos
b16498773e
Don't reassemble ipv6 fragments, instead treat the first fragment as a regular
...
packet (subject to filtering rules), and pass subsequent fragments in the
same group unconditionally.
2017-02-19 20:27:22 +00:00
palle
1253c8ab5f
sun4v: Update TODO with the status of the sun4v work so far
2017-02-19 18:30:05 +00:00
palle
13a84fab9f
sun4v: Note that the code recently added to locore.s rft_user may not be enough to make things work properly
2017-02-19 18:27:12 +00:00
palle
3a2a7cbdd8
sun4v: rft_user needs special handling (a manual fill) since the restore instruction may cause the number of trap levels to exceed the maximum for sun4v - inspired by code from the the openbsd rft_user code path - verified using qemu for both sun4u and sun4v
2017-02-19 18:25:45 +00:00
palle
89d8ea40a5
sun4v: Note that prom_getprop() leaks memory in vbus.c
2017-02-19 18:07:12 +00:00
jakllsch
778ff6f5ae
Filter configuration space at and above PCI_CONF_SIZE, instead of KASSERTing.
2017-02-19 14:34:40 +00:00
christos
290ad1f61f
typo
2017-02-19 13:58:42 +00:00
wiz
0b0b7ebbf7
Sort.
2017-02-19 11:54:59 +00:00
wiz
58bb7552a1
Add some articles.
2017-02-19 11:16:45 +00:00
rin
fbdb0b50ac
Add DISKLABEL_EI.
2017-02-19 07:48:07 +00:00
rin
913d426efd
PR kern/51208
...
Add DISKLABEL_EI option (and also FFS_EI if missing), commented out except for
ALL on amd64 and i386.
2017-02-19 07:46:59 +00:00
rin
ede747a0c4
PR kern/51208
...
Add DISKLABEL_EI (``Endian-Independent'' disklabel) kernel option to machines
that support Master Boot Record (MBR)
2017-02-19 07:43:42 +00:00
christos
15b3afa8c3
forgot to commit this (new prototype)
2017-02-19 02:11:19 +00:00
christos
a5d49e2a90
provide a copy function used for logging that does not lock, but can return
...
trash.
2017-02-18 23:27:32 +00:00
wiz
370b757da0
Fix xrefs, sort.
2017-02-18 22:39:00 +00:00
christos
afddf109f4
remove extra /
2017-02-18 21:51:36 +00:00
wiz
99f13c162d
Fix xrefs, sort.
2017-02-18 21:39:53 +00:00
christos
33768028cc
l2tp is a module
2017-02-18 19:28:44 +00:00
mlelstv
c910290e61
npf_ifmap_getname requires the config to be locked. For now, just prevent the
...
crash.
2017-02-18 18:08:16 +00:00