Commit Graph

191348 Commits

Author SHA1 Message Date
skrll
8d20091e0c Fix CPU_INFO_FOREACH in previous. 2010-06-06 10:22:43 +00:00
skrll
e2b7df5a2a *** empty log message *** 2010-06-06 10:15:51 +00:00
skrll
2c2594876d Pullup across/adapt fix from OpenBSD:
Properly initialize the members of `struct mdproc' that deal with
single-stepping when we fork and reset them upon exec.
2010-06-06 09:12:39 +00:00
hannken
62bfdd2b21 Change layered file systems to always pass the locking VOP's down to the
leaf file system.  Remove now unused member v_vnlock from struct vnode.
Welcome to 5.99.30

Discussed on tech-kern.
2010-06-06 08:01:30 +00:00
skrll
1c518780b3 Follow the correct locking protocol when creating an LWP and the process
is stopping.

Problem found by running the gdb testsuite (gdb didn't have pthreads
support)

Thanks to rmind for help with this.
2010-06-06 07:46:17 +00:00
dholland
c2fc97579a Improve previous: there were two printfs and I'd only noticed and fixed
one of them. PR 43217.
2010-06-06 06:20:16 +00:00
dholland
6d96ac29cb Add missing backslash in macro definition in apparently-disused #if branch.
(has been this way since 2001)
From Henning Petersen in PR 42525.
2010-06-06 06:12:49 +00:00
dholland
9cfeb48d29 Add missing close-parenthesis; reported by Henning Petersen in PR 42526.
(HI CEGGER!)
2010-06-06 06:10:03 +00:00
mrg
99a1ab2be1 defflag GRF_COMPAT. 2010-06-06 04:52:17 +00:00
mrg
fb81c7d694 fix PR 6724 - convert m68k options to defflag's. this means that
M680[12346] are now available from opt_m68k_arch.h.  FPSP meantioned
in the PR has already been fixed, and i could not find any more.

i built these kernels to ensure i did not break their builds:

amiga: GENERIC DRACO
atari: HADES FALCON MILAN-PCIIDE
mac68k: GENERIC
sun2: GENERIC
sun3: GENERIC GENERIC3X
cesfic: attempted GENERIC, does not build due to lack of machine/bus.h
hp300: GENERIC
luna68k: GENERIC
mvme68k: GENERIC
news68k: GENERIC
next68k: GENERIC
x68k: GENERIC
2010-06-06 04:51:33 +00:00
dholland
319ed136d2 Document the changes in the previous version of this file. If we're
going to whitewash the test failures, we should at least keep track of
what the "real" correct behavior/output is. Especially since a large
portion of the tests in here were added specifically to illuminate
points at issue in prior discussions.
2010-06-06 04:51:13 +00:00
mrg
bd01b4a30e fix PR 6724 - convert m68k options to defflag's. this means that
M680[12346] are now available from opt_m68k_arch.h.  FPSP meantioned
in the PR has already been fixed, and i could not find any more.

i built these kernels to ensure i did not break their builds:

amiga: GENERIC DRACO
atari: HADES FALCON MILAN-PCIIDE
mac68k: GENERIC
sun2: GENERIC
sun3: GENERIC GENERIC3X
cesfic: attempted GENERIC, does not build due to lack of machine/bus.h
hp300: GENERIC
luna68k: GENERIC
mvme68k: GENERIC
news68k: GENERIC
next68k: GENERIC
x68k: GENERIC
2010-06-06 04:50:05 +00:00
mrg
1b9a8bbaba implement ddb help for sun2/sun3 commands. PR#38310 and PR#38308. 2010-06-06 03:34:14 +00:00
mrg
315bed49a4 note that sun2 has the same ddb mach commands as sun3/sun3x. part of PR#38310 2010-06-06 03:26:57 +00:00
mrg
4286a16a38 fix some errors in debug code, found by henning petersen in PR#42529. 2010-06-06 02:51:46 +00:00
sjg
fbb620d711 Add .export-env which tells make to export a variable to the environment
but not to track it - as is done for .export
This allows the variable to be updated without affecting what was put
into the environment.
Older versions of make will simply treat this as .export
2010-06-06 01:13:12 +00:00
wiz
90abead58e Fix typo in comment. 2010-06-06 00:00:33 +00:00
dholland
23beeb1a3b +t_sort 2010-06-05 22:39:18 +00:00
dholland
b324463ca0 Add a very basic test and some tests for the problem in PR 43358.
XXX: the sort tests in src/regress should be folded into this
2010-06-05 22:38:39 +00:00
jnemeth
c8bd5cbe3b The US formally left the Gold Standard in 1971, not 1933. See:
http://en.wikipedia.org/wiki/Nixon_Shock
2010-06-05 20:53:44 +00:00
dholland
fcf4d3f750 Rework previous change to fixit() to not trip on option arguments. (Noticed
by wiz.) Clarify the loop logic involved.
2010-06-05 17:46:08 +00:00
dholland
8696c1b71e fixit() needs to know the getopt options list to do its thing correctly. 2010-06-05 17:44:51 +00:00
jruoho
7b26e5d94f Remove also the debug-printf in case of long Stall() requests;
/*
	* sleep(9) isn't safe because AcpiOsStall may be called
	* with interrupt-disabled. (eg. by AcpiEnterSleepState)
	* we should watch out for long stall requests.
	*/

ACPICA has long printed a similar warning by itself. Moreover, this message
was never reached as the interpreter does not invoke AcpiOsStall() when a
delay longer than 255 usec is requested.
2010-06-05 16:57:48 +00:00
jruoho
3aca70d9a2 Remove the recently added warning about long Sleep() requests.
This is now in ACPICA (20100528):

	Added support to limit the maximum time for the ASL Sleep()
	operator. To prevent accidental deep sleeps, limit the maximum time
	that Sleep() will actually sleep. Configurable, the default maximum
	is two seconds. ACPICA bugzilla 854.
2010-06-05 16:47:49 +00:00
tnozaki
0ab294f640 remove unused magic. 2010-06-05 16:37:13 +00:00
jruoho
e42cf0f8ae Switch the third argument to the _DSW method from 3 to 0. This means that
devices should be placed in the D0 state ("fully on") after resume. We were
not prepared to handle the previous value as it implied that devices could
be placed in an arbitrary power state once in S0.

Minimal functional change, given that the _DSW is seldom seen in the field.
2010-06-05 15:47:59 +00:00
jruoho
1bfe5139f3 Complete the support for wakeup devices. As imposed by the standard, all
power resources should be turned on for wakeup devices. This follows common
sense: a device cannot wake if the power of it is turned off.

ok jmcneill@
2010-06-05 15:31:21 +00:00
lukem
f8daa4a728 In ftpvis(), prevent incomplete escape sequences at end of dst,
and ensure NUL-termination of dst.  Also tweak for readibility.
Fix from Uwe Stuehler and Stefan Sperling, via Marc Balmer.
2010-06-05 13:59:39 +00:00
jruoho
8e7819f753 Convert an aprint_error_dev() to ACPI_DEBUG_PRINT in acpi_power_set().
This "fixes" the issue observed by dyoung@. Since the AML may not keep any
state by itself, it is possible that the firmware tries to continuously put
a device into a power state where the device already is (e.g. D3 -> D3).

XXX: The code (like the old power resource code) rests on the assumption
     that it is possible to reliably obtain the power state of a device
     either directly via _PSC or indirectly via _STA. However, because there
     is some evidence that few broken systems implement these methods
     incorrectly (e.g. always returns D0 as a constant, even if the state
     would be D3 in reality), we may need to revisit this by always setting
     the power state, even if it is impossible to get the power state.
2010-06-05 07:59:13 +00:00
jruoho
1f4ce9efc5 Remove trailing white space. 2010-06-05 06:07:12 +00:00
dholland
2480682bb2 Avoid SIGSEGV on out-of-range time_t. 2010-06-05 03:24:01 +00:00
sjg
6d83722e40 PR: 39604
Reviewed by:

add_glob:
Do not stop scanning if we see '$' as it does more harm than good.
For $HOME/tm we should return $HOME/tm*
2010-06-05 03:02:37 +00:00
rmind
3c40b3a3ea kdtrace_{pro,thread}c_ctor: use kmem_zalloc(), instead of manual memset(). 2010-06-04 23:17:28 +00:00
rmind
189974619e proc_alloc: move kdtrace_proc_ctor() out of the proc_lock. 2010-06-04 23:02:18 +00:00
wiz
ee938d1113 New sentence, new line. Bump date for previous. 2010-06-04 21:53:36 +00:00
chs
56474d6551 fix some cosmetics. 2010-06-04 20:31:58 +00:00
joerg
3ace57c17b Add definitions for TOOL_MANDOC_* for standalone users. Requested by
dyoung.
2010-06-04 20:19:39 +00:00
dyoung
be53a6d9bb Collect garbage: sc_rbus_{iot,memt} are not used. 2010-06-04 19:27:12 +00:00
christos
520fd1e568 print human readable exit code. 2010-06-04 18:42:54 +00:00
christos
6583128e8d Add machine class manual paths. No manual pages have moved yet. 2010-06-04 18:42:32 +00:00
njoly
edf3b80fb4 Regen for pathconf/fpathconf rumpification. 2010-06-04 16:33:32 +00:00
njoly
fe0d8c08a5 Rumpify pathconf(2)/fpathconf(2)
ok from pooka@
2010-06-04 16:32:00 +00:00
jmmv
782d4e60b0 atf 0.9 includes a backwards incompatible change that requires rebuilding
the sh tests.  Add a note to tell users to clean up the old files, as
otherwise the rebuilds will not be triggered.
2010-06-04 15:11:31 +00:00
vanhu
a0bdaf1b16 Added support for spdupdate command in setkey 2010-06-04 13:06:03 +00:00
ghen
895e51c7dc A suggestion from veego to fix it (taken from ../../include/fontsproto). 2010-06-04 10:22:25 +00:00
skrll
6f1dcd61d0 Misc KNF. 2010-06-04 09:25:18 +00:00
roy
143f38ced3 Import dhcpcd-5.2.4 2010-06-04 09:10:53 +00:00
roy
e0a4f5bfed Import dhcpcd-5.2.4 with the following changes:
* Fix crash when using clientid and the interface re-configures
* log the pid of dhcpcd
* Indicate server IP received message from even if server ID not
  present
* Fix crashes on IPv4LL failure and add more logging
2010-06-04 09:07:59 +00:00
jmmv
8add2114ad Note import of atf 0.9. 2010-06-04 08:40:24 +00:00
jmmv
6b84fb92ac atf-0.9 introduces an use.fs test-case property to allow tests to write to
their work directory.  The purpose is to be able to know which tests intend
to touch the file system and to allow a minor optimization in atf-run.

Define use.fs=true for all those tests requiring it.  (This highlights that
some tests currently require modifying the file system but conceptually
they shouldn't be... which leaves room for further improvements/cleanups
later :-)
2010-06-04 08:39:40 +00:00