Commit Graph

258887 Commits

Author SHA1 Message Date
jmcneill 5c5ebc1dee Add -v flag which prints the full path of each device node when dumping
the full tree.
2018-05-26 10:21:41 +00:00
jmcneill c9b64841e5 Silence ssh-keygen output when host keys are generated. Instead, print only
key fingerprints. This replaces dozens of lines out ASCII art output with
something more reasonable:

armv7# service sshd start
ssh-keygen: 1024 SHA256:ynP4BQ2B0Fknnf9PfF4QoUDlYi0+7rNfYXTOYP2cDic root@armv7 (DSA)
ssh-keygen: 521 SHA256:Eoj382aaJNlSxuq/aYj3AXgxfMJAkyVPoCQd2BNjJiA root@armv7 (ECDSA)
ssh-keygen: 256 SHA256:+e9/qTbbN/g6xvkadtHsmIQ+Pc0afZRxbXJsk2HKIzY root@armv7 (ED25519)
ssh-keygen: 2048 SHA256:urNaF/m6oiCe5hXFZBxGLW2PvLz0ibtRFrqYw6R+qTw root@armv7 (RSA)
ssh-keygen: 256 SHA256:Su2Nal2W3vrFz8ukpcSXngl1/bu6xUm1nSvbxTHe9Js root@armv7 (XMSS)
Starting sshd.
2018-05-26 00:17:54 +00:00
macallan b3cd4c7e60 copy HID1 from the boot CPU to secondary CPUs as well on 64bit CPUs
now the 2nd CPU on my G5s runs at full speed
2018-05-25 23:00:34 +00:00
uwe 2a24bb8653 Provide resize_disklabel=NO default. Used by arm images and is not
part of the stock rc.d yet.  This silences rc when you delete the
whole resize_* block from rc.conf after the first boot.
2018-05-25 20:48:54 +00:00
jdolecek 546a023e11 add the KASSERT() for loan_count wrap-around to all places which increase it 2018-05-25 20:11:03 +00:00
jmcneill 73ce2b1955 hdmiddc -> hdmi for function name on PH6/PH7/PH8 2018-05-25 19:56:47 +00:00
jakllsch 2aa8255a0f Compile dtbs with -@ so that fdtoverlay(1) et.al. can symbolically
reference phandles.
2018-05-25 19:48:12 +00:00
martin 14167a96a3 Fix typo in local macro name, pointed out by uwe 2018-05-25 16:30:03 +00:00
maxv 4929e31107 Hide a bunch of local symbols. 2018-05-25 16:01:31 +00:00
ryoon dc1eda5068 Fix HIDMS_DEBUG build 2018-05-25 15:52:45 +00:00
maxv 236f8e6360 Rename the entry points of the prekern, rename the array and move it into
.rodata.
2018-05-25 15:52:11 +00:00
ryoon fb3dc77909 If fixed feature buttons exist, print detection messages. 2018-05-25 15:48:00 +00:00
martin 878ebc8c91 Add new test program 2018-05-25 15:42:48 +00:00
martin b11873986d Add a test to verify syscall() and/or __syscall() are working.
This used to trigger a panic (see PR kern/53261) on arm.
2018-05-25 15:42:30 +00:00
martin cb95e17bac PR kern/53261: handle SYS_syscall indirection in MD code - the generic
version would misalign the argument array.
2018-05-25 15:37:57 +00:00
maxv aaf238e228 When the previous contrext is in kernel mode we are not guaranteed to have
a 16-byte-aligned stack pointer, so align it. That's what the CPU would do
on exception entry.
2018-05-25 15:33:56 +00:00
jdolecek 3e6fdee79b Don't use uvm_emap_size, emap was removed 2018-05-25 06:34:02 +00:00
ozaki-r 74ffb1c2c6 Ensure to call if_register after interface initializations finish 2018-05-25 04:40:26 +00:00
riastradh 0840e69c34 Add a topical acronym for this week: GDPR. 2018-05-25 00:31:07 +00:00
christos 5afe69313b obsolete DES_random_key 2018-05-24 22:37:58 +00:00
sevan 3c5b0d3e82 Note libbozohttpd(3) & bozohttpd(3lua) from earlier in the month. 2018-05-24 20:04:46 +00:00
reinoud b19ccb8124 First try at TLS support and getcontext/setcontext/swapcontext support. 2018-05-24 19:39:04 +00:00
christos 268058c040 One more possible star. 2018-05-24 19:21:01 +00:00
christos cf5e80d451 handle '*' entries in rules. 2018-05-24 19:19:37 +00:00
christos e1b6c9c92d remove DES_random_key.3 since it is in libdes. 2018-05-24 19:03:47 +00:00
christos ae5741be58 sync with HEAD. 2018-05-24 17:07:51 +00:00
christos b5fd6cb2a8 rename flag to the official name. 2018-05-24 17:05:54 +00:00
christos 7857eebced Complete the list of DF_1 flags. 2018-05-24 17:05:18 +00:00
christos 89d57d182b add new tests 2018-05-24 14:54:36 +00:00
kamil 5b4f05b5be Try to fix 32-bit build
Cast pointer to uintptr_t rather than uintmax_t.
2018-05-24 08:28:40 +00:00
knakahara c6109391ad ipsecif(4) must not set port number to spidx even if NAT-T. Pointed out by ohishi@IIJ, thanks. 2018-05-24 07:00:28 +00:00
msaitoh 38c7fb59b5 Print "NET_MPSAFE enabled" if it's enabled. 2018-05-24 05:27:29 +00:00
msaitoh e66675a38d Regen. 2018-05-24 04:29:55 +00:00
msaitoh 9e1f468bef Add some Marvell Yukon devices. 2018-05-24 04:29:25 +00:00
christos 5729151aad Be more selective about remapping object directories otherwise we pick
objdump and objcopy with the regex.

