ozaki-r
19fb0179dc
Use __func__ in log messages
2016-04-01 06:25:51 +00:00
ozaki-r
acdecad069
Tidy up nd6_timer initialization
2016-04-01 05:11:38 +00:00
ozaki-r
2d846e45e6
Make some global variables static
2016-04-01 02:00:14 +00:00
kiyohara
118e184d7f
Ensure enable clocks for omapmputmr.
2016-03-31 14:33:17 +00:00
christos
6952a2b793
PR/51016: David Binderman: comment out pointless code.
2016-03-30 21:16:22 +00:00
christos
40d9145b70
PR/51015: David Binderman: remove useless code
2016-03-30 21:14:54 +00:00
macallan
a3107e02e3
make sure we compile mips_fpu.c and fp.S with -mhard-float
2016-03-29 18:40:32 +00:00
mlelstv
7a222a4140
Initialize disk_geom information, DIOCGPARTINFO relies on it.
2016-03-29 04:55:53 +00:00
mlelstv
3bb28e76f8
Align /proc/<pid>/statm data with /proc/<pid>/stat and
...
provide RSS information. There is no data about shared
pages.
Helps PR 50801.
2016-03-28 17:23:47 +00:00
macallan
192512b54b
fix this properly.
...
uap is supposed to hold init's argv[], so it's 3 * sizeof(char *), the bug
was to copyout(..., sizeof(args)) which is an array of syscallargs, not argv
*
2016-03-28 16:45:44 +00:00
macallan
3228b500d3
do not assume that syscallarg(const char *) and (char *) are the same size
...
first step to make n32 kernels run binaries again
2016-03-28 15:45:18 +00:00
riastradh
96b890b34c
Fix relation in rngtest failure message to match reality.
2016-03-28 15:20:16 +00:00
martin
0213dfd655
Add missing include
2016-03-28 10:35:36 +00:00
martin
e002a1e12e
Simplify now that we have an internal toolchain
2016-03-28 10:31:45 +00:00
skrll
8e0f1b1171
Simplify. No functional change.
2016-03-28 09:50:40 +00:00
martin
afad7c48d8
Restrict float format hacks to gcc 4.8
2016-03-28 08:10:57 +00:00
ozaki-r
fb96f2a80f
Remove unused global bridge list
...
Pointed out by riastradh@
2016-03-28 04:38:04 +00:00
mrg
0fd71d0df7
add a normal kernel that builds with PAE enabled. this is not yet
...
hooked into the normal build, but this is a working configuration
and on my 16GB test system, works fine.
2016-03-27 05:14:14 +00:00
martin
0b2c20760e
Do not touch FP register on softfloat kernels.
2016-03-26 17:40:02 +00:00
martin
0eb7da4d7a
David Binderman in PR port-newsmips/51014:
...
Move initialization of remain_cnt up to the declaration.
XXX the #ifdef here does not make much sense to me, but I know nothing
about the hardware. I'd guess it could be removed or inverted and #error'd
instead.
2016-03-26 17:14:38 +00:00
martin
07a988af43
David Binderman in port-arm/51013: masking of rxbdtlen happened before
...
the value was read - move it down a few lines.
2016-03-26 17:04:03 +00:00
hannken
d222105946
Whhen spec_strategy() extracts v_rdev take care to avoid a
...
race with spec_revoke.
Fixes PR kern/50467 Panic from disconnecting phone while reading its contents
2016-03-26 14:58:13 +00:00
martin
c22389e399
Fix comment
2016-03-26 11:49:10 +00:00
skrll
dc4391d06a
Restore HOST1X and AHB_A2 to pmap_devmap to give pmap less work to do
2016-03-26 09:07:31 +00:00
skrll
3e98a566a4
G/C old structs
2016-03-26 08:42:07 +00:00
martin
68f0e74d44
Make the softfloat variant compile
2016-03-26 07:21:11 +00:00
nakayama
01ff6a8d1b
Fix probably a typo.
2016-03-25 14:58:53 +00:00
shm
606dc45ebf
Add support for clac and stac instructions.
2016-03-25 10:14:43 +00:00
riastradh
998b234a2c
No CRT_HAS_128BIT for pcc, which lacks attribute((mode(TI))).
2016-03-25 03:51:19 +00:00
ozaki-r
3084fea4ef
Constify rt_newmsg's arguments
2016-03-24 06:18:27 +00:00
christos
3b88282d06
elide vax compiler bug.
2016-03-23 21:38:51 +00:00
knakahara
969d82c4f7
add drop count which means the sum of struct if_percpuq's per-CPU queues.
...
ok by ozaki-r@n.o
2016-03-23 07:05:28 +00:00
ozaki-r
f1d17afed8
Fix LIST_FOREACH argument
2016-03-23 05:44:01 +00:00
mrg
4773cc203b
avoid a GCC warning with this:
...
+#if defined(__GNUC__) && (__GNUC__ >= 5) && defined(__OPTIMIZE__)
+ x.fp_sign = 0;
+#endif
(ridiculous, but seems better than disabling the warning entirely.)
2016-03-23 05:25:51 +00:00
ozaki-r
85320fb21e
Use LIST_FOREACH instead of LIST_FOREACH_SAFE
...
No need to use *_SAFE because we don't remove any items in the loop.
2016-03-23 04:56:21 +00:00
mrg
65f5251eae
remove a bunch of "@echo done" from the tail of rules. these messages
...
were vaguely useful back when we didn't run make -j, but now you end
up with a single line "done" every so often, with no idea what it is
for. very few other targets claim they're done so just remove these.
2016-03-22 08:25:22 +00:00
mrg
3495e41469
revert part of rev 1.66 that converted a tri-state variable into
...
a bool while leaving a comparision against "< 3".
2016-03-22 04:48:25 +00:00
mrg
c3f8eee056
avoid some stupid GCC errors seen only with -Os and -O3.
2016-03-21 22:42:56 +00:00
christos
34698e074e
simplify.
2016-03-20 16:39:36 +00:00
khorben
88481e0aaa
Let PaX ASLR know about the current emulation
...
This effectively fixes PaX ASLR with 32-bits emulation on 64-bits
platforms. Without this knowledge, the offset applied for 32-bits
programs was really meant for a 64-bits address space - thus
shifting the address up to 12 bits, with a success rate of about
1/4096. This offset is calculated once in the lifetime of the
process, which therefore behaved normally when able to start.
Fixes kern/50469, probably also kern/50986
Tested on NetBSD/amd64 (emul_netbsd32)
2016-03-20 14:58:10 +00:00
tsutsui
a2b51fbb55
Pass a correct residual size to wdcbit_bucket() that drains extra bytes.
...
Seems broken (but almost harmless?) since rev 1.101 committed ~10 years ago:
http://mail-index.netbsd.org/source-changes/2006/09/07/0043.html
2016-03-20 10:29:12 +00:00
tsutsui
225e5dba8f
Remove extra spaces.
2016-03-20 09:47:58 +00:00
gdt
af798e7b27
Disable uscanner in all kernel configs
...
As discussed on current-users@, SANE uses ugen via libusb and not
uscanner, so users are not well served by having uscanner. Consensus
is that addressing how to adjust permissions for scanners should not
block restoring basic functionionality.
(Compile-tested only, but there are multiple reports of this being the
right approach.)
2016-03-19 23:21:02 +00:00
mrg
3ae3bff701
remove some dead code.
2016-03-19 20:57:48 +00:00
christos
b1ba608e8b
Allow enabling and disabling PaX ASLR debug
2016-03-19 18:56:37 +00:00
martin
a706a41168
Default kernel builds to USE_SSP=yes.
2016-03-19 18:50:25 +00:00
christos
3bf2eee003
Add MAP_FMT
2016-03-19 18:44:10 +00:00
dholland
c2159a40f8
PR 50633 and PR 50634 from Brad Harder: add missing includes:
...
sys/signal.h and sys/time.h. Also add sys/uio.h which is needed and
for some probably historical/obsolete reason has been documented as a
prerequisite instead of included directly.
This also requires sys/param.h for MAXCOMLEN (blah) but for now at
least shift that to the documentation instead of including it
directly as it's a sewer.
2016-03-19 17:04:12 +00:00
mrg
66d72dce7d
minimal changes necessary to link into an INET6-less kernel.
2016-03-18 10:09:46 +00:00
khorben
f01ec91352
Fix matching of ICMP queries when NAT'd through IPF
...
This notably fixes MTU updates for hosts issueing ICMP queries through a
NAT performed by NetBSD with IPF.
2016-03-17 04:07:41 +00:00