ozaki-r
ff97010dea
Declare __debugused for no DIAGNOSTIC kernels
...
This unbreaks hpcsh GENERIC kernel build.
2015-11-25 07:06:19 +00:00
ozaki-r
ecd5b23eef
Use lltable/llentry for NDP
...
lltable and llentry were introduced to replace ARP cache data structure
for further restructuring of the routing table: L2 nexthop cache
separation. This change replaces the NDP cache data structure
(llinfo_nd6) with them as well as ARP.
One noticeable change is for neighbor cache GC mechanism that was
introduced to prevent IPv6 DoS attacks. net.inet6.ip6.neighborgcthresh
was the max number of caches that we store in the system. After
introducing lltable/llentry, the value is changed to be per-interface
basis because lltable/llentry stores neighbor caches in each interface
separately. And the change brings one degradation; the old GC mechanism
dropped exceeded packets based on LRU while the new implementation drops
packets in order from the beginning of lltable (a hash table + linked
lists). It would be improved in the future.
Added functions in in6.c come from FreeBSD (as of r286629) and are
tweaked for NetBSD.
Proposed on tech-kern and tech-net.
2015-11-25 06:21:26 +00:00
marty
cfcf2b60eb
snapshot: Does NOT boot
2015-11-25 04:04:13 +00:00
marty
aed5bf48c5
something temporary that will go away once odroid xu4 works
2015-11-25 04:03:34 +00:00
christos
27a26957d4
PR/50360: Thomas Klausner: Fix MKREPRO builds
2015-11-25 01:20:11 +00:00
christos
1ef9a127cf
PR/50360: Thomas Klausner: Fix MKREPRO issue
2015-11-25 01:12:03 +00:00
christos
ec8137f3d4
PR/50360: Thomas Klausner: MKREPRO fix
2015-11-25 01:08:34 +00:00
christos
f7d3cc6004
PR/50360: Thomas Klausner: if MKREPRO is set, provide a consistent timestamp
...
for the files in the cdroms to be built. For now we copy the timestamp of
<sys/param.h>. We could set an absolute timestamp too like -T 0 for the epoch.
2015-11-25 00:50:57 +00:00
christos
799916c021
Provide a -T option to set timestamps to a consistent value for MKREPRO
2015-11-25 00:48:49 +00:00
christos
62320ab8fc
fix sets
2015-11-24 23:33:46 +00:00
leot
da9851d4a9
Add NetBSD RCS Id.
2015-11-24 23:30:04 +00:00
plunky
6741d295e4
newer versions of the Bluetooth Core specification state that
...
service record number values of 0x00000001->0x0000FFFF are
reserved, so comply with that here.
2015-11-24 21:11:39 +00:00
christos
f184794dc1
kern/50456: Freddy DISSAUX: Fix packets lost with tcpdump.
2015-11-24 20:13:12 +00:00
jakllsch
aabeaec83d
Revert previous. At least AR9280 and AR9285 apparently do not have
...
working-by-default MSI functionality, despite advertising such.
Fixes PR kern/50465.
2015-11-24 18:17:37 +00:00
christos
2e0dfabb5f
fix crash(8) printing of callouts.
2015-11-24 15:48:23 +00:00
christos
35da36c439
CID 1340063: fix TOCTOU
2015-11-24 14:07:18 +00:00
jklos
2f385a84d2
One too many parenthesis removed.
2015-11-24 08:48:25 +00:00
ozaki-r
bb7b9eed2e
Add fastforward6 test
2015-11-24 02:37:33 +00:00
christos
7099a15c75
PR/50092: don't leak screen on multiple setterms.
2015-11-24 01:59:32 +00:00
pgoyette
5a91b3ef3b
Add missing /* $NetBSD$ */ keyword
2015-11-24 01:05:50 +00:00
pgoyette
d511d03d04
finish previous - remove no-longer-used variables
2015-11-24 01:01:42 +00:00
joerg
6d8db05630
Replace left shifts of negative values with appropiate unsigned values.
2015-11-23 23:46:33 +00:00
joerg
b735893a87
Cast argument to uint64_t first before shifting to avoid UB for
...
left-shifting negative values.
2015-11-23 23:45:44 +00:00
pgoyette
94e1cb8831
It is no longer required that the target process be a descendant of the
...
tracking process.
2015-11-23 23:28:33 +00:00
pgoyette
8ed3d37d0b
Remove the requirement that the target (tracked) process be a descendant
...
of the tracking process. The call to kauth() should be sufficient to
address any security concerns.
2015-11-23 23:27:38 +00:00
pgoyette
f4bbc3f78c
Minor rephrasing for English grammar police.
2015-11-23 23:23:25 +00:00
pgoyette
52b76a516b
Include additional info, including potential security consideration.
2015-11-23 23:00:29 +00:00
christos
e804370940
fix ti_puts prototype
2015-11-23 22:35:28 +00:00
christos
62025e09ce
PR/50344: Stephen Fisher: apropos shows formatting on console with vt100 term
...
type. Can't print terminfo sequences directly; need to process them with
ti_puts() to handle padding. This removes the padding delays, and stricly
could break on slow terminal hardware, but they way the code is structured
makes it impossible to fix properly (since the formatting strings are
passed in the query).
XXX: pullup-7
2015-11-23 22:34:00 +00:00
pgoyette
6cf6af127d
Clean up the error paths in filemon_ioctl(), making sure to release the
...
rw_lock before returning. Avoids a "locking against myself" error
reported by Brad Harder.
2015-11-23 22:20:57 +00:00
jdc
19c1caef81
Set the target JPID for all interrupts on Tomatillo.
...
If the "ino-bitmap" property is available, use it to route error interrupts.
Minor cosmetic changes.
Add register printing when DEBUG is defined.
2015-11-23 21:40:14 +00:00
christos
0e5ab369bd
PR/49380: KAMADA Ken'ichi: ntpd_chrootdir does not work on NetBSD 7.0_BETA
...
Provide /etc/resolv.conf so that it can resolve names. This is needed because
of deferred name resolution.
XXX: pullup -7
2015-11-23 19:56:47 +00:00
mlelstv
20725a9902
fix assertion checking that bufrd function is used only for large symlinks
...
that aren't embedded in the inode.
2015-11-23 08:00:45 +00:00
pgoyette
76f6833566
Retrieve the pathname of the exec'd file before we call sys_execve().
...
We cannot rely on using copyinstr() to retrieve the pathname from
user mode after a successful exec, since the user mode address space
is no longer valid (and may not even be accessible). This worked in
earlier code but was broken by rev 1.7.
2015-11-23 00:47:43 +00:00
christos
e2f72a0028
Fix logic bug where __cpuid gets called when __get_cpuid_max() returns 0.
...
This happens when __level == 0, from libgcc/config/i386/cpuinfo.c#285.
This breaks early i486 CPUs which don't have cpuid
2015-11-22 20:47:42 +00:00
christos
4fe0054f39
Fix logic bug where __cpuid gets called when __get_cpuid_max() returns 0.
...
This happens when __level == 0, from libgcc/config/i386/cpuinfo.c#285.
This breaks early i486 CPUs which don't have cpuid
XXX: pullup-7
2015-11-22 20:47:05 +00:00
christos
fc8a4870ed
Don't chdir to the config directory; just form the parameters file with a
...
path if needed.
2015-11-22 20:24:19 +00:00
tsutsui
2af5fde181
Remove \n from set_cpumodel(), and explicitly print \n during boot instead.
...
Fixes dmesg on NetBSD/dreamcast 7.0 (and probably NetBSD/hpcsh 7.0):
---
NetBSD 7.0 (GENERIC.201509250726Z)
SEGA Dreamcasttotal memory = 16384 KB
avail memory = 13668 KB
---
which was mangled when cpu_getmode() and cpu_setmodel() were introduced:
http://mail-index.netbsd.org/source-changes/2014/03/24/msg053273.html
Should be pulled up to netbsd-7 and netbsd-7-0.
2015-11-22 18:44:25 +00:00
aymeric
c480fc766d
do not fail if no awintcon is present so that ALLWINNER_A80 compiles again
2015-11-22 17:50:48 +00:00
christos
cd40e75014
explain how to clear an entry (without reading the source)
2015-11-22 15:53:10 +00:00
maxv
165df8bad6
Remove cpu_vendorname (unused). It is retrieved later in identcpu.c.
2015-11-22 14:06:08 +00:00
maxv
a406542551
KNF a bit, so I don't get scared each time I open a file
2015-11-22 13:41:24 +00:00
jmcneill
a5c784b329
replace inline mc_read/write with MC_READ/WRITE macros, install intr handler with IST_MPSAFE flag
2015-11-22 12:26:11 +00:00
martin
49e022399f
Reduce the "MAXDSIZ" limit for bottom-up-VA (i.e. old binaries) processes
...
to the old limit of 1 GB. Some old binaries can not deal with more.
2015-11-22 11:42:55 +00:00
martin
4d43062345
Use NETBSD32PTR32I() for pointer-to-32bit value conversion, requested
...
by mrg.
2015-11-22 11:24:08 +00:00
maxv
67b107f811
Clarify:
...
- add some comments
- rename some jumps
- KNF
No functional change.
2015-11-22 10:18:59 +00:00
martin
44d63857d1
Removy now unused {s,f}uword
2015-11-22 10:18:14 +00:00
wiz
4cce8f946f
Bump date for previous.
2015-11-22 09:37:33 +00:00
martin
536e060075
remove all MD uses of suword(), replace by copyout()
2015-11-22 09:32:34 +00:00
kamil
b86d7f33dd
+libpanel: Z-order for curses windows
2015-11-22 05:12:22 +00:00