Commit Graph

194014 Commits

Author SHA1 Message Date
tsutsui b01b8bd3fb Disable PAX_ASLR on sh3 as well. exec_elf32 module doesn't work with it
at least on dreamcast.
2010-10-13 14:15:23 +00:00
tsutsui 6b1a1449bc Prepare empty module_init_md() for options MODULAR.
It just works on dreamcast even with root on gdrom environment.
2010-10-13 14:13:32 +00:00
pooka 936f8998cf Use actual buffer size instead of sizeof(char *). Makes the test
work on non-64bit platforms.
2010-10-13 11:19:28 +00:00
pooka aeada54307 Don't reorder page on the age queue if the lookup is done by the
pagedaemon.  This mimics normal kernel behaviour where pmap_kentered
mappings are not tracked for references.  Without this change the
vnode pager's clustering could cause one page to be released by
the pagedaemon, and the rest of the pages in the pageout cluster
made unlikely candidates to be released soon.
2010-10-13 11:01:04 +00:00
tsutsui d6b38309ca Include std.sh3 to pull options CPU_IN_CKSUM. Noted by Ryo SHIMIZU. 2010-10-13 10:56:56 +00:00
pooka 6dec45da47 fix -DDEBUG 2010-10-13 10:31:00 +00:00
martin d524fd1707 Memcpy into local variable to ensure proper alignement.
Fixes PR port-sparc64/43965.
2010-10-13 09:19:40 +00:00
gsutre aade584ee2 Mention acpivga(4). 2010-10-12 23:30:47 +00:00
gsutre 81b0c07811 Add acpivga(4). 2010-10-12 23:01:55 +00:00
wiz 8a0067feb7 Sort sections, use serial comma. 2010-10-12 21:49:08 +00:00
gsutre e28e04ce32 Merge ACPI display driver. Provides generic support for brightness
control and output switching, through ACPI video extensions.

TODO: use wsconsctl(8) instead of sysctl(8) for brightness control.

ok jruoho@
also discussed with cegger@ and jmcneill@
2010-10-12 19:10:49 +00:00
macallan d199f85d70 fix off-by-one error which happened when the first mode with matching size is
also the best match by refresh rate
2010-10-12 16:18:19 +00:00
macallan 598ca8db3e make higher resolutions than 1024x768 work 2010-10-12 16:00:21 +00:00
christos f207e61c08 replace `` with $(). Hopefully with enough examples around people will
forget about ``.
2010-10-12 12:57:51 +00:00
christos e6dabc3c76 PR/43961: YAMAMOTO Takashi: uninitialized variable in termcap.c
Remove dead code.
2010-10-12 12:49:27 +00:00
pooka 04832f614a Don't attach as pseudo device here. This driver does attach in modcmd. 2010-10-12 09:14:43 +00:00
skrll 1a2905d635 Don't include opt_multiprocessor.h - it is not needed. 2010-10-12 06:39:48 +00:00
jakllsch 2571582bb0 Correct another off-by-one-bit error. This time for Erratum 97. 2010-10-12 00:39:08 +00:00
christos 6188013961 use "RZ()" instead of ATF_CHECK(), since ATF_CHECK does not deal with errno.
This is repulsive, specially the part about hard-coding the h_macros.h file
in the c code.
2010-10-11 15:48:57 +00:00
plunky b6cf5bddb1 some extra information about "page timeout" option 2010-10-11 15:37:55 +00:00
plunky 2cf0f09d1d add a reference in the SEE ALSO section to "The NetBSD Guide" for
detailed examples of device configuration
2010-10-11 15:30:57 +00:00
christos 99101ab637 don't use err(), from pooka.
CV: ----------------------------------------------------------------------
2010-10-11 15:16:01 +00:00
plunky 2b7d599723 manpage improvements 2010-10-11 15:15:57 +00:00
vanhu fe1c6ea2f2 report a higher encryption key length in approval for OBEY / CLAIM / STRICT modes 2010-10-11 14:16:30 +00:00
njoly ba1533a242 Update macppc list for MKX11+MKDEBUG builds. 2010-10-11 13:58:10 +00:00
manu f4f951a0c1 Remove code supporting SOCK_STREAM, as SOCK_DGRAM works fine 2010-10-11 05:37:58 +00:00
manu f782f0a9e3 FUSE filesystems' readlink returns a resolved link with a NUL trailing
character, and PUFFS do not want it. This fixes this bug, that returned
stat the informations for x instead of reporting ENOENT:
mkdir x && ln x z && stat -x z/whatever/you/want
2010-10-11 01:52:05 +00:00
manu 160a586559 Interm hack raising buffers for /dev/fuse socket used in the filesystem.
This works around read(2) system callsfailing with ENOBUFS.

