Commit Graph

247890 Commits

Author SHA1 Message Date
christos
74c01bd5e3 undo paren change 2017-01-15 18:03:12 +00:00
christos
7a2c2e75f4 put linux_handler_t in the right place. 2017-01-15 17:00:59 +00:00
christos
1b58307eb4 regen 2017-01-15 17:00:37 +00:00
christos
1ecca95a27 fix *syslog_ss* 2017-01-15 16:41:39 +00:00
christos
58716ac1f5 more types for constants 2017-01-15 15:27:41 +00:00
christos
935cf6304d regen 2017-01-15 15:20:15 +00:00
christos
9c7372b37e regen 2017-01-15 15:19:33 +00:00
christos
0dec36ce08 need intptr_t cast for linux_handler_t 2017-01-15 15:18:52 +00:00
isaki
57a2dd587d exp(>11356) is +inf even if extended precision.
exp(<-11401) is 0 even if extended precision.
2017-01-15 11:56:11 +00:00
martin
459114d7c1 Cast pointer to int via intptr_t 2017-01-15 11:46:21 +00:00
isaki
e1e03e141f Fix indent in comments. 2017-01-15 07:46:57 +00:00
msaitoh
68196282e1 Add Intel 200 series devices. 2017-01-15 04:45:39 +00:00
msaitoh
2611132dfa regen. 2017-01-15 04:44:01 +00:00
msaitoh
54c6a640e7 Add Intel 200 series chipset devices from "Table 2-2. PCH-H Device and
Revision ID Table, Intel 200 Series Chipset Family Platform Controller
Hub(PCI) Datasheet Volume 1 of 2 (335192-001)".
2017-01-15 04:43:27 +00:00
msaitoh
1f29083405 regen. 2017-01-15 03:49:43 +00:00
msaitoh
523877e8d7 Add Core 7G devices from "7th Generation Intel Processor Families for
{S, U/Y, H} Platforms Datasheel Volume 2 of 2" (S: 335196-001, U/Y: 334662-002,
H: 335191-001). For 0x5906 (U processor, HD Graphics 610), it's taken from
ark.inte.com.
2017-01-15 03:49:09 +00:00
pgoyette
163337a16d We no longer need ioconf.c - remove it to avoid "defined but not used"
compiler error.
2017-01-15 01:48:05 +00:00
maya
f6be953d31 use a bound string copy 2017-01-15 01:47:24 +00:00
maya
8341f84221 use a bound string copy 2017-01-15 01:28:14 +00:00
nat
46500ac1bd Forgot not to decrement sc_opens on unsuccessful open. 2017-01-15 00:04:01 +00:00
sjg
c3ec6594d3 Allow providing a utc value to :{gm,local}time
Reviewed by: christos
2017-01-14 22:58:04 +00:00
christos
b4cc495b2a protect against multiple inclusion. 2017-01-14 22:24:43 +00:00
christos
213f09a410 don't include machine/param.h <sys/param.h> already does WTF? 2017-01-14 22:19:29 +00:00
christos
4580c9c1dc Undo; the correct fix was applied in csu/arch/alpha/crtbegin.h 2017-01-14 21:58:17 +00:00
christos
48ad5593f8 there is no <string.h> in standalone code; should be getting strcpy from
libkern.
2017-01-14 21:57:20 +00:00
pgoyette
0792f962a8 Don't call the drvctl module's initialization code during rump component
initialization.  Instead, temporarily attach the drvctl's cdevsw to
determine its device c-major, create the /dev/drvctl node using that
c-major, and then detach.  This leaves things in a state where normal
module initialization can run.

Since we're now creating the /dev/drvctl device node correctly, we don't
need to create it again.  So mark the device as DEVNODE_DONTBOTHER in
the devsw_conv0 conversion table.

