Commit Graph

208072 Commits

Author SHA1 Message Date
skrll
0ed9b731f5 Make pmap_check_alias static 2012-01-06 07:59:07 +00:00
christos
c9ef664a0f we want the label name not the fstype name. 2012-01-05 22:18:36 +00:00
macallan
e7e44ea620 turns out we can feed some radeons faster than they can process image uploads,
so make periodic stops to let the fifo drain a bit
now this works on my Blade 2500 with a 32MB XVR-100
2012-01-05 21:40:03 +00:00
christos
c4873f6cd0 eliminate logging variable from md code. 2012-01-05 21:32:35 +00:00
christos
4ea9182c55 eliminate useless booleans and use the file pointers as conditionals. 2012-01-05 21:29:24 +00:00
christos
c03a5a1e01 - add printflike and fix the broken formats
- make sure we don't exceed the number of partitions we have
2012-01-05 21:22:49 +00:00
christos
947502beba kill unused variable 2012-01-05 20:22:33 +00:00
christos
00d7813e05 use getfstypename from libutil. 2012-01-05 20:21:35 +00:00
christos
ede9eac481 - avoid dereferencing junk if fstype is out of bounds.
- kill mountnames since it is not used.
2012-01-05 19:43:59 +00:00
drochner
4352041ede also pull in patches for older security problems (secadv_20110906.txt):
-rev.21358 for CRL verification vulnerability in OpenSSL (CVE-2011-3207)
-rev.21336 for TLS ephemeral ECDH crashes in OpenSSL (CVE-2011-3210)
2012-01-05 18:59:51 +00:00
jym
9fc3eceb8b Comment fix. 2012-01-05 18:11:50 +00:00
drochner
716cca6308 pull in some patches from upstream CVS, following secadv_20120104.txt:
-rev.21964 for DTLS Plaintext Recovery Attack (CVE-2011-4108)
-rev.21961 for Uninitialized SSL 3.0 Padding (CVE-2011-4576)
-rev.21456+21954 for Malformed RFC 3779 Data Can Cause Assertion Failures
 (CVE-2011-4577)
 (rev.21456 is not mentioned in the advisory, but there is code overlap)
-rev.21958 for SGC Restart DoS Attack (CVE-2011-4619)
-rev.21956 for Invalid GOST parameters DoS Attack (CVE-2012-0027)
2012-01-05 17:32:02 +00:00
reinoud
cceff1dc43 Remove unused variable i accidently left standing 2012-01-05 17:26:57 +00:00
reinoud
f3a83bd0cb Oops, forgot to revert this patch too... thanks Greg for finding it :-/ 2012-01-05 17:18:02 +00:00
perseant
4ab567960c Correct fragment extension calculation in pass6, to avoid putting
negative block counts on inodes during roll-forward.
2012-01-05 16:18:00 +00:00
reinoud
5bd510aeaa Revert MAP_NOSYSCALLS patch. 2012-01-05 15:19:52 +00:00
jmcneill
d7f6b3d11f Add 'syscallemu' module, required by usermode kernel.
This module registers a syscall that takes a user_start and user_end address.
When a process calls SYS_syscallemu, the start and end address are recorded
and the syscall installs a filter on p->p_md.md_syscall. The filter then
uses the specified start and end addresses to determine where the syscall
should be routed (either host by calling the original md_syscall function,
or process by posting SIGILL).
2012-01-05 13:26:51 +00:00
jmcneill
0cfa3a8fb1 Get rid of MAP_NOSYSCALLS usage; now this relies on a separate kmod that
you can get here: http://www.netbsd.org/~jmcneill/syscallemu.tar
2012-01-05 12:12:58 +00:00
yamt
41610fe7ba move the most of description to an appropriate section, HISTORY. 2012-01-05 07:05:59 +00:00
ast
2fe5d8d678 Add ast@ to the list of NetBSD developers. 2012-01-05 05:48:27 +00:00
macallan
5eec1b0f55 support anti-aliased fonts in 8 bit, generate an appropriate colour map 2012-01-04 20:18:28 +00:00
macallan
d0517cd235 rasops8 expects the colour value replicated in every byte in devcmap[], so
fix that for r3g3b2
2012-01-04 20:17:05 +00:00
macallan
f692d005a8 add support for anti-aliased fonts in r3g3b2 2012-01-04 20:16:20 +00:00
drochner
a438c2d1f9 -make digital mode work in non-interactive mode (init sighandler
earlier, sleep(3) until playing finished)
-also switch to digital mode if an audio device is given on the
 cmd line, or the (new) "CDPLAY_DIGITAL" env var is set

