jmcneill
72fc9317eb
Add an API for HDMI CEC devices. HDMI Consumer Electronics Control (CEC) is
...
a protocol that provides high-level control functions between CEC-capable
connected devices.
2015-08-01 21:19:24 +00:00
skrll
9c4bc51ae1
Re-enable cpus [123] now that bcm2835_intr.c is fixed with rev 1.11/
2015-08-01 16:18:47 +00:00
skrll
5be1b5ad5a
Call the correct ipi handlers for IPI_AST and IPI_KPREEMPT
2015-08-01 14:18:00 +00:00
tsutsui
bd35314409
Pull upstream fix to avoid kernel panic on starting X on Intel 855GM machines.
...
Reported in PR kern/49875, and ok'ed to commit by riastradh@.
Should be pulled up to netbsd-7.
2015-08-01 13:42:32 +00:00
jmcneill
c33ccff2e1
use a larger (64KB) block size, this helps SD card performance
2015-08-01 10:05:51 +00:00
jmcneill
54fb23f641
mount root partition with noatime
2015-08-01 10:04:50 +00:00
jmcneill
e3283cc16e
Align partitions to 64MB for the benefit of SD cards > 32GB
2015-08-01 10:04:06 +00:00
jmcneill
70b7b04013
extract physical address from HDMI VDSB and make it available as the "physical-address" device property
2015-07-31 23:07:14 +00:00
jmcneill
cd42d5bc1f
Simplify sdhc(4) locking
2015-07-31 15:00:07 +00:00
kamil
0c4bdb7434
Do as POSIX says, define the timespec structure in <signal.h>
...
Extract struct timespec from <sys/time.h> and put into a separate header.
This solution is minimally invasive.
2015-07-31 12:51:32 +00:00
ozaki-r
25711fd317
Return 0 explicitly to avoid unexpected failures when $DEBUG=false
2015-07-31 10:16:36 +00:00
maxv
cbb6f393d8
Small changes:
...
- rename pax_aslr_init() to pax_aslr_init_vm()
- remove the PAX_ flags (unused)
- fix a comment in pax.h
2015-07-31 07:37:17 +00:00
ozaki-r
14e1104e9a
Reduce abuse of global variables
2015-07-31 04:02:40 +00:00
ozaki-r
6abe86b9fd
Add tests of cache overwriting
2015-07-31 02:39:12 +00:00
ozaki-r
bf665d2f84
Add tests for temp option
2015-07-31 02:35:09 +00:00
ozaki-r
5d6a850962
Remove remaining debug code
2015-07-31 00:23:54 +00:00
ozaki-r
5e8861aca5
Fix cleanup; halt all running rump_servers
2015-07-31 00:22:44 +00:00
christos
e139f8ac36
from bitrieg:
...
Substitution commands might contain a newline in the replacement pattern
(escaped with a backslash before it), causing patch's understanding of
the state the ed child process is in to diverge from reality. This can
lead to patch unwillingly feeding '!' (execute shell command) lines to
ed. Finding out how to do this is left as an exercise to the reader.
XXX: pullup-7
2015-07-30 21:47:51 +00:00
kamil
e7c28288e4
Remove unneeded comment about <stdbool.h> in the user-land
...
Suggested by <christos>
2015-07-30 21:38:53 +00:00
kamil
23bf431f92
Deduplicate stdbool.h definitions
...
Reviewed by <christos>
2015-07-30 21:31:15 +00:00
tsutsui
f2142f537b
Revert untested and unnecessary change in previous rev 1.36.
...
Our autobuild doesn't always reflect the latest fixes.
2015-07-30 15:29:52 +00:00
maxv
c0b150f033
Revamp PaX:
...
- don't confuse between ELF flags and proc flags. Introduce the proc-
specific P_PAX_ASLR, P_PAX_MPROTECT and P_PAX_GUARD flags.
- introduce pax_setup_elf_flags(), which takes as argument the PaX flag
of the ELF PaX note section, and which sets the proc flag as
appropriate. Also introduce a couple of other functions used for that
purpose.
- modify pax_aslr_active(), and all the other similar pieces of code, so
that it checks the proc flag directly, without extra ELF computation
In addition to making PaX clearer, the combination of these changes fixes
the following bug: if a non-PaX'ed process is launched, and then someone
sets security.pax.{aslr,mprotect,segvguard}.global=1, the process becomes
PaX'ed while its address space hasn't been randomized, which is not likely
to be a good idea.
Now, only the proc flag is checked at runtime, which means the process's
PaX status won't be altered during the execution.
Also:
- declare PAX_DPRINTF, makes it more readable
- fix a typo in exec_elf.h
2015-07-30 15:28:18 +00:00
jmcneill
9f711c8f1a
print "platform DMA" instead of "SDMA" when using external DMA engine
2015-07-30 15:03:14 +00:00
christos
02379201cd
Add VMSWAP
2015-07-30 10:26:14 +00:00
christos
6fc0455eae
include decls for _MODULE
2015-07-30 10:25:49 +00:00
maxv
70f013c0c3
Lock before calling uvm_swap_stats(). Otherwise a race condition could
...
corrupt memory.
2015-07-30 09:55:57 +00:00
ozaki-r
7a175f4063
Add tests for arp -a option
2015-07-30 08:41:18 +00:00
maxv
3478485fe5
Don't forget to unlock the LWP.
...
ok rmind@
2015-07-30 08:11:44 +00:00
ryo
7d0814f960
- setup iomux before attach console
...
- define EVBARM_BOARDTYPE in each config file
- add iomux settings for UART1
- add some iomux definitions
2015-07-30 08:09:36 +00:00
christos
77cb80f70e
add missing x11 selector
2015-07-30 07:56:13 +00:00
christos
7c7a7b43d2
add mulsi3, needed by inet_addr.o
2015-07-30 07:44:40 +00:00
skrll
6e61a7832e
Use IPL_VM for dwc2_intr and mark as MP safe where possible.
2015-07-30 07:32:40 +00:00
ozaki-r
3fd3aaa9ea
Fix TESTS_SH assignment
2015-07-30 05:43:42 +00:00
ryo
f0a9db033c
fix to compile unless defined IMXUARTCONSOLE
2015-07-30 04:39:42 +00:00
riastradh
06eea0f657
Add $NetBSD$ tag.
2015-07-30 04:36:48 +00:00
jnemeth
f59ebd632b
typo from Timo Buhrmester
2015-07-30 03:21:33 +00:00
macallan
8e272e6ce3
build EXA support
2015-07-30 02:58:00 +00:00
ozaki-r
0f1639b8cc
Add tests for IPv4 DAD
2015-07-30 02:52:53 +00:00
ozaki-r
b4bfe1a892
Add tests for GARP
2015-07-30 02:51:05 +00:00
ginsbach
b6db50f38d
Only apply am/pm adjustment to tm_hour when it has actually been parsed.
2015-07-29 20:32:54 +00:00
christos
6efe3a8e5c
fix debug sets after latest x changes.
2015-07-29 19:44:47 +00:00
christos
bedea1f2c3
add missing lint libraries
2015-07-29 19:44:01 +00:00
christos
d4dbab9987
fix name of the test
2015-07-29 19:18:18 +00:00
christos
3c96e852e2
Don't use NO_SYS_HEADERS because <sys/types.h> is not included when you
...
do that before the typedefs in /usr/xsrc/external/mit/xorg-server/dist/hw/\
xfree86/x86emu/x86emu/types.h, and then some source files include
<sys/types.h> leading to uint redefinitions.
2015-07-29 19:03:15 +00:00
christos
5af4616131
new lint test.
2015-07-29 18:27:18 +00:00
christos
862f3563b3
new test
2015-07-29 18:26:15 +00:00
christos
0bc60106c2
Make the return type of "? type1 : void *" or "? void * : type1" to be type1
...
instead of void *.
2015-07-29 18:23:32 +00:00
christos
38c355353a
Be more specific about the type errors
2015-07-29 18:22:06 +00:00
christos
29920b2c0d
From FreeBSD:
...
A remote attacker may effectively bypass MaxAuthTries settings, which would
enable them to brute force passwords. [CVE-2015-5600]
XXX: pullup-7
2015-07-29 15:04:40 +00:00
tsutsui
e2c773cb5b
Revert rev 1.359 which broke libsa builds. PR/50101
2015-07-29 14:35:04 +00:00