Commit Graph

249811 Commits

Author SHA1 Message Date
christos 7ef1d3a265 Teach me about the NetBSD-CORE ELF AuxV note. 2017-03-29 15:28:42 +00:00
msaitoh 9842222b6c Fix 0x%d and 0x%u. 2017-03-29 09:04:35 +00:00
abhinav e725035a25 Fix couple of typos. 2017-03-29 08:09:51 +00:00
nat aabe0c0d56 Fix channel assignment for multiple channels.
This fixes a problem if two or more channels are opened and the first
(any but last channel) is closed and new channels are opened.
2017-03-29 06:24:22 +00:00
sevan e1b35e316b Update the label text using Adobe Source Sans Pro Extra Light font at 10pt with sharp
anti-aliasing.
Replace the text option with options as there are more than one option to set on
the middle tab.

Adobe Source Sans Pro Extra Light font license (SIL Open Font License 1.1)
https://github.com/adobe-fonts/source-sans-pro/blob/master/LICENSE.txt
2017-03-28 20:32:43 +00:00
sevan 36cf084233 Replace icon with black NetBSD flag derived from NetBSD-bw.png.
The text was removed because when image was scaled down to 32x32 pixels it was a
small blurred mess.
2017-03-28 20:22:25 +00:00
chs b3f822cf0e never pass mp->mnt_stat to dostatvfs(), always use a separate buffer.
dostatvfs() clears its buffer, but mp->mnt_stat should never be cleared.
2017-03-28 18:44:04 +00:00
maya 38f9590df4 Remove outdated CAVEATS.
Not sure everything is standards compliant, but I've been told non-default
values are supported and pshared exists.
2017-03-28 17:42:52 +00:00
skrll 7e00dd600f Enable xhci(4) 2017-03-28 15:09:29 +00:00
kamil a730799971 Explain expected behavior for PTRACE_FORK events in t_ptrace_wait*
PR kern/52117 ptrace(2) PTRACE_FORK fails on some platforms

Add message similar to:
    We expect two SIGTRAP events, for child 22199 (TRAP_CHLD,
    pe_report_event=PTRACE_FORK, state.pe_other_pid=child2) and for child2
    (TRAP_CHLD, pe_report_event=PTRACE_FORK, state.pe_other_pid=child)

This should make the expected behavior more clear.

Sponsored by <The NetBSD Foundation>
2017-03-28 13:16:30 +00:00
kamil 203a7bc419 Mark PT_STEP tests in t_ptrace_wait* as broken on ARM
There is a definition of PT_STEP for userland, but no implementation
in the kernel.

PR kern/52119 PT_STEP not supported on arm 32-bit

Sponsored by <The NetBSD Foundation>
2017-03-28 12:39:07 +00:00
msaitoh 43a0a12a2b Sort & indent. No functional change. 2017-03-28 10:47:44 +00:00
msaitoh 213d5a45e6 Use macro. No functional change. 2017-03-28 10:30:27 +00:00
msaitoh 615a458937 Use correct macro "PCI_SATA_REV" instead of PCI_MSIX_CTL for SATA revision
register. This is not a real bug because PCI_SATA_REV and PCI_MSIX_CTL have
the same value.
2017-03-28 10:28:59 +00:00
msaitoh 307562a402 Indent. No functional change. 2017-03-28 10:25:11 +00:00
msaitoh e6ece14757 Lowercase for consistency. No functional change. 2017-03-28 10:23:40 +00:00
ozaki-r 68574f659e Avoid touching a mbuf after enqueuing it 2017-03-28 08:47:19 +00:00
ozaki-r 249d5a1a99 Use sp->pp_framebytes instead of the constant value "3"
It seems that it was forgotten to be converted in v1.22.
2017-03-28 07:32:16 +00:00
abhinav 7cb7b1efb5 Remove duplicated NAME section
Remove hardcoded argument to .Os
Remove extra arguments to .Dt

The extra arguments to .Dt were being parsed as the machine architecture for
the man page by mandoc parser, because of which the output of apropos(1) would show
it as file/ntp.keys(5). Same problem exists with other ntp man pages as well.

Committing with approval from Christos, we will investigate and fix the problems
in the source when regenerating the man pages next time.
2017-03-28 04:27:26 +00:00
ozaki-r bf81d6dd39 Handle config change interrupts to inhibit sending packets while link down
PR kern/52103 by s-yamaguchi@IIJ
2017-03-28 04:10:33 +00:00
ozaki-r 9ae5ce46b5 Don't write to read-only VIRTIO_NET_S_LINK_UP bit
The bit is defined as read-only in the Virtio PCI Card Specification.
The fix is inspired by FreeBSD.

PR kern/52103 by s-yamaguchi@IIJ
2017-03-28 04:09:52 +00:00
kamil 5f3e805bbe Set timeout expected in resume1 (t_ptrace_wait*)
Mark timeout for this test 5 sec. It sometimes works sometimes does not.

Add a local sleep(3) at the end to get consisten report about timeouting
always.

PR kern/51995

Sponsored by <The NetBSD Foundation>
2017-03-28 03:19:20 +00:00
kamil b97ce90e99 Mark fork1 and siginfo5 as broken on sparc, sparc64, evbarm and alpha
PR kern/52117 ptrace(2) PTRACE_FORK fails on some platforms