(The latter can be used to make digital mode default per system.
As I see it, analog mode is not dead yet - two of three external
DVD drives I looked at have a speaker output.)
2012-01-04 17:26:21 +00:00
drochner
5923e578df kill unnecessary srandom() call which crept in in rev. 1.33 2012-01-04 17:07:20 +00:00
macallan
1e50f31f65 use CHAR_IN_FONT() and WSFONT_GLYPH() macros 2012-01-04 17:01:52 +00:00
mhitch
2c13773a38 Add logical drive device ld - a number of raid controllers provide these.
Also fix a typo/pasto when checking devices against devices/types in the
configuration file:  use value from configuration, not the end of the
device_info table.  Devices which aren't explicitly specified in the
device_info table can now be used by adding a type entry in the config
file.
2012-01-04 16:37:45 +00:00
yamt
6bf2b99b3b update the status of yamt-pagecache branch. 2012-01-04 16:36:49 +00:00
wiz
8d8e2b7310 Bump date for previous. 2012-01-04 16:30:50 +00:00
yamt
9753d46d1c install tprof related commands and man pages. 2012-01-04 16:25:13 +00:00
reinoud
582879d39a Enhance the page_deactivate() to have less side effects. While here also make
a variable local to the debug routine that uses it.
2012-01-04 16:20:41 +00:00
yamt
1f34562751 SEE ALSO and CAVEATS 2012-01-04 16:18:11 +00:00
drochner
8fd6dadaf8 include <netipsec/ipsec.h> rather than <netinet6/ipsec.h> from userland
where possible, for consistency and compatibility to FreeBSD
(exception: KAME specific statistics gathering in netstat(1) and systat(1))
2012-01-04 16:09:40 +00:00
haad
62688f9115 Fix wrong KASSERT, reported by mhitch@. 2012-01-04 16:05:53 +00:00
christos
eb8f42a53b Add siginfo support from Daniel Loffgren. 2012-01-04 15:58:37 +00:00
macallan
2d0a8b25c8 use WSFONT_GLYPH() 2012-01-04 15:56:18 +00:00
drochner
3712f81ced -consistently use "char *" for the compiled policy buffer in the
ipsec_*_policy() functions, as it was documented and used by clients
-remove "ipsec_policy_t" which was undocumented and only present
 in the KAME version of the ipsec.h header
-misc cleanup of historical artefacts, and to remove unnecessary
 differences between KAME ans FAST_IPSEC
2012-01-04 15:55:35 +00:00
yamt
f40ab0e98f install fincore. 2012-01-04 15:54:37 +00:00
macallan
dd77d71244 add WSFONT_GLYPH() to get a pointer to a given glyph in a given font 2012-01-04 15:53:49 +00:00
yamt
db1f5cf7f2 add a missing comma. 2012-01-04 15:48:54 +00:00
reinoud
f7656de71f No reason why to have a larger pagefault stackframe for lwp0 2012-01-04 15:18:57 +00:00
reinoud
3a3d6c42df Zero the memory we claim for the stacks 2012-01-04 15:14:57 +00:00
reinoud
cbdd12d472 don't try to unmap pv entries with munmap() that are / were already unmapped 2012-01-04 15:10:45 +00:00
jmcneill
e51725528c implement cngetc and cnpollc 2012-01-04 14:53:57 +00:00
apb
0f20d9487a Instead of calling clockctl_ioctl directly, lookup the cdevsw and
call its d_ioctl function.  This should fix an undefined reference to
`clockctlioctl' when you build a kernel that has COMPAT_50 but does not
have pseudo-device clockctl.
2012-01-04 14:31:17 +00:00
reinoud
6192921cd1 Revert HZ to 100 what it was 2012-01-04 14:09:48 +00:00
jmcneill
411b87b501 add options NTP & pseudo-device clockctl 2012-01-04 14:04:12 +00:00
apb
989df4c71f Provide a COMPAT_50 version of the CLOCKCTL_NTP_ADJTIME ioctl.
When time_t was changed from 32 to 64 bits, this ioctl's number
was changed from _IOWR('C', 0x4, struct clockctl_ntp_adjtime)
to _IOWR('C', 0x8, struct clockctl_ntp_adjtime), but the data
structure did not change, so all the compat code has to do is
change the number and try again.
2012-01-04 13:45:55 +00:00
apb
7904ca964d When processing ioctl CLOCKCTL_NTP_ADJTIME, set the return value from
ntp_timestatus instead of leaving it uninitialised, and don't use
copyout(9) because args->retval is in kernel space, not user space.

Previously, running ntpd(8) in unprivileged mode would call
libc ntp_adjtime(), which would open /dev/clockctl and call
ioctl(CLOCKCTL_NTP_ADJTIME), which would fail with EFAULT.
2012-01-04 13:40:53 +00:00
reinoud
544f0c24da Add extra debugging info for the vncfb code 2012-01-04 13:31:30 +00:00