This bug was introduced more than a year ago (src/sys/kern/kern_drvctl.c
rev 1.40), but was silently ignored except when running a rump_server
built with LOCKDEBUG.
2017-01-14 21:36:58 +00:00
christos
e06c26e434 belatedly fix constants for ppc64 (this does not define __arch64__ like sparc
does?)
2017-01-14 21:33:09 +00:00
christos
8009d72ee0 Add PPC64 2017-01-14 21:29:02 +00:00
christos
26c11e6fec Don't error out for psabi. 2017-01-14 21:20:39 +00:00
pgoyette
19c83516ef Add an entry to discuss association of a kernel with its specific modules.
Prompted by recent Email discussion started by wiz (there have been many
earlier discussions on this topic, too).
2017-01-14 21:18:40 +00:00
christos
2162d23666 PR/51874: Ngie Cooper: Add __unused to signal handlers 2017-01-14 21:08:17 +00:00
christos
32eb699ff6 PR/51873: Ngie Cooper: add util.h #include 2017-01-14 20:59:23 +00:00
christos
468d6e2ffc PR/51872: Ngie Cooper: call sem_unlink after :basic and :child 2017-01-14 20:58:20 +00:00
christos
153621e321 PR/51871: Ngie Cooper: add fcntl.h for O_* fcntl/open constants 2017-01-14 20:57:24 +00:00
christos
dcc3af2fc9 PR/51868: Ngie Cooper: mkfifo does not return an fd 2017-01-14 20:55:26 +00:00
christos
5f5a00ced0 PR/51867: Ngie Cooper: misc cleanups 2017-01-14 20:52:42 +00:00
christos
80210e1441 Pr/51866: Ngie Cooper: fix leak and release limit on memory to prevent
false positives with mlock/mmap
2017-01-14 20:51:13 +00:00
dholland
07710e15fb note that the first step on the buffercache is to disentangle the buffer
cache and the buffer I/O path.
2017-01-14 20:50:15 +00:00
christos
cd517fb06c PR/51815: Ngie Cooper: don't leak dlopen'ed handle 2017-01-14 20:49:24 +00:00
christos
b318113857 PR/51825: Ngie Cooper: use the non _ version of the macro 2017-01-14 20:47:41 +00:00
christos
c3359ffa01 PR/51876: Ngie Cooper: kyua 0.11 $TMPDIR fixes 2017-01-14 20:45:16 +00:00
christos
8684dbb301 PR/51875: Ngie Cooper: portability fixes 2017-01-14 20:43:52 +00:00
nat
bfd0925ed4 Increment sc_opens only after channel is set up.
It should help PR kern/51746: Panics from audio.
2017-01-14 20:05:37 +00:00
kamil
c52f1ed048 Fix generation of PTRACE_LWP_EXIT event
Set p_lwp_exited instead of p_lwp_created for PTRACE_LWP_EXIT.

This made the lwp_exit1 ATF test passing.

Sponsored by <The NetBSD Foundation>
2017-01-14 19:32:10 +00:00
kamil
ac2c008382 Add additional check for pe_report_event in lwp_{create,exit}1
This caught bug that currently PTRACE_LWP_EXIT is reported as
PTRACE_LWP_CREATE.

Sponsored by <The NetBSD Foundation>
2017-01-14 19:17:10 +00:00
maya
f959afb267 reorganize the code so we test if open fails at the open call.
this doesn't actually make a functional difference as ftruncate can
handle it, but it's a bit clearer and appeases static analyzers.

ok riastradh
2017-01-14 18:35:43 +00:00
maya
be48413a3c Be explicit about how we're placing part of the on-disk name into
the extension, so it doesn't appear like we are overrunning an array.
Appeases coverity, NFC.

ok riastradh
2017-01-14 17:17:53 +00:00
martin
1ed40762bd Avoid gcc warnings 2017-01-14 17:14:23 +00:00
maya
fe2925feed appease coverity by using strlcpy instead of strncpy
ok riastradh
2017-01-14 16:34:44 +00:00
christos
1990f7e47c cast return value 2017-01-14 16:21:28 +00:00