Commit Graph

257881 Commits

Author SHA1 Message Date
christos
7e6759edb0 Hide ps error about processes not found (we could be more specific...)
It is superfluous, since we print:
    foo not running? (check /var/run/foo/foo.pid).
2018-04-11 18:51:22 +00:00
christos
0c6b6224b4 Add the missing lock. 2018-04-11 18:34:18 +00:00
christos
d0c4b2c3b3 Add the location of the last lock to help debugging. 2018-04-11 18:33:48 +00:00
christos
03fd2bea72 instead of short-circuiting the test, set auto target host on by default. 2018-04-11 18:33:21 +00:00
christos
3ec6e2e2d6 flip the default and enable kernel timestamps. 2018-04-11 15:25:58 +00:00
nonaka
45c29ee2ce efiboot reports parent ppb bus/device/function of booted network inteface. 2018-04-11 10:34:19 +00:00
nonaka
b014c9faab efiboot: Added network boot support. 2018-04-11 10:32:09 +00:00
maxv
81857fe9a5 Remove whitespaces/tabs, and one non-ASCII character. 2018-04-11 08:29:19 +00:00
maxv
db09a739cd Don't pass IP_ALLOWBROADCAST in ipsec4_input. The flag lands in
ipsec_getpolicybyaddr, and only IP_FORWARDING is taken.

In fact it would be good to change the 'flags' argument of ipsec4_input
to be a boolean, same for ipsec_getpolicybyaddr. It would be less
misleading.
2018-04-11 08:11:20 +00:00
maxv
cc670cf1d8 Add comment about IPsec. 2018-04-11 07:55:19 +00:00
maxv
8e7acb22ab Small changes in ip_dooptions: replace bcopy by memcpy, the areas can't
overlap.
2018-04-11 07:52:25 +00:00
maxv
51eb5c20a1 Add 'static', like the prototype. 2018-04-11 07:15:12 +00:00
mrg
28731ff616 if a new map entry doesn't fit, be more verbose about the sizes. 2018-04-11 07:14:23 +00:00
mrg
d144e17dce add information about how to boot from gpt. mostly taken from the wiki. 2018-04-11 07:13:18 +00:00
wiz
ba701a99f9 Update usage. 2018-04-11 06:41:23 +00:00
wiz
a10e00a15c Sort flags in SYNOPSIS. 2018-04-11 06:40:53 +00:00
maxv
db5deb0877 Add one more XXX in the list. 2018-04-11 06:37:32 +00:00
maxv
279f1df60e Add XXX. 2018-04-11 06:26:00 +00:00
maxv
38a4f0c56b Add XXX. 2018-04-11 05:59:42 +00:00
maxv
f439735471 Add XXX. 2018-04-11 05:38:47 +00:00
kamil
8a7b75cec0 Import new C and C++ ATF tests for ASan
Add new tests:
 - tests/usr.bin/cc/t_asan_poison.sh
 - tests/usr.bin/c++/t_asan_poison.sh

These tests verify the following build options:
 - regular
 - profile
 - pic
 - pie
 - compat32
 - (static unsupported)

These tests verify whether ASan code can include compiler and sanitizer
specific header: <sanitizer/asan_interface.h>. The testing code checks
the ASAN_POISON_MEMORY_REGION() functionality, poisoning valid memory and
asserting that it triggers expected failure.

Patch submitted by <Siddharth Muralee>
2018-04-11 03:25:25 +00:00
kamil
ea82fba129 Cover more fork/vfork/vforkdone scenarios in ATF ptrace(2) tests
Use a shared common body for all the tests: fork1..fork8, vfork1..vfork8.

Merge vforkdone1 and vforkdone2 into vfork* tests.

All the (v?)fork[1-8] tests cover:
 - calling either fork(2) or vfork(2)
 - tracking either enabled or disabled FORK, VFORK or VFORK_DONE

All the PTRACE_VFORK tests are marked as expected failure.

