Commit Graph

240499 Commits

Author SHA1 Message Date
hannken
e49191eb15 Return an error if NFSPROC_LOOKUP returns the file handle of the current
directory.  Treating it as DOT lookup would put garbage into the name
cache and could panic on future lookups.

Seen with ZFS file system exported from OmniOS, an OpenSolaris derivative.

Fixes PR kern/50664 "cd .." over NFS/ZFS can panic kernel
2016-01-19 10:56:59 +00:00
mbalmer
bcbdebbaf1 fix typo, bump date 2016-01-19 10:11:02 +00:00
msaitoh
abd564cc41 Add three devices:
- Polaris2 USB dock and Plugable docking station from FreeBSD.
- DisplayLink MIMO from Swift Griggs.
2016-01-19 03:44:41 +00:00
msaitoh
a73803a8b0 Regen. 2016-01-19 03:25:35 +00:00
msaitoh
bf4e7ceff0 Add some DisplayLink devices. 0x0117 and 0x0377 are from FreeBSD.
0x0335 is from Swift Griggs.
2016-01-19 03:24:58 +00:00
pooka
2e65b0e7b9 Include <sys/kernel.h> only if it's needed.
(fix build failure)
2016-01-18 23:27:49 +00:00
pooka
ea1845ad67 put lwp/proc stuff into the same source module (emul.c -> lwproc.c) 2016-01-18 23:27:20 +00:00
pooka
85df50f357 massively reduce header pollution from times prehistoric 2016-01-18 23:21:28 +00:00
pooka
45c68bb8cc Fix dlopen()/dlclose()+RUMP_USE_CTOR to not leave dangling pointers around. 2016-01-18 16:46:08 +00:00
pooka
bd792fddbf boottime is a timespec, not timeval 2016-01-18 15:53:38 +00:00
pooka
a987d455cc Implement the inverse of a nop. 2016-01-18 14:37:53 +00:00
wiz
934119d44e Use standard markup for ENOSPC. 2016-01-18 09:17:59 +00:00
knakahara
d7b9bb29c0 Refactor protosw codes in gif(4). No functional change.
- remove unnecessary include
    - reduce scopes
2016-01-18 06:08:26 +00:00
msaitoh
73eb2fb364 Add comments. Fix comments. No functional change. 2016-01-18 05:59:37 +00:00
msaitoh
6c07688eee Fix a bug that wdcprobe1() accesses NULL pointer when the DEBUG_PROBE bit
is set in atadebug_mask variable. The caller passes data which has
temporary-generated wdc_softc in it, but the device_t has not initialized
because it's not determined yet. So it can't use device_xname(). Use
__function__ instead.
2016-01-18 04:46:47 +00:00
nonaka
af98b0b25e Use correct register definition. 2016-01-18 02:45:05 +00:00
kamil
43d951b258 Add full.4 2016-01-18 00:34:43 +00:00
kamil
039d698170 Add new man-page full(4) for the /dev/full device
DESCRIPTION
     The full device always return ENOSPC on writing,

     In all other cases it behaves like the zero(4) device and provides an
     infinite stream of zeros.
2016-01-18 00:21:44 +00:00
christos
9f840dd1f7 Add /dev/full 2016-01-17 23:18:18 +00:00
christos
2ebfbcea21 add /dev/full 2016-01-17 23:16:46 +00:00
christos
9ca1704a93 include unistd.h for getpagesize() 2016-01-17 22:51:32 +00:00
christos
3570a3e5e8 PR/50672: Andriy Voskoboinyk: fix write to the wrong register. 2016-01-17 22:32:09 +00:00
tsutsui
1cc0bb1b71 Fix fatal "intr_dispatch: stray level 6 interrupt" panic by the GENERIC
kernel on machines without arcofi(4) audio (i.e. all hp300 except HP425e).

