Commit Graph

248922 Commits

Author SHA1 Message Date
nonaka
5bfb6e7e1e nvme(4): Limit the number of queues to the number allocated in HW. 2017-02-13 11:10:45 +00:00
msaitoh
d00a6fde99 Remove more ix*_start_locked() from interrupt context like previous commit.
> Fix a bug that ix*_start_locked() is called in interrput context
 > (ix*_msix_que). The function is called in softint(ix*_handle_que()). OK'd by
 >k-nakahara.
2017-02-13 10:37:37 +00:00
msaitoh
a75886994c Use percpuq. 2017-02-13 10:13:54 +00:00
skrll
821cb88dda G/C VM_MAX_KERNEL_BUF 2017-02-13 09:46:29 +00:00
snj
6c1c3f9875 delete the xkbcomp tool now that nothing uses it 2017-02-13 07:37:19 +00:00
ozaki-r
19c4d830db Protect mtudisc and redirect stuffs of icmp/icmp6 with mutex
We have to run pr_init of icmp and icmp6 prior to tcp and tcp6 ones
for mutex initialization.
2017-02-13 07:18:20 +00:00
msaitoh
0710174de4 Fix a bug that ix*_start_locked() is called in interrput context
(ix*_msix_que). The function is called in softint(ix*_handle_que()). OK'd by
k-nakahara.
2017-02-13 06:38:45 +00:00
snj
ae59a55318 catch up with 2012 xkeyboard-config and stop generating *.dir 2017-02-13 06:11:01 +00:00
knakahara
24d5b8d63e fix typo 2017-02-13 05:02:21 +00:00
ozaki-r
222a6dee4b Fix build of ALL of amd64 2017-02-13 04:47:59 +00:00
nonaka
f78c2bc098 remove extra crlf. 2017-02-13 04:42:15 +00:00
snj
c370717c80 prune /usr/X11R7/lib/X11/xkb/torture, a ghost from the days of xkbdata 2017-02-13 04:23:19 +00:00
ozaki-r
10400e2a88 Use IFQ_LOCK instead of splnet for if_snd 2017-02-13 04:06:39 +00:00
ozaki-r
b070ee09f7 Replace splnet with splsoftnet 2017-02-13 04:05:58 +00:00
ozaki-r
fc8fa9f575 Remove unnecessary splnet
ok @knakahara
2017-02-13 04:05:19 +00:00
ozaki-r
0e2f0c63b2 Add BRIDGE_IPF 2017-02-13 04:01:11 +00:00
ozaki-r
e7ec750b6d Update comments to reflect bpf MP-ification 2017-02-13 03:44:45 +00:00
snj
7259ddf83f update for xkeyboard-config 2.20 2017-02-13 02:34:11 +00:00
nat
16b2c699de Use fnullop_fcntl instead of audiofcntl. 2017-02-13 01:59:14 +00:00
christos
379a1dffb1 fix off-by-one, found by asan. 2017-02-12 22:37:49 +00:00
uwe
1159401280 netbsd_elf_signature - look at note segments (phdrs) not note
sections.  They point to the same data in the file, but sections are
for linkers and are not necessarily present in an executable.

The original switch from phdrs to shdrs seems to be just a cop-out to
avoid parsing multiple notes per segment, which doesn't really avoid
the problem b/c sections also can contain multiple notes.
2017-02-12 21:52:46 +00:00
maya
1cfbf29d0c note accept4 2017-02-12 21:06:46 +00:00
chs
f49c9159a2 es_arglen is now in units of bytes, update the emulations accordingly. 2017-02-12 21:02:19 +00:00
kamil
7478335c60 Add new entry in doc/CHANGES
ptrace(2): Add signal mask information accessors API:
                PT_GET_SIGMASK and PT_SET_SIGMASK

Sponsored by <The NetBSD Foundation>
2017-02-12 20:59:23 +00:00
palle
a1ac020c5d sun4v: Revert previous - paddr_t is not a pointer... noted by nakayama@ 2017-02-12 19:35:54 +00:00
maxv
8fdaa9399d Add a KASSERT, otherwise it looks like a NULL deref; from Mootja. 2017-02-12 18:43:56 +00:00
maxv
fb32075f8f Memory leak, found by Mootja; not tested, but obvious enough. 2017-02-12 18:24:31 +00:00
maxv
346f85091d Uninitialized var, found by Mootja; not tested, but obvious enough. 2017-02-12 18:21:50 +00:00
maya
85f888414a overlapping strcpy is UB. use memmove
from asan+ubsan
2017-02-12 17:19:00 +00:00
aymeric
eadf25e08c Make gpt(8) work when compiled on a glibc-based OS.
This restores the ability to build amd64 install-image's under Linux.
2017-02-12 16:54:06 +00:00
abhinav
b9a7c39267 Add entry for prop_ingest in the NAME section. 2017-02-12 16:18:48 +00:00
abhinav
3ed54b8d62 Use .Fn to refer a function name instead of Nm.
Also, use Xr to refer problib(3) in the HISTORY section instead of Nm.

