Commit Graph

206902 Commits

Author SHA1 Message Date
christos e09907eccd Off by one in allocation could cause buffer overflow (Kamil Dudka) 2011-11-18 20:24:21 +00:00
christos 9bee9dd870 remove unrecheable code (Kamil Dudka) 2011-11-18 20:22:03 +00:00
joerg 4e5324e222 Mark __cerror as hidden and exploit that to simplify assembler. 2011-11-18 20:21:41 +00:00
joerg 4219a5c627 Explicitly mark __cerror as hidden 2011-11-18 20:17:46 +00:00
christos fb060436c8 remove one more kassert 2011-11-18 17:36:06 +00:00
joerg 10dc456d4b Hook up TLS support on ARM. Tested by martin@, kernel support from matt@ 2011-11-18 16:10:02 +00:00
joerg 22f467edff Update LLVM/Clang snapshot to r144933. Besides the usual bugfixes and
improvements, this brings the first of the address sanity checker and
the new tainted variable logic for the analyzer.
2011-11-18 15:56:53 +00:00
christos d356aedea4 remove incorrect assertions (the len passed is the size of the bsd structure
not the linux one)
2011-11-18 15:45:47 +00:00
mrg 4aed1594e7 note bozohttpd 20111118 2011-11-18 10:06:56 +00:00
mrg 41f9e94281 merge bozohttpd 20111118 2011-11-18 09:51:31 +00:00
martin 590ed99f9d Provide linux_siginfo_t for all archs, to unbreak kdump build. 2011-11-18 09:17:09 +00:00
martin 3440754724 Release dtoa lock before returning, pointed out by enami. 2011-11-18 08:20:13 +00:00
cherry 92f0f13b6c [merging from cherry-xenmp]
- Make clock MP aware.
 - Bring in fixes that bouyer@ brought in via:
   cvs rdiff -u -r1.54.6.4 -r1.54.6.5 src/sys/arch/xen/xen/clock.c

Thanks to riz@ for testing on dom0
2011-11-18 06:01:50 +00:00
christos 6f5d4fe4a7 regen 2011-11-18 04:20:16 +00:00
christos b2707ef3eb unlock before returning on error, thanks enami. 2011-11-18 04:17:23 +00:00
christos afa4aab9de remove clauses 3 and 4 2011-11-18 04:15:41 +00:00
christos 1c5f86538f include the new siginfo.h file 2011-11-18 04:09:17 +00:00
christos 30d1f33e42 add sigtimedwait support 2011-11-18 04:08:56 +00:00
christos f72d02ff70 - add sigtimedwait support.
- merge the siginfo population code.
2011-11-18 04:07:43 +00:00
christos 4a806ef735 add sigtimedwait 2011-11-18 04:03:50 +00:00
christos d8bca0f24f add a copyin function for sigset so that we can use sigtimedwait1 from
emulations.
2011-11-18 03:34:13 +00:00
christos f0c33b337d PR/45627: Martin Husemann: Plug memory leak 2011-11-18 02:38:17 +00:00
joerg a331e936fb Add some dependencies 2011-11-18 01:32:33 +00:00
wiz 485ec0dce0 Fix a lint warning noted by njoly. 2011-11-17 23:46:32 +00:00
wiz c54b7cd091 Bump date for previous. 2011-11-17 23:19:30 +00:00
rmind 8bb9be4c9a kqueue_register: avoid calling fd_getfile() with filedesc_t::fd_lock held.
Fixes PR/45479 by KOGULE Ryo.
2011-11-17 22:41:55 +00:00
mrg d0ddf3e7e4 allow the -I option to be useful in non-daemon mode, by letting it force
the returned port number
2011-11-17 22:09:12 +00:00
riz 7f96142c73 Also match ICH8, ICH9 and ICH10 devices. Tested on ICH10. 2011-11-17 20:04:25 +00:00
joerg 3078de12ec Reorder to make GCC happy. 2011-11-17 16:39:11 +00:00
joerg 549f044e13 Use __dead 2011-11-17 16:20:47 +00:00
joerg cc2f98ece2 FreeBSD bug report 161344: TLS area for the main thread is set up to
early, if e.g. pointers to functions are used as initializers.
2011-11-17 16:20:11 +00:00
christos c79d6fa4e6 tidy up. 2011-11-17 16:04:07 +00:00
joerg 1f7b0e6f78 Don't return ENOSYS if nothing needs to be done for the CPU.
XXX Shouldn't this be a runtime test on the CPU?
2011-11-17 15:02:22 +00:00
vanhu 0a7daa593d fixed some crashes in LIST_FOREACH where current element could be removed during the loop 2011-11-17 14:41:55 +00:00
jakllsch ea1988b045 Fix last envsys2 conversion (1.10). From Tetsuya Isaki in PR#45622. 2011-11-17 13:47:27 +00:00
he 63085dd9cd Make the test for MKISCSI actually work by including bsd.own.mk and
testing the expanded variable, not just the variable name(!)  Fixes the
build for sun2.
2011-11-17 09:58:21 +00:00
mlelstv 341a625922 identifycpu() is not just cosmetic for the banner but initializes how FPU
contexts are saved.
Also drop code that checks for fputype before it is determined.
2011-11-17 07:45:53 +00:00
enami 6c9e68ac64 Replace section number with actual one as we did in see also list. 2011-11-17 02:41:55 +00:00
manu 124660b818 Copy node expiration date before comparing it, otherwise the comparison
does not work (no idea why) and cached node is never used.
2011-11-17 02:28:21 +00:00
christos c3b1b2f48c add kevent test 2011-11-17 01:22:30 +00:00
christos 27e01c2726 PR/45618: Motoyuki OHMORI: kqueue EVFILT_TIMER with smaller timeout value
makes DIAGNOSTIC kernel panic:
	KASSERT((c->c_flags & CALLOUT_PENDING) != 0);
If the computed ticks are <= 0 set it to 1
2011-11-17 01:19:37 +00:00
christos 3f01706e62 Add a test for PR/45618: Motoyuki OHMORI: kqueue EVFILT_TIMER with smaller
timeout value makes kernel busy or panic
2011-11-17 01:14:12 +00:00
wiz a71cec48de Remove trailing whitespace. Merge two EINVAL entries. 2011-11-16 22:43:27 +00:00
mrg fd03917f1a + 3218. [security] Cache lookup could return RRSIG data associated with
+                       nonexistent records, leading to an assertion
+                       failure. [RT #26590]

so that someone looking can tell more easily we've applied it.
2011-11-16 22:07:21 +00:00
christos 920a214f4e this works with much less memory too. 2011-11-16 18:37:31 +00:00
christos debcc396f0 add require.memory=500M 2011-11-16 17:47:19 +00:00
christos ee0f6a0fa2 PR/45619: jmmv: Allow atf tests to request a minimum amount of memory 2011-11-16 17:46:16 +00:00
christos 07c8bd2ff7 patch for: https://www.isc.org/software/bind/advisories/cve-2011-tbd 2011-11-16 17:28:10 +00:00
he 2f168eae0b Add the iscsi kernel module and directories for ibm4xx and booke variants.
Re-sort.
2011-11-16 17:26:24 +00:00
he ab92a0f12a Semicolons are not optional :) 2011-11-16 16:59:47 +00:00