Commit Graph

248922 Commits

Author SHA1 Message Date
abhinav
cb05c08df5 Use Nm to refer the program name. 2017-02-22 14:01:40 +00:00
abhinav
98ea63c468 Fix spelling of "discovered" 2017-02-22 13:43:15 +00:00
maya
1b3b22737e leave the part for GCC >= 5.3 in.
Was a little over-eager and accidentally removed the else case.
2017-02-22 13:34:39 +00:00
maya
37d7525b7f GC workaround for GCC 4.8 fixed in GCC 5+ 2017-02-22 13:17:29 +00:00
maya
1eca7e637c Get rid of more -mno-thumb -mno-thumb-interwork for GCC < 4.8 2017-02-22 13:14:45 +00:00
maya
e022f76317 GC more logic that was intended for GCC <4.8 (or !LLVM)
Same as before (-marm implies -mno-thumb), but now the condition was flipped
2017-02-22 12:51:38 +00:00
maya
4b934fe6cc GC gcc < 4.8 logic.
-marm implies -mno-thumb, and -mno-thumb-interwork is a GCC default.
2017-02-22 12:44:21 +00:00
maya
c3094abd94 GC more gcc 4.8 specific (dead) logic 2017-02-22 12:34:49 +00:00
maya
b0f6bc04c6 GC some GCC 4.8 specific sh3 HACKS entries.
These existed to avoid compile errors, and haven't been effect
since gcc.old was removed.
2017-02-22 12:17:16 +00:00
hannken
8a83906a50 Add weak aliases for _fstrans_start() and fstrans_done(). 2017-02-22 11:20:59 +00:00
hannken
a378d58ecb Enable fstrans on all file systems.
Welcome to 7.99.61
2017-02-22 09:50:13 +00:00
hannken
8c2ff4e99d Regen. 2017-02-22 09:47:18 +00:00
hannken
99694efaee Prepare to move fstrans into vnode_if.c, allow "FSTRANS=YES"
and "FSTRANS=NO" in the vop description.
Add fstrans_start()/fstrans_done() to all vops that have FSTRANS=YES
or have the first vnode unlocked.
2017-02-22 09:45:51 +00:00
nonaka
30b089e72a Apply deferred if_start to more MD drivers. 2017-02-22 09:45:15 +00:00
msaitoh
b55e058419 Add links for kmem_intr_alloc.9, kmem_intr_free.9 and kmem_intr_zalloc.9. 2017-02-22 09:20:39 +00:00
kamil
61c1b37132 Fix build of !x86 ports
Mark debug/usr/tests/kernel/arch/x86 as MI directory.

Sponsored by <The NetBSD Foundation>
2017-02-22 09:09:49 +00:00
ozaki-r
40914f019e Stop using useless IN6_*_MULTI macros 2017-02-22 07:46:00 +00:00
ozaki-r
fcf7d70e3a Get rid of unnecessary splsoftnet 2017-02-22 07:05:47 +00:00
ozaki-r
559b831490 Add assertions and comments for lock states of socket and pcb 2017-02-22 07:05:04 +00:00
ozaki-r
24d5bbc8ed Add l2tp(4) 2017-02-22 04:44:16 +00:00
ozaki-r
66d96cc093 Use kmem istead of malloc 2017-02-22 03:41:54 +00:00
ozaki-r
9e6e8d7cf9 Add tests for expiration of default router and prefix entries 2017-02-22 03:03:37 +00:00
ozaki-r
93f6b1d8be Fix prefix invalidation via nd6_timer
We cannot remove a prefix there. Instead just invalidate it; the prefix
will be removed when purging an associated address. This is the same as
the original behavior.
2017-02-22 03:02:55 +00:00
maya
bee20f7c3c GC deprecated logic. GCC 4.8 is not in tree any more. 2017-02-22 02:58:31 +00:00
kamil
d8c68e22d2 Add new directory usr/tests/kernel/arch/x86 in mtree
Sponsored by <The NetBSD Foundation>
2017-02-22 02:42:53 +00:00
kamil
b4bf2c1aa5 Add kernel/arch/x86 ATF tests for CPU Debug Registers for amd64 and i386
This moves kernel/arch/amd64 tests, the ones to be shared between amd64 and
i386, into kernel/arch/x86. This covers all Debug Register tests.

kernel/arch/amd64 is reduced to regs1
kernel/arch/i386 is reduced to regs1

