mrg
8b5b0b5a2a
only call the on-enter commands if we're not recursing.
...
avoids having a fault in the on-enter commands repeating.
2015-05-21 08:23:22 +00:00
rtr
d458601fe5
change nfs_boot_sendrecv to take sockaddr_in * instead of mbuf *
...
fixes m_serv (single mbuf leak) leak in kern/subr_tftproot.c
2015-05-21 02:04:22 +00:00
christos
06f2d20635
use reallocarr (Ingo Schwarze)
2015-05-21 01:29:13 +00:00
ozaki-r
8f82f57c45
Remove obsolete interfaces: eon (netiso) and nsip (netns)
...
Pointed out by Kamil Rytarowski
2015-05-21 01:09:00 +00:00
ozaki-r
5ca2652f3f
Remove description of netns/
...
Pointed out by Kamil Rytarowski
2015-05-21 01:05:33 +00:00
rtr
e46203ce86
remove duplicated assignment of mh->m_len
2015-05-21 00:45:27 +00:00
rjs
b596b9b9be
Add xf86-video-intel-old to the build.
2015-05-21 00:12:10 +00:00
riastradh
16adabdccc
Initialize dma.dma_sizereg to avoid copying uninitialized data later.
...
This field is not actually used here -- not clear it should be in
the hdaudio_dma structure at all.
Noted by Coverity, CID 979553.
2015-05-20 18:28:32 +00:00
riastradh
6d6f14f9de
memcpy di_extb/db/ib separately. Noted by Coverity, CID 974636.
2015-05-20 18:21:17 +00:00
riastradh
9a70a528ec
Don't (harmlessly) overrun di_db array; copy di_ib separately.
...
Noted by Coverity, CID 974635.
While here, simplify size calculation for memcpy.
2015-05-20 18:19:09 +00:00
riastradh
565bd38756
Add XXX comment for previous.
2015-05-20 18:13:23 +00:00
riastradh
c4db66d4bf
Don't pass along null encoder. Noted by Coverity, CID 113253.
2015-05-20 18:12:01 +00:00
christos
f845fc8e2c
MKRUMP=no fixes (Robert Swindells)
2015-05-20 17:39:04 +00:00
jmcneill
bd5210904b
need to call lddone with splbio and kernel lock held
2015-05-20 13:09:34 +00:00
pooka
521e7b5ba9
Add a rump kernel components for USB PCI host controllers.
2015-05-20 12:21:38 +00:00
pooka
1e2e59a64c
Rename usb_at_ugenhc.c to the more generic usb_at_hc.c now that
...
host controllers beyond ugenhc are attached.
2015-05-20 11:53:08 +00:00
pooka
65e29fe174
also attach usb@{e,o,u}hci
2015-05-20 11:51:32 +00:00
riastradh
66cbe3320e
Fix kassert: npdp may be GEN8_LEGACY_PDPS exactly.
...
Tripped over by msaitoh, our first Broadwell user, apparently.
2015-05-20 11:29:45 +00:00
pooka
44fa683b9a
build dev_verbose.c
2015-05-20 11:22:54 +00:00
pooka
6e547c6725
Don't log kern.msgbuf* sysctls. it's rather pointless, nobody can
...
unload subr_log.c
2015-05-20 11:18:36 +00:00
pooka
f67bb039d4
group msgbuf sysctls with the msgbuf code
...
(init_sysctl.c -> subr_log.c)
2015-05-20 11:17:24 +00:00
pooka
e63dc818ef
call loginit() later, a lot later
2015-05-20 11:02:54 +00:00
ozaki-r
b8199900dc
Remove leftover use of AF_NS and NS option
...
Unnecessary NETISR_NS is also removed.
2015-05-20 09:17:17 +00:00
matt
95b88ec007
Use Elf_Sym
2015-05-20 07:24:49 +00:00
matt
2a4267c6e4
#include <sys/exec_elf.h> for ksyms
2015-05-20 07:16:15 +00:00
matt
64433ea7fa
Don't .set mips64 if we are already mips64
2015-05-20 07:04:49 +00:00
snj
35a4e6246f
don't look for now-gone sparc/legal
2015-05-20 05:21:24 +00:00
snj
83a500f842
merge port-specific legal sections into the common file. most of these
...
entries were already in the common file, and it's a pain to maintain
them separately.
2015-05-20 05:19:19 +00:00
matt
0828cd07d4
Rework ksym defines and includes.
2015-05-20 04:37:45 +00:00
matt
cdbc8d4e56
Only define the KIOC netbsd32 stuff if the KIOC ioctls have been defined.
2015-05-20 04:09:37 +00:00
matt
d44de95798
add struct exec_package;
2015-05-20 04:08:54 +00:00
hsuenaga
637c81b6c9
move register accessor macros for MPIDR and AUXFMC0 to armreg.h
2015-05-20 02:59:57 +00:00
matt
d0c9fc59d2
Change the ksyms ioctls to more compat_netbsd32 friendly. Use _IOWR ioctls
...
to avoid extra copyouts. With these changes, netstat and vmstat work on
mips64eb with the normal N32 userland and a N64 kernel.
2015-05-20 02:45:20 +00:00
ozaki-r
458add7bf4
Add tests for XRESOLVE flag
2015-05-20 01:30:42 +00:00
msaitoh
b469f187fe
Add Catalyst CAT34TS02C support.
2015-05-20 00:43:28 +00:00
jmcneill
e48551c527
wait for PLLD2 lock
2015-05-20 00:05:53 +00:00
riastradh
c8e69c4036
Avoid C99 initializers outside _KERNEL.
...
Various software is built with, e.g., gcc without -std=c99, which
defaults to c89, which chokes on these.
Noted by Kamil Rytarowski.
2015-05-19 23:35:11 +00:00
snj
f9dc61f5fc
finish removing the set size stuff, which was thrown out four years ago.
2015-05-19 19:45:57 +00:00
snj
9c519f769f
- update upgrade issues:
...
+ ARM ABI change
+ new users
+ new groups
- add modules set where missing
- formatting improvements
- note that rtsol{,d} will be gone in the future
- fix raw partition info
- update sparc64 hardware support
- remove note about sparc SMP support being broken
- update some size requirements (still lots of ancient bogus RAM
minimums lingering -- HI PORTMASTERS!)
- various other minor content modernization
- whitespace fixes
2015-05-19 19:30:26 +00:00
kefren
f3bd20e96c
Use RUN_ONCE to initialize iss secret. Suggested by riastradh@
2015-05-19 17:33:43 +00:00
christos
e0b253ee23
Detect error earlier to avoid memory leak.
...
XXX: pullup-7
2015-05-19 15:16:00 +00:00
christos
58416d2a6d
Protect against a NULL pointer dereference described in:
...
https://www.altsci.com/ipsec/
XXX: pullup-7
2015-05-19 15:14:25 +00:00
christos
7310b6ff91
Fix the build for ancient (rhel5) systems that don't have O_CLOEXEC
...
XXX: pullup-7
2015-05-19 13:20:52 +00:00
joerg
7d8086b58f
Use __BEGIN_DECLS / __END_DECLS consistently for _KERNEL part too.
...
Don't pollute namespace by including sys/sysctl.h for !_KERNEL part.
2015-05-19 12:17:53 +00:00
hsuenaga
6d8eadc7be
fix Marvell Coherency Barrier register address.
...
configure coherency bus maintance broadcast using MPIDR. we need to configure
this regardless of 'options MULTIPROCESSOR.'
2015-05-19 09:20:19 +00:00
ozaki-r
44b264d7a7
Fix rump.ifconfig shows host's interface names in link local addresses
2015-05-19 08:14:38 +00:00
matt
fdf19e39a7
Let the compiler/assembler know we compiling for octeon.
2015-05-19 07:08:21 +00:00
martin
dd29c6c2e1
Revert previous untill fallout has been fixed.
2015-05-19 06:58:52 +00:00
martin
445ccb6af2
Cosmetics: fix netbsd.org spelling
2015-05-19 06:44:42 +00:00
matt
37a895a7a8
Support ELF64 on MIPS N32 even though it's ILP32.
...
XXX should we do this for other arches that support compat_netbsd32?
2015-05-19 06:09:15 +00:00