Commit Graph

130510 Commits

Author SHA1 Message Date
pooka
0bb9321be6 periodic regen (because having new rcs ids in comments is most useful) 2016-02-02 01:14:26 +00:00
christos
d3f9dfe250 PR/50740: David Binderman: Provide a copy constructor. 2016-02-01 17:44:19 +00:00
christos
c41563914b PR/50738: David Binderman: Check bounds before dereferencing. 2016-02-01 17:40:49 +00:00
christos
0b5365f66d PR/50737: David Binderman: Check bounds before dereferencing. 2016-02-01 17:39:41 +00:00
christos
ff4ea0ba8c PR/50736: David Binderman: Check bounds before dereferencing. 2016-02-01 17:38:31 +00:00
christos
0a67dc8231 PR/50735: David Binderman: Check bounds before dereferencing. 2016-02-01 17:37:39 +00:00
christos
ae157f388e - split a long line.
- remove extra test.
- move d_namlen setting to msdosfs_vnops.c to avoid the ifdef.
2016-02-01 16:53:23 +00:00
christos
654889b793 Do less work under the kernel lock, otherwise dhcpcd aborting causes us
to deadlock.
2016-02-01 16:32:28 +00:00
nonaka
29853c9ec4 regen 2016-02-01 14:55:09 +00:00
nonaka
f2ef7d4409 Add NTT DOCOMO L-05A. 2016-02-01 14:54:33 +00:00
martin
456f8519f7 Avoid unsigned/signed comparision warning to fix the build. 2016-02-01 10:37:57 +00:00
msaitoh
ca22ec0521 Add parenthesis for the addr argument of ISMT_DESC_ADDR_RW(addr, is_read).
It was no real bug.
2016-02-01 08:53:36 +00:00
msaitoh
fe39cc6e62 Rename macro (sync with pcidevs rev. 1.1246). No functional change. 2016-02-01 08:28:48 +00:00
msaitoh
e376993f6f Regen. 2016-02-01 08:27:43 +00:00
msaitoh
7c4512ae81 - s/82081/82801/ from OpenBSD.
- 0x2829 is SATA. 0x282a is RAID.
2016-02-01 08:27:17 +00:00
riz
716b7d01f8 Implement the 'io' provider for DTrace. From riastradh@, with
fixes from me.
2016-02-01 05:05:43 +00:00
christos
76530fdb8e We can't depend on dp->d_namlen existing for the parts that are used in
makefs(8).
2016-02-01 02:59:33 +00:00
pooka
524147ffc7 Move "shotgun approach to rump syscalls" from rump.h to a separate header,
sort of as a hint that relying on those macros is not necessarily the
way you want to do things in 2016.  Include things from rump.h for compat
for the time being, though.
2016-01-31 23:14:34 +00:00
christos
fa11e0c528 include bsd.init.mk to get Makefile.inc 2016-01-31 15:32:12 +00:00
christos
f56c05e9f6 remove the MKPIE and MKCTF no hack, and move it to the .mk files 2016-01-31 15:29:04 +00:00
christos
73f3719203 PR/50730: Benny Siegert: Go kqueue test panics kernel.
- use a marker knote from the stack instead of allocating and freeing on
  each scan.
- add more KASSERTS
- introduce a KN_BUSY bit that indicates that the knote is currently being
  scanned, so that knote_detach does not end up deleting it when the file
  descriptor gets closed and we don't end up using/trashing free memory from
  the scan.
2016-01-31 04:40:01 +00:00
christos
cb09bfac79 Disable PIE and CTF for standalone code
XXX: Must be done centrally, and there must be a better way.
2016-01-31 02:16:28 +00:00
palle
46d16bc240 Fixed typo in sparc64_send_ipi_sun4u(): sun4v -> sun4u 2016-01-30 22:47:06 +00:00
mlelstv
223c7df5b3 Add support to msdosfs and makefs to generate correct Unicode (UCS-2) directory
entries from UTF8 encoded file names.
2016-01-30 09:59:27 +00:00
christos
736ee7ee51 compile full symbol table for CTF so FBT can get function arguments. 2016-01-30 04:12:38 +00:00
riastradh
461b4ecf4d Always initialize error.
Found by joerg.
2016-01-30 00:00:56 +00:00
riastradh
d5375c6a53 Flush unused function.
Found by joerg.
2016-01-29 23:58:22 +00:00
joerg
8efada2418 Restrict -Wno-unused-but-set-variable to gcc. 2016-01-29 22:49:06 +00:00
riastradh
4306995b47 Use %"PRIx8", not %hx, for uint8_t. %hx is for unsigned short. 2016-01-29 22:25:45 +00:00
riastradh
44348888a3 Don't store non-enumerated values in an enum.
Found by joerg.
2016-01-29 21:46:03 +00:00
christos
83d04d3aa0 use __register. 2016-01-29 21:45:00 +00:00
christos
84c7254397 PR/50631: Joerg Sonnenberger: Don't rename syscalls before you include
the relevant headers.
2016-01-29 20:35:48 +00:00
msaitoh
88a09f8d64 Remove debug message. 2016-01-29 11:30:03 +00:00
christos
d384368fae It is meaningless to check the root node if there was an error. 2016-01-29 10:42:30 +00:00
christos
8ce1ba1c05 fix printf formats 2016-01-29 02:40:22 +00:00
macallan
91d5ecf2d2 first shot at SMP support, very much broken and experimental
So far the 2nd core wakes up, makes its way to the idle loop, and things lock
up when we start the timer interrupt.
2016-01-29 01:54:13 +00:00
htodd
522bc88a7d Fix build break. 2016-01-28 23:50:04 +00:00
christos
253490a42f Don't detach devices if we are dumping core. 2016-01-28 16:32:40 +00:00
jnemeth
3f338bf379 move #ifdef notyet to encompass all relevant parts 2016-01-28 06:52:55 +00:00
ozaki-r
a8e10f3452 Tidy up
- KNF
- Remove obsolete ifdefs for other OSes
- Remove unnecessary else block

No functional change.
2016-01-28 04:37:01 +00:00
christos
f234372d77 Add support for grub to find the ACPI root table pointer via a bootinfo entry
from grub.
    From: https://mail-index.netbsd.org/tech-kern/2014/05/22/msg017119.html
2016-01-28 01:09:56 +00:00
christos
c2094a0c66 fix previous commit that ate all 4's, and add aprint_btinfo() 2016-01-28 01:08:43 +00:00
knakahara
2656d88eb3 fix my wrong modification 2016-01-28 00:28:11 +00:00
christos
aba0964ef0 just whitespace. 2016-01-28 00:18:27 +00:00
reinoud
7f3b83e2df Fix filename creation and deleting with illegal file names. UDF has a
machanism for it but it allowed to create a file with a name it considered
illegal that then couldn't be deleted with the same name.

Fixes PR kern/50608. When confirmed, it can be closed.
2016-01-27 00:06:49 +00:00
pooka
cbf188301a regen syscall files 2016-01-26 23:49:46 +00:00
pooka
988e14a193 fix typo in previous 2016-01-26 23:46:37 +00:00
pooka
b05ba45d76 "rump_private" -> <rump-sys/kern.h> 2016-01-26 23:44:58 +00:00
pooka
1730d8f0cf nuke a few missed -Ifactiondir CPPFLAGSitions. 2016-01-26 23:41:15 +00:00
pooka
93f2ab8ce8 regen vnode interfaces 2016-01-26 23:30:10 +00:00