Commit Graph

206869 Commits

Author SHA1 Message Date
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
tnozaki 0556aba958 use ARG_CHAR_T instead of CHAR_T for integer promotion. 2011-11-16 14:24:43 +00:00
he bbb6028387 Make sure "struct clockframe" is declared before declaring a
parameter as a pointer to that struct; fixes build problem for
getfstypename.c as part of libkern.
2011-11-16 12:40:53 +00:00
macallan aebeacfef7 only require the power button to be pressed twice on keyboards where it's easy
to hit by accident, send an event to sysmon immediately otherwise
2011-11-16 06:56:49 +00:00
dyoung d74f0a643d Before freeing an ifnet_lock, destroy its mutex. Should help with
kern/43294.
2011-11-16 06:09:37 +00:00
manu 98c38e3ee8 Correctly pass the advlock owner id from kernel to filesystem, instead of
using process PID.

Allow the usage of the read filehandle for advlock, in order to support
shared locks on read-only files
2011-11-16 04:52:40 +00:00
christos 872b7bf4a3 easier with an int for now. 2011-11-16 01:45:10 +00:00
christos 749960097c Since Width() is used only for display purposes we don't want to pass -1 for
unprintable characters.
2011-11-15 23:54:14 +00:00
jdc 39bd26a295 Switch alpha to gdb 7. 2011-11-15 22:55:28 +00:00
christos 8cc2344a47 mention RLIMIT_RSS is borked. 2011-11-15 22:45:26 +00:00
njoly 588634a938 +iscsictl.debug +iscsid.debug 2011-11-15 22:02:19 +00:00
wiz 3efedf2ce7 Bump date for new tls option. 2011-11-15 19:15:58 +00:00
matt 4cd43d4441 Make sure to advance past the instruction we just emulated. 2011-11-15 19:01:54 +00:00
riz 262c7a9290 Build and install new in-kernel iscsi initiator kernel module and associated
binaries (iscsid, iscsictl) if MKISCSI != no.  Initiator can also be built
into a kernel by adding 'pseudo-device iscsi' in kernel configuration.
2011-11-15 16:50:43 +00:00
njoly 1a2bbb9e17 Fix pipe2 return value. 2011-11-15 14:13:17 +00:00
tteras c7d190f034 From Vincent Bernat <bernat@luffy.cx>: TLS support for LDAP 2011-11-15 13:51:23 +00:00
tsutsui bebd4e17d1 Use now common fpu_probe() and print FPU type per probe result since
it turns out that server and high-end LUNA models actually have MC68882,
not MC68881 as basic and standard models:
http://www.h2.dion.ne.jp/~dogs/collect/ds/luna.html

Also put LUNA model names into cpu_model[] for sysctl(3).
(maybe we don't have to consider sysctl backward compatibility on this port ;-)
2011-11-15 13:25:44 +00:00
tsutsui 556c80110c Merge copy-and-pasted fpu_probe() function (to share it among more m68k ports).
Tested on TT030, Sun3/80, and X68030.
2011-11-15 12:23:21 +00:00
tsutsui e179a96fd3 Move spread getsfc() and getdfc() functions into common m68k/support.s.
Note:
- ENTRY_NOPROFILE() is okay since they are used only for debug printf
- they are declared to return int so no need to put a return value into %a0
2011-11-15 10:57:00 +00:00
jruoho f7eabaaeb3 Add comment. 2011-11-15 07:43:37 +00:00
jruoho c7e2f672b4 Add support for AMD family 12h. Also revert revision 1.67, as it implies
maintenance burden for limited value. XXX: Need to add family 15h too.
2011-11-15 07:20:30 +00:00
jym 0cbbdfa92d pool_cache_sethiwat(9), pool_cache_setlowat(9), pool_cache_sethardlimit(9) 2011-11-15 00:50:55 +00:00
jym 13558246e2 Document pool_cache_sethardlimit(9), the faithful friend of
pool_sethardlimit(9).
2011-11-15 00:32:34 +00:00
jym 1e8ad6eb02 pool_sethardlimit.9 => pool.9 2011-11-15 00:19:42 +00:00
christos ac2d876c25 Use getdiskinfo() to print the name of the device; the previous code
constructed the wrong name if it was a wedge.
2011-11-14 21:34:50 +00:00
christos c7e2fd913b remove c3 and c4 2011-11-14 20:47:33 +00:00
christos d8c88883a4 add t_evaltested 2011-11-14 20:25:15 +00:00
christos c4bb320175 Add a test for PR/45613 (eval failing in a tested context) 2011-11-14 20:23:29 +00:00
hannken 7c028d0f99 VOP_ABORTOP() has no specific lock requirements so there is no need
to force locked vnodes here.  It should be impossible to come here
with a nil upper node.

Relock the directory vnode after copyup.  A locked union node with an
unlocked upper vnode can no longer exist so make FIXUP() an assertion.
2011-11-14 18:42:57 +00:00
hannken 3e29235de5 Remove a needless vnode lock/unlock dance. This is a leftover from the
removal of VOP_LEASE().

Function union_removed_upper() always works on unlocked upper vnodes so
remove the test-and-unlock and add an assertion.
2011-11-14 18:38:13 +00:00
hannken d84a65dd80 VOP_OPEN() needs a locked vnode. All these copy-and-pasted xxxfs_mount()
implementations need more review.
2011-11-14 18:35:12 +00:00
christos 1847bab548 PR/45613: Aleksey Cheusov: /bin/sh: 'set -e' + 'if eval false' problem
Fixed from: http://www.freebsd.org/cgi/query-pr.cgi?pr=134881&cat=
2011-11-14 18:24:45 +00:00
christos 28bb169a57 compile into nothing if _STANDALONE 2011-11-14 16:21:44 +00:00
hannken 14767c9d30 Bring back sys/disklabel.h for DISKUNIT and DISKPART. 2011-11-14 16:04:29 +00:00