These tests work on amd64, i386 and xen.

They are part of t_ptrace_wait*.

Sponsored by <The NetBSD Foundation>
2017-03-28 03:03:15 +00:00
kamil 501e6bc911 Optimize signal6 in t_ptrace_wait
Reduce timeout to 5 seconds. This tests timeouts and this change saves
time.

PR kern/51918

Sponsored by <The NetBSD Foundation>
2017-03-28 01:40:39 +00:00
ozaki-r 16ca3747e1 Use the utility functions for rump_server 2017-03-28 01:27:46 +00:00
kamil c6dfd176d2 Mark signal6 as failing due to timeout not regular failure
This test is marked as PR kern/51918.

Timeout has been reported on i386, amd64, alpha, sparc, sparc64, evbarm.
xen.

Sponsored by <The NetBSD Foundation>
2017-03-28 01:00:33 +00:00
nat 76038d1b13 Use play/record gain from last open. Fixes jumping volume when opening
/dev/sound then /dev/audio.
2017-03-27 23:25:24 +00:00
khorben fde99a469a Also document alternate option "--detach"
Submitted on tech-pkg@ as:
[PATCH 08/11] Also document alternate option "--detach"
2017-03-27 21:34:32 +00:00
khorben b73233e927 Correct option "--armor"
Submitted on tech-pkg@ as:
[PATCH 07/11] Correct option "--armor"
2017-03-27 21:30:23 +00:00
khorben 93af107a65 Do not ask for a passphrase when empty
Submitted on tech-pkg@ as:
[PATCH 06/11] Do not ask for a passphrase when empty

Only modified for consistency with the coding style.
2017-03-27 21:19:12 +00:00
khorben 0a8cffecb2 Expect a FILE * for pgp_decrypt_seckey()
Submitted on tech-pkg@ as:
[PATCH 05/11] Expect a FILE * for pgp_decrypt_seckey()

No functional change intended.
2017-03-27 21:06:50 +00:00
khorben dc6efa23ca Do not use random data for pass-phrases on EOF
Submitted on tech-pkg@ as:
[PATCH 04/11] Do not use random data for pass-phrases on EOF

Only modified for consistency with the coding style.
2017-03-27 21:00:43 +00:00
khorben e1d90c495a Avoid some type casts
Submitted on tech-pkg@ as:
[PATCH 03/11] Avoid some type casts

No functional change intended.
2017-03-27 20:55:13 +00:00
khorben 5a96e50edf Do not truncate pass-phrases without a newline character
This also fixes a crash when the pass-phrase entered is empty.

Submitted on tech-pkg@ as:
[PATCH 02/11] Do not truncate pass-phrases without a newline character

Only modified for consistency with the coding style.
2017-03-27 20:50:19 +00:00
bouyer f0d7af0417 Avoid variable reassignement; reported by dcb314@hotmail.com in
PR port-xen/52112
2017-03-27 18:39:55 +00:00
skrll 198450f9ef Expose correct cpu_number(), CPU_IS_PRIMARY() and CPU_INFO_FOREACH() for
modules so that the dtrace module works on an MP system.
2017-03-27 14:26:20 +00:00
wiz d806e2a17b More markup. 2017-03-27 07:45:37 +00:00
kamil 3c1e0232dc Update core(5) with current reality
Note cpi_siglwp addition in NetBSD-2.0 and retaining the procinfo ver. 1.

Note ELF_NOTE_NETBSD_CORE_AUXV (2) addition in NetBSD-8.0.

Update the HISTORY section.
2017-03-26 23:49:28 +00:00
kamil 5fd86a8275 Remove the BUGS section from gcore(1) - issues are no longer relevant
gcore(1) uses internally ptrace(2). PT_DUMPCORE is restricted to stopped
processes, therefore the bug about inconsistend core is no longer true.
2017-03-26 22:00:04 +00:00
martin 63cc08169f Reorder attach slightly to avoid unintialized use of OF nodes. 2017-03-26 18:38:33 +00:00
martin 74c11b9f31 Add ld(4) nodes 2017-03-26 18:31:52 +00:00
maya daa855846a Add failing test cases for PRs kern/2423, kern/3645, kern/4597 2017-03-26 18:26:05 +00:00
sjg c4a2b5e751 When we change .OBJDIR we should delete any cached realpath results
for relative paths.

Reviewed by: christos
2017-03-26 17:16:03 +00:00
jdolecek 964ace2483 fix pasto for nbo_bus_space_write_4() - value needs to be uint32_t 2017-03-26 16:53:36 +00:00
martin 3263aca549 Assign majors for ld(4) 2017-03-26 13:57:53 +00:00
martin 143651f2b6 Duh, remove accidently left over debug printfs 2017-03-26 13:51:45 +00:00
martin c86b197eeb Simplify boot device detection for ld @ virtio 2017-03-26 12:59:29 +00:00
martin 5f1d004960 Do not call OF_getprop on our node blindly - for the "pcons" hack we may
be called with all zeroed attach args.
2017-03-26 12:51:42 +00:00
martin 273381b397 Add KASSERTs to catch access to NULL OF nodes early 2017-03-26 12:38:24 +00:00
martin 1b48c05d9b Backout previous, no need for these accessor in MD code 2017-03-26 12:36:43 +00:00