Commit Graph

207955 Commits

Author SHA1 Message Date
jmcneill b2424d9a22 add support for elantech (v2) touchpads that report input pressure 2012-01-07 10:27:58 +00:00
mrg bf795abb8d - reorder the SUBDIR list to have correct .WAIT-based dependancies.
- fix the handling of subdir additional LIBDPLIBS so they're present
  when <bsd.lib.mk> is loaded.  fixes missing shlib links relative to
  what the normal package does.  (noted by wiz.)
2012-01-07 02:07:58 +00:00
christos acd0d5274c PR/45791: Nat Sloss: getnstr erase character weirdness
Fix processing of backspace erase char and char left.
2012-01-06 22:20:54 +00:00
skrll 10e01fe7ca s/aprint_verbose/aprint_debug/ 2012-01-06 22:14:04 +00:00
skrll 0b60181db2 Track if a page has an executable mapping and flush the icache (and
dcache) appropriately.

Fixes the lang/python26 build on my C3700 (PA8700) and chuq's J6700 with
PA8500.

Thanks to chuq for ideas and help with this.
2012-01-06 20:55:28 +00:00
riz 924cc21636 Don't use snprintf() to format, when run_program() will do it nicely on
its own.  Suggested by joerg.
2012-01-06 20:52:43 +00:00
reinoud 5c84446921 Split machdep.c into a MI part and a MD part. 2012-01-06 20:44:57 +00:00
riz 39a56bcacc Use getfslabelname() instead of trying to access fstypenames[] directly. 2012-01-06 20:41:28 +00:00
reinoud f4334c5283 Enhance debugging printfs to also report the functionname 2012-01-06 20:40:51 +00:00
reinoud a16d774cf6 printf()->thunk_printf() since its for debugging and should be printed outside
the kernel's printing system.
2012-01-06 20:39:42 +00:00
joerg 3a4dc84ff4 Don't use dangling elses. 2012-01-06 15:16:02 +00:00
cherry 44fb314fb7 Address those pesky DIAGNOSTIC messages. \n
Take a performance hit at fork() for not DTRT. \n
Note: Only applicable for kernels built with "options DIAGNOSTIC" \n
2012-01-06 15:15:27 +00:00
drochner 892b9bad57 split the ipsec.c source file into the pfkey part which is shared
with FAST_IPSEC and KAME specific IPSEC statistics
2012-01-06 14:21:16 +00:00
drochner 47a381e15e more IPSEC header cleanup: don't install unneeded headers to userland,
and remove some differences berween KAME and FAST_IPSEC
2012-01-06 14:17:10 +00:00
jmcneill bd08415c40 support disk images >= 2GB 2012-01-06 14:11:55 +00:00
drochner 86deb82572 kill ipsec support which hasn't been working for a long time
(neither for KAME nor for FAST_IPSEC)
2012-01-06 14:08:08 +00:00
drochner 2a0c9a37dc pull in from FreeBSD rev.1.41: Narrow the use of user credentials.
(call pam_get_authtok() with caller's rights rather than user's)
2012-01-06 14:04:02 +00:00
macallan 85f54afb13 Forgot to commit this along with r128fb.c. Again. 2012-01-06 13:59:50 +00:00
jmcneill a6b5cee522 i386 and x86_64 versions of this code are the same, rename to syscallemu_x86.c 2012-01-06 13:16:20 +00:00
reinoud ee9d19b7a5 Cleanup stack allocation and freeing. This means the memory leak on lwp
destruction ought to be solved.
2012-01-06 12:54:59 +00:00
reinoud 5f34326ed3 Bump pager map default size since KVM is not that tight anymore 2012-01-06 12:53:07 +00:00
skrll 1b54bd1886 Implement lazy binding on hppa. rump_server needs it!?!?!
Mostly from OpenBSD.
2012-01-06 10:38:56 +00:00
skrll 7da1bc7d44 Log the icache sync only if it's done. 2012-01-06 09:41:17 +00:00
skrll 36da247fe2 Comment fix. 2012-01-06 09:12:25 +00:00
skrll a308a2c3d2 No need to flush the icache/itlb for pool pages as they're never marked
executable.
2012-01-06 09:11:45 +00:00
skrll 5f229dee2b Flush the d-cache and i-cache to make sure the text area of the module
is dealt with properly.
2012-01-06 09:09:25 +00:00
skrll f29475a086 Wrap a long line. 2012-01-06 08:54:05 +00:00
skrll 619a565a82 Add a KASSERT. 2012-01-06 08:48:43 +00:00
skrll c00b3a100e More whitespace. 2012-01-06 08:38:11 +00:00
skrll 1fc41dd0ac Whitespace. hi perry. 2012-01-06 08:36:10 +00:00
skrll d5c28a2a4b Group the prototypes. 2012-01-06 08:33:26 +00:00
skrll e6cde8ed1f Simplify code a little. 2012-01-06 08:32:08 +00:00
skrll 853b477cb1 Style. 2012-01-06 08:03:16 +00:00
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