This is a hack bedause there is no way to know that 4 * FUSE_BUFSIZE
will be enough to hold queued FUSE frames. It seems good enough at
mine.
2010-10-11 01:12:25 +00:00
manu 5b646d774b - fix access control: pcn->pcn_cred is not user credentials
- Keep track of file generation
- remove size tracking in pnd_size, we have it in pn_va.va_size
2010-10-11 01:08:26 +00:00
christos 45bdf1678c restore binary compatibility for pre-2.0 binaries, requested by skrll and core. 2010-10-10 21:27:16 +00:00
christos d0d0f54f24 restore binary compatibility for amd64; requested by joerg. 2010-10-10 21:24:34 +00:00
rmind e2137dd128 npf_packet_handler: clear M_CANFASTFWD flag, so inspection would work when
fast forwarding is enabled (e.g. with GATEWAY kernel option).  Thanks matt@
for the tip.
2010-10-10 15:29:01 +00:00
tsutsui 5668b16a99 Disable USE_PAM on ports which have legacy non-XFree86 servers.
With this change, xinit(1) can properly quit Xserver after
xinitrc script exits.

Tested on dreamcast (-current) and hpcmips (netbsd-5).
2010-10-10 07:03:28 +00:00
kiyohara e9e3825df9 Add strtc(ST M41T80 Real-Time Clock). 2010-10-10 05:19:35 +00:00
kiyohara f96f01c382 Add options STRTC_NO_USERRAM and STRTC_NO_WATCHDOG for m41t80. 2010-10-10 05:17:44 +00:00
kiyohara fc53f5307a Add timeout for wait.
Not send STOP, if received ACK.
2010-10-10 04:49:48 +00:00
phx e5dc6216e2 Missing \n after printing device type. 2010-10-09 19:46:15 +00:00
haad 2b4880da46 In rome do as romans do. If I will get EEXIST from devsw_attach don't exit and
continue. This unbreaks usage of libdm in RUMP.
2010-10-09 12:56:06 +00:00
wiz 1318c0e8c4 Bump date for SIGINFO. 2010-10-09 07:40:58 +00:00
yamt b8e1de358f update 2010-10-09 05:24:55 +00:00
mrg 3b4fa1d52f add SIGINFO support; from freebsd:
when a SIGINFO is delivered, display the approximate remaining seconds.
2010-10-09 04:57:30 +00:00
kiyohara 171c49e42c Add more explanation to XXXX. It value from Marvell LSP. 2010-10-08 11:20:22 +00:00
gsutre 646cb7e223 Store sysctl MIBs instead of a pointer to the root of the sysctl
sub-tree (because the pointer may be invalid at the time we use it).

ok jruoho@
2010-10-08 07:04:31 +00:00
macallan 895c84f438 use WSDISPLAYIO_PARAM_BACKLIGHT as a switch and WSDISPLAYIO_PARAM_BRIGHTNESS
for backlight level instead of following radeonfb
TODO: adapt radeonfb and powerd scripts
2010-10-07 20:39:54 +00:00
hans 9fb47a8218 Enable Pchip and Cchip error interrupts (machine checks) on DEC 6600
systems. Add some basic pretty-printing for those errors. Tested on
a DS20.
2010-10-07 19:55:02 +00:00
hans 64984f4101 fix SGMAP_DEBUG on alpha 2010-10-07 19:39:30 +00:00
kiyohara 8cd794a74b Fix build failure. s/const static/static const/. 2010-10-07 16:26:37 +00:00
roy ad56e82b2d Import dhcpcd-5.2.8 2010-10-07 14:41:02 +00:00
roy 2b71ad63d1 Sync 2010-10-07 14:38:10 +00:00
roy ada0026e42 Import dhcpcd-5.2.8 with the following changes from 5.2.4
* Use dynamically sized buffers for reading kernel link events
* Use the active link address
* Added option to dump a lease to stdout
* TEST mode now works correctly if an old lease is NAKed
* routes with the gateway = leased ip are now treated as host routes
2010-10-07 14:35:56 +00:00