Sponsored by <The NetBSD Foundation>
2018-04-11 01:52:59 +00:00
snj
558759d1d7 fix ntp version some more 2018-04-11 00:35:14 +00:00
rin
3bce0be59a Add progress(1) into /rescue.
No objection when proposed on tech-userlevel@.
2018-04-11 00:26:38 +00:00
snj
9a00551080 fix ntp version 2018-04-10 22:58:54 +00:00
kamil
1924131dec ATF t_ptrace_wait* refactoring: vforkdone1 and vforkdone2
Merge vforkdone1 and vforkdone2 into other fork tests and reuse the same
function body fork_test().

There is an implicit enhancement in vforkdone2 that it was skipping
PTRACE_VFORK check. This test is now marked as expected failure.

PR kern/51630

Sponsored by <The NetBSD Foundation>
2018-04-10 22:45:39 +00:00
christos
2fef76cb66 match the linux dmesg flags. 2018-04-10 22:21:52 +00:00
maxv
be6b555629 Remove m_getclr. It is unused, confusing (vs m_clget), and is a weak
implementation (eg you can't request a zeroed pkthdr mbuf).
2018-04-10 16:12:29 +00:00
maxv
e05b029465 Put the "free" functions close to one another. No functional change. 2018-04-10 15:29:46 +00:00
maxv
f7fa0b9fb7 Localify m_ext_free. 2018-04-10 15:27:35 +00:00
rin
91b8b0444c PR bin/53164: Comment why we abort here. 2018-04-10 12:44:41 +00:00
knakahara
8543159a11 Fix previous my mistake and odd unaligned case. Pointed out by maxv@n.o, thanks.
It must be rare case to be required this copy routine...
2018-04-10 11:44:13 +00:00
maxv
64e951a489 Remove unused mbuf argument from arpcreate() and arplookup(). 2018-04-10 08:41:14 +00:00
maxv
9008abb175 Replace comment by KASSERT. 2018-04-10 08:22:35 +00:00
msaitoh
3ad4ae7e57 SW PHY Config Enable bit for ICH8 B0 stepping is not bit 1 but bit 0. 2018-04-10 08:18:38 +00:00
maxv
f412fe9bd5 Improve an XXX of mine, and fix one stat. 2018-04-10 07:53:36 +00:00
ozaki-r
f72ad93267 Add a test case for bridge_rtdelete 2018-04-10 07:09:00 +00:00
ozaki-r
db4bbd8b0e Fix bridge_rtdelete
It removes a rtable entry that belongs to a specified interface, however, its
original behavior was to delete all belonging entries.  Restore the original
behavior.
2018-04-10 07:05:39 +00:00
maxv
9676918a93 add two entries 2018-04-10 06:32:23 +00:00
mrg
58892cb921 apply some INET6 so this compiles in INET6-less kernels again. 2018-04-10 04:29:57 +00:00
jmcneill
665d3c25e3 Initialize DDMA_PARA_REG with a sane value 2018-04-10 00:59:55 +00:00
kamil
4fb49d74f0 ATF: ptrace: Merge code in fork2 and vfork2 tests with (v)fork1 ones
Reduce code duplication, use the same function body with conditional
switches.

Sponsored by <The NetBSD Foundation>
2018-04-10 00:40:35 +00:00
kamil
3a2e5c145a Merge code in tests: fork1 and vfork1 (ATF t_ptrace_wait*)
Marge bodies of two tests into the same function.
Add few checks for regular fork or not (vfork).

Sponsored by <The NetBSD Foundation>
2018-04-10 00:09:31 +00:00
jmcneill
cf8ef0429b Fix encoding of MMAP flags for generic_bs_mmap 2018-04-09 22:26:15 +00:00
christos
1399b357f6 rename ledpanel to lcdpanel 2018-04-09 20:17:33 +00:00
christos
a3dc7aeac9 rename ledpanel lcdpanel 2018-04-09 20:16:53 +00:00
christos
70b55af1aa rename panel to lcdpanel. 2018-04-09 20:16:16 +00:00
christos
2a6ce19891 rename panel to button. 2018-04-09 20:07:22 +00:00
christos
ef0b7f3fb2 sun2 does not have stdatomic.h 2018-04-09 19:33:14 +00:00
christos
e71c4e91db add button use by sgimips 2018-04-09 19:11:55 +00:00