XXX: pullup-8
2018-05-24 02:06:31 +00:00
christos fe59327913 Since ${MAKE} converts $$ -> $ during parsing we need to put it back to
preserve the original variable value with :Q.
XXX: pullup-8
2018-05-24 00:27:24 +00:00
christos 45d3ba4e45 unit test for $ underquoting in :Q modifier 2018-05-24 00:25:44 +00:00
kamil e73d44d16d Merge the eventmask[1-6] ATF ptrace(2) tests into a shared function body
While there, rename the tests to:
 - eventmask_preserved_empty
 - eventmask_preserved_fork
 - eventmask_preserved_lwp_create
 - eventmask_preserved_lwp_exit
 - eventmask_preserved_vfork
 - eventmask_preserved_vfork_done

Sponsored by <The NetBSD Foundation>
2018-05-23 23:56:07 +00:00
joerg 5b49b507f5 Simplify to avoid pointless null pointer arithmetic. 2018-05-23 21:21:27 +00:00
joerg cebcb94770 deconst -> __UNCONST to avoid null pointer arithmetic 2018-05-23 21:20:20 +00:00
joerg cdaefd576a Replace null pointer arithmethic with direct cast 2018-05-23 21:16:57 +00:00
maxv b4370c2b4c Add XXX. 2018-05-23 18:40:29 +00:00
christos 649a6add8b Increase strictness of blacklistd patches to include timeouts, operating
system errors, and pam failures.
2018-05-23 16:04:13 +00:00
christos 9a9aea2376 refresh the diffs to the latest portable 2018-05-23 16:03:07 +00:00
kamil 7060760a3a Extend traceme_vfork_breakpoint in ATF ptrace(2) tests for more scenarios
traceme_vfork_breakpoint used to test SIGTRAP event. Reuse its code for:
SIGSEGV, SIGILL, SIGFPE and SIGBUS.

The SIGILL case is disabled as of now as it required addition of
PTRACE_ILLEGAL_ASM in MD ptrace(2) headers.

Added tests:
 - traceme_vfork_crash_trap
 - traceme_vfork_crash_segv (renamed from traceme_vfork_breakpoint)
 - traceme_vfork_crash_ill (disabled)
 - traceme_vfork_crash_fpe
 - traceme_vfork_crash_bus

All enabled tests pass.

Sponsored by <The NetBSD Foundation>
2018-05-23 13:51:27 +00:00
kamil 20c82f105a Add new auxiliary functions in ATF ptrace(2) tests
Introduce:
 - trigger_trap()
 - trigger_segv()
 - trigger_ill()
 - trigger_fpe()
 - trigger_bus()

These functions generate appropriate signals caused by crashes.

A debugger is required to collect the crashes regardless of signal masking,
catching or ignoring rules.

While there, append __used argument to can_we_set_dbregs().

Sponsored by <The NetBSD Foundation>
2018-05-23 13:18:09 +00:00
kamil e5038c36e9 Cherry-pick upstream patch for internal_mmap() in GCC(.old) sanitizers
Fix internal_mmap() on 32-bit NetBSD platforms

There is need to use internal_syscall64() instead of internal_syscall_ptr().
The offset argument of type off_t is always 64-bit.

http://llvm.org/viewvc/llvm-project?view=revision&revision=333075

PR kern/53261 by Martin Husemann
2018-05-23 11:16:13 +00:00
kamil 245d8e2368 Cherry-pick upstream patch for internal_mmap() in GCC sanitizers
Fix internal_mmap() on 32-bit NetBSD platforms

There is need to use internal_syscall64() instead of internal_syscall_ptr().
The offset argument of type off_t is always 64-bit.

http://llvm.org/viewvc/llvm-project?view=revision&revision=333075

PR kern/53261 by Martin Husemann
2018-05-23 11:14:49 +00:00
hkenken 69b7af1811 Modified CCM register defines. 2018-05-23 10:42:05 +00:00
maxv e41cfa0fa5 Add a comment about recent AMD CPUs. 2018-05-23 10:21:43 +00:00