I failed to pull all necessary changes for arcofi(4) from OpenBSD
and I should have tested 7.0_RC kernels on my HP382 too :-(

Should be pulled up to netbsd-7 and netbsd-7-0.
2016-01-17 17:49:55 +00:00
christos
59ef53c17c remove free NULL checks (Tilman Sauerbeck) 2016-01-17 17:45:21 +00:00
christos
4f3d9e304d PR/50671: David Binderman: fix memory leak. 2016-01-17 15:59:26 +00:00
christos
9da037e3be provide missing FD_CLOEXEC for the havenots. 2016-01-17 15:32:38 +00:00
christos
43e2498875 Use FD_CLOEXEC (Tilman Sauerbeck) 2016-01-17 15:30:23 +00:00
christos
bd37d539ab PR/50670: David Binderman: Tidy up debugging printfs to avoid if else confusion. 2016-01-17 15:08:10 +00:00
christos
f99428016a PR/50668: David Binderman: Don't compare unsigned to -1 2016-01-17 14:57:18 +00:00
christos
bf07f60056 PR/50666: David Binderman:
He's out of jail and out of bail and that's the way it goes:
    free(base);
2016-01-17 14:50:31 +00:00
christos
8d60259f07 PR/50665: David Binderman: move "dir" to the outer scope so it stays alive
when the pointer is used later.
2016-01-17 14:46:07 +00:00
wiz
cbba3dff68 Fix some macros. Sort stuff some more. 2016-01-17 11:24:28 +00:00
martin
5f5662b21a PR port-alpha/50667: add missing va_start/va_end. 2016-01-17 10:44:57 +00:00
tsutsui
e559dfd4b7 Enable LIBSA_CREAD_NOCRC. PR/50638
Bump version to denote user visible change.
Tested on HP9000/382.
2016-01-17 08:05:20 +00:00
tsutsui
db6b7e2af5 Enable LIBSA_CREAD_NOCRC. PR/50638
Bump version to denote user visible change.
Tested on simh 4.0-Beta1 emulationg MicroVAX 3900.
2016-01-17 04:53:16 +00:00
tsutsui
03a3a2cfbc Enable LIBSA_CREAD_NOCRC. PR/50638
Bump version to denote user visible change.
Tested on NWS-1750.
2016-01-17 04:50:36 +00:00
tsutsui
512eb09ee8 Enable LIBSA_CREAD_NOCRC. PR/50638
Bump version to denote user visible change.
 XXX: recent visible changes (memsize probe, SRAM switch command)
      were not denoted in versions
Tested on (real) X68030.
2016-01-17 04:47:59 +00:00
tsutsui
ed7ecb5525 Enable LIBSA_CREAD_NOCRC. PR/50638
Also bump version to denote user visible change.
Tested on LUNA-II.
2016-01-17 04:40:10 +00:00
tsutsui
89a198b4f5 Add an option (LIBSA_CREAD_NOCRC) to disable gunzip CRC32 calculation.
No obvious sideeffect on booting i386 GENERIC kernels (without the option).
Closes PR/50638 (Extreme slowness on loading gzipped kernels on old CPUs).
2016-01-17 04:35:42 +00:00
tsutsui
d943d96739 Make this build without installed DESTDIR files. 2016-01-17 03:08:39 +00:00
riastradh
bb8ee6680c Use PCI ROM MD fallback if PCI ROM BAR points to invalid ROM.
We previously applied the PCI ROM MD fallback only if the PCI ROM BAR
was altogether unpopulated.  Some Radeon devices seem to have a
populated PCI ROM BAR pointing at a bogus ROM, while 0xc0000 works
fine.

Fixes at least one manifestation of PR kern/49964.
2016-01-17 01:40:39 +00:00
christos
6510a8eabd modernize. 2016-01-16 21:31:38 +00:00
christos
5a327b6e14 fix typo 2016-01-16 21:29:33 +00:00
christos
6fee39189c Update documentation. 2016-01-16 21:15:51 +00:00
christos
24926742d3 fix the option string. 2016-01-16 21:12:27 +00:00
christos
370ae5dba9 PR/50660: David Binderman: bad calls to printf, in test part 2016-01-16 19:44:05 +00:00
christos
10dfc2597e ifdef __RCSID 2016-01-16 19:28:36 +00:00
christos
596bcc40ea mention autoconf 2016-01-16 18:56:48 +00:00
christos
d53d9ea967 has moved to external/gpl3 2016-01-16 18:41:12 +00:00
christos
ee45ee4be7 look in gpl3 for stuff too (autoconf) 2016-01-16 18:38:53 +00:00