While parsing the man pages, any .Nm occurrence gets replaced by the
value specified in the NAME section. Referencing individual function
names with .Nm was causing makemandb(8) to replicate the complete
NAME section for every such occurrence. This was leading to an
ugly looking snippet in apropos(1)'s output when searched for
any of these man pages.
2017-02-12 16:00:53 +00:00
wiz
5ef8e05441 file system police. 2017-02-12 14:45:09 +00:00
wiz
e527e4eaa4 Sort sections. 2017-02-12 14:44:20 +00:00
skrll
4c9468e5b1 Whitespace 2017-02-12 09:47:31 +00:00
skrll
fdfc876dd7 Remove redundant splnet/splx calls - ec_lock is IPL_NET. 2017-02-12 09:36:05 +00:00
skrll
18a70850e5 Convert to kmem(9) 2017-02-12 08:51:45 +00:00
skrll
3cc4428ad4 Typo in comment 2017-02-12 08:47:12 +00:00
skrll
a7ecd2081f KNF (sort #include <sys/...>) and remove a duplicate 2017-02-12 08:40:19 +00:00
nat
29b2495b54 RTP timestamp is now set correctly. The streaming socket is set to non
block blocking and connection state machinre improvement.
2017-02-12 08:25:31 +00:00
kamil
16420f8cb8 Update TODO.ptrace
Remove:
 - add PT_SET_SIGMASK and PT_GET_SIGMASK - used by checkpointing software

This interface has been committed to HEAD.

Sponsored by <The NetBSD Foundation>
2017-02-12 06:16:33 +00:00
kamil
61aff29627 Introduce new interface in ptrace(2) - PT_GET_SIGMASK and PT_SET_SIGMASK
Add new interface to add ability to get/set signal mask of a tracee.
It has been inspired by Linux PTRACE_GETSIGMASK and PTRACE_SETSIGMASK, but
adapted for NetBSD API.

This interface is used for checkpointing software to set/restore context
of a process including signal mask like criu or just to track this property
in reverse-execution software like Record and Replay Framework (rr).


Add new ATF tests for this interface
====================================
getsigmask1:
    Verify that plain PT_SET_SIGMASK can be called

getsigmask2:
    Verify that PT_SET_SIGMASK reports correct mask from tracee

setsigmask1:
    Verify that plain PT_SET_SIGMASK can be called with empty mask

setsigmask2:
    Verify that sigmask is preserved between PT_GET_SIGMASK and
    PT_SET_SIGMASK

setsigmask3:
    Verify that sigmask is preserved between PT_GET_SIGMASK, process
    resumed and PT_SET_SIGMASK

setsigmask4:
    Verify that new sigmask is visible in tracee


Kernel ABI bump delayed as there are more interfaces to come in ptrace(2).

Sponsored by <The NetBSD Foundation>
2017-02-12 06:09:52 +00:00
kamil
ac46406cfc Update TODO.ptrace with new entries
Added entries:
 - add support to read debugger events via a file descriptor in procfs
   (kevent(2)), it's still useful in cases when a parent traces tracee and has
   to call waitpid(2) for its child - as this clashes with GUI toolkits
 - fix more calls for netbsd32 compat

Sponsored by <The NetBSD Foundation>
2017-02-12 05:21:34 +00:00
palle
c647103f61 sun4v: Fix calculation of mmu data fault address (pointer arithmetic) 2017-02-11 23:41:36 +00:00
christos
9eb2b4b14d fix typo. 2017-02-11 22:57:00 +00:00
christos
ef53c29f60 make this compile again. 2017-02-11 21:04:29 +00:00
uwe
13be1262d3 Don't use slow file_exists_exact if we don't have to.
file_exists_exact function was introduced in 1.26 for the benefit of
cross-building on OS X case-insensitive file system.  It is extremely
slow on diskless machines.  That becomes especially noticeable when
you upgrade a system that has a lot of obsolete files, it can take
literally hours.
2017-02-11 19:35:45 +00:00
christos
9fcc111dff new byacc 2017-02-11 19:34:23 +00:00
christos
26871bcce1 merge conflicts 2017-02-11 19:33:12 +00:00
kamil
9a6383f067 Be paranoid about PT_SET_SIGINFO and PT_GET_SIGINFO in ptrace(2)
Currently a tracer is prohibited to read and write memory of a tracee.
Prohibit reading and faking signal information.

Sponsored by <The NetBSD Foundation>
2017-02-11 19:32:41 +00:00