kernel/arch/x86 tests:
 - dbregs_print
 - dbregs_preserve_dr0
 - dbregs_preserve_dr1
 - dbregs_preserve_dr2
 - dbregs_preserve_dr3
 - dbregs_preserve_dr0_yield
 - dbregs_preserve_dr1_yield
 - dbregs_preserve_dr2_yield
 - dbregs_preserve_dr3_yield
 - dbregs_preserve_dr0_continued
 - dbregs_preserve_dr1_continued
 - dbregs_preserve_dr2_continued
 - dbregs_preserve_dr3_continued
 - 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
 - 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
 - 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
 - dbregs_dr0_trap_code
 - dbregs_dr1_trap_code
 - dbregs_dr2_trap_code
 - dbregs_dr3_trap_code
 - dbregs_dr0_dont_inherit_lwp
 - dbregs_dr1_dont_inherit_lwp
 - dbregs_dr2_dont_inherit_lwp
 - dbregs_dr3_dont_inherit_lwp
 - dbregs_dr6_dont_inherit_lwp
 - dbregs_dr7_dont_inherit_lwp
 - dbregs_dr0_dont_inherit_execve
 - dbregs_dr1_dont_inherit_execve
 - dbregs_dr2_dont_inherit_execve
 - dbregs_dr3_dont_inherit_execve
 - dbregs_dr6_dont_inherit_execve
 - dbregs_dr7_dont_inherit_execve

Sponsored by <The NetBSD Foundation>
2017-02-22 01:07:13 +00:00
kre
697c0e2acf Ugh... fix a last minute fix that went horribly wrong! 2017-02-21 21:22:45 +00:00
nat
18a38c9ab1 Ensure we still have a virtual channel after sleeping on sc_lock.
Addresses PR kern/51746: Panics from audio.
2017-02-21 20:23:37 +00:00
dyoung
e20e65a8eb Fix PR standards/51989: the extension bit extends the presence bitmap
by 32 bits, not 64.
2017-02-21 19:53:49 +00:00
abhinav
44c9d98bb0 Use Fn for function name. 2017-02-21 19:53:20 +00:00
abhinav
74752680de Insert comma between two Nm entries.
Replace Nm with Fn to refer a function.
2017-02-21 18:47:40 +00:00
abhinav
11852aa12f Remove duplicate word from the sentence. 2017-02-21 18:36:39 +00:00
abhinav
901279cdf1 Fix typos. 2017-02-21 18:28:28 +00:00
abhinav
68d0ebc2d9 Fix spelling of "parenthesis". 2017-02-21 18:22:15 +00:00
abhinav
52cc192a32 Use .Fn to refer functions instead of .Nm. 2017-02-21 18:01:38 +00:00
abhinav
9c8d63417a Fix spelling of "includes". 2017-02-21 17:56:21 +00:00
christos
6f030214f7 reproduced also on the regular (not -m32) build. 2017-02-21 16:07:17 +00:00
abhinav
7197d240e2 Fix spelling of "occurs". 2017-02-21 15:15:19 +00:00
nonaka
4b79c039d8 drmkms_pci: use MSI if available. 2017-02-21 14:19:39 +00:00
kre
d7b1a047f9 PR bin/50934 -- avoid core dump if a process being examined has set
its argv[0] to NULL.

XXX Needs pullups netbsd-7-0 and netbsd-7 (bug was introduced after
    netbsd-6 and never pulled up, so no netbsd-6 pullups required.)
2017-02-21 13:09:56 +00:00
nonaka
0d311d094e fix to be able to boot amd64 kernel from 32bit efiboot (booia32.efi). 2017-02-21 10:53:37 +00:00
kre
67cef682dd PR bin/50934
Add a test program for the bug described in this PR.
This is the first pkill/pgrep/prenice test (more would be good!)

This test has been confirmed to work once the bug described in the PR
has been fixed, so the test is not marked "expected to fail" even
though initially that is what should happen.

Note: the test cana also fail if the system running the tests happens
to be running processes with names that match the patterns searched for
by the test, other than the test program itself.  This is expected to be
unlikely.
2017-02-21 10:40:30 +00:00
leot
535ea0f76d Properly check mmap(2) return value. We can end up with a segmentation
fault if the user does not provide a regular file as look(1) file
argument.

Kindly reviewed by <Riastradh>
2017-02-21 09:23:31 +00:00
kamil
10e522e132 Add new tests dbregs_dr*_dont_inherit_execve in arch/amd64
Added tests:
 - dbregs_dr0_dont_inherit_execve
 - dbregs_dr1_dont_inherit_execve
 - dbregs_dr2_dont_inherit_execve
 - dbregs_dr3_dont_inherit_execve
 - dbregs_dr6_dont_inherit_execve
 - dbregs_dr7_dont_inherit_execve

Debug Registers must no be inherited after exec() call.

Sponsored by <The NetBSD Foundation>
2017-02-21 08:40:16 +00:00
skrll
439b8760a1 KNF 2017-02-21 07:40:28 +00:00
abhinav
3e1c6cfae4 mdocml-1.14.1 released. 2017-02-21 04:58:44 +00:00
ozaki-r
9bd7113070 Use kmem instead of malloc 2017-02-21 04:00:01 +00:00
ozaki-r
1f29833ec6 Sweep unnecessary malloc.h inclusions 2017-02-21 03:59:31 +00:00
ozaki-r
67412bb47f Replace malloc for DAD with kmem and move them out of the lock for DAD 2017-02-21 03:58:23 +00:00
pgoyette
15472e955c Set the smtputf8_enable switch to "no" for now, since we are build without
EAI support.
2017-02-21 01:13:21 +00:00