Commit Graph

108623 Commits

Author SHA1 Message Date
jdolecek 1b76f8f55f One more ServerWorks host bridge, seen on Dell PowerEdge server
fix provided in PR port-i386/20333 by Sverre Froyen
2003-02-14 14:26:51 +00:00
pk d2b7e43b18 On pipe reads, check for EOF before FNONBLOCK to avoid spurious EAGAIN errors. 2003-02-14 13:16:44 +00:00
tshiozak e077f7a7d9 - add acpi_acquire_global_lock()/acpi_release_global_lock()/
acpi_is_global_locked() functions.
  AcpiGlobalLock() API should be used to acquire lock between BIOS and OS.
  This API cannot be used to lock between threads of the OS side,
  because this function immediately returns if the lock is already acquired
  by the OS.  c.f. AcpiEvAcquireGlobalLock()@evmisc.c

- make sure that acpiec driver uses above functions.

- use ACPI_ALLOCATE_BUFFER instead of twice calls of AcpiEvaluateObject(),
  in acpi_eval_string()/acpi_eval_struct().
  Twice AcpiEvaluateObject() calls may cause twice side effects
  to ACPI machine / hardware and this may be wrong in some cases.
2003-02-14 11:05:39 +00:00
dsl 71d53fb2ed Use find_stopped_child() and proc_free() in compat wait() code to
avoid code duplication.
(approved by christos)
2003-02-14 10:19:14 +00:00
dsl db17a870e0 Split sys_wait4 so that code isn't duplicated in compat tree.
(approved by christos)
2003-02-14 10:11:56 +00:00
wiz cd2db110c5 Add IDIST variable to avoid having to duplicate paths. 2003-02-14 08:25:36 +00:00
gmcgarry 136892b8b8 Handle 64-bit daddr_t. 2003-02-14 06:55:17 +00:00
tshiozak 4e7944a9b0 use IPL_SCHED instead of IPL_HIGH to establish interrupt for ACPI;
Calling wakeup() from a intr handler established with IPL_HIGH may causes
run/sleep queue to confuse because SCHED_LOCK() uses splsched().
2003-02-14 05:38:39 +00:00
matt 5bcfb63de7 Add PSL_PM 2003-02-14 04:45:32 +00:00
petrov 2bb9ea7350 strcmp needs string.h. 2003-02-14 04:03:27 +00:00
itohy 850cd09532 - Change __cpu_simple_lock_t from int to unsigned char.
This makes simple lock work on big-endian platforms.
- Assembly-level optimization of __cpu_simple_lock_try().

OK'd by Gregory McGarry.  Closes PR port-sh3/20311.
2003-02-14 03:02:41 +00:00
perry 3f573e45ce Instead of spinning, __asm __volatile("hlt"). 2003-02-14 01:11:21 +00:00
perry 996ded7b6d Note that cngetc returns 0 if there is no console input device. 2003-02-14 01:05:22 +00:00
grant d2af5da2ad use pas-as-tar to extract sets rather than pax-as-pax, and pass
-e arg to abort after first error.

This means the extract process doesn't spew seemingly-endless
"No space left on device" if the destination partition fills.
2003-02-14 00:17:56 +00:00
jmc e13c2b4818 Not all ports/archs have pthread support. So split this up by the proper arch's
for determining which ones get the libraries. Tested on dreamcast, macppc
and i386 builds to cover non builds, ad and md mods
2003-02-13 23:57:51 +00:00
jmc f59ffcc923 After pax-as-tar conversion the -O option no longer exists nor is a
substitute available (boo..hiss..). Fix the extraction to deal with this.
2003-02-13 23:55:12 +00:00
jmc 2915e46cec INSTALL kernel is named netbsd.INSTALL.gz on 1.6 2003-02-13 23:54:07 +00:00
jmc 1ed82b5b2c Add a synonym for trace - 'bt' and document it 2003-02-13 23:50:33 +00:00
ross ff410ba8d2 If no keyboard is attached, implement RB_HALT with a spin. kern/10481 2003-02-13 21:34:03 +00:00
jrf 1a7a1a2569 Note: Original change approved by Enami.
Accidentally left eval = 1 when I was adding the extension which caused the rm command to return a 1 when it successfully removed a directory. Thanks to tron for catching it.
2003-02-13 19:51:10 +00:00
matt 8268fcff94 Use register 8, not 0, when construct OF_buffer address. 2003-02-13 15:02:49 +00:00
jdolecek 481fdf60df for WEAKSM list, use leading tab, rather than spaces on the continuation lines 2003-02-13 14:29:04 +00:00
kanaoka f304176e6c acpica update. 2003-02-13 14:26:08 +00:00
kanaoka 47b9a825ab Resolve conflict from acpica-unix-20030123. 2003-02-13 14:16:13 +00:00
kanaoka 34d90725e0 Import INTEL 20030123 release. 2003-02-13 13:51:55 +00:00
kanaoka 86e5527901 Import INTEL 20030123 release. 2003-02-13 13:41:53 +00:00
pk b377c6693a Preserve the current PHY select bit in the MIF configuration register
in mii_readreg()/mii_writereg(). Also restore this bit based on the
currently selected media instance every time we need to reinitialise
the interface.
2003-02-13 12:10:20 +00:00
tron 726769ad02 Improve kqueue(2) utilization:
- Don't invoke kevent(2) for every single event change. Instead collect
  event changes and try to do them in the event loop.
- Handle signals via kevent(2) to avoid race conditions for SIGHUP (which
  probably exist in the select(2) based implementation, too).
2003-02-13 11:47:27 +00:00
pk d6b6eb78e4 Move the PV list header into the VM page vm_page_md structure.
Also, start using a spin lock to protect PV list operations.
2003-02-13 09:53:20 +00:00
wiz 8a9c4c8e13 texinfo-4.5 update. 2003-02-13 09:03:07 +00:00
wiz e759cc834f Update for 4.5. 2003-02-13 09:01:13 +00:00
wiz 38b57061a5 Merge 4.5. 2003-02-13 08:57:26 +00:00
wiz 6285cf0f68 Import of texinfo-4.5.
Major changes since 4.3:
* Language:
  . The ' (ASCII apostrophe/right quote) character is finally allowed in
    node and anchor names.  Thus, after installing this texinfo.tex,
    existing .aux files will cause errors!  Remove them and rerun TeX to
    generate good ones.
  . @value constructs are now expanded in the filename arguments to
    @include and @verbatiminclude.
* texinfo.tex:
  . @smallexample and the like now output in a smaller font (9pt) in all
    paper formats, not just @smallbook and @afourpaper.
  . new translation txi-tr.tex.
* info:
  . CTRL-H is treated like DEL in incremental search.
  . arrow keys once again work in isearch contexts under Solaris.
* infokey:
  . use .info key bindings before defaults.
  . allow prefix keys to be disabled.
Bug fixes all around.
2003-02-13 08:50:20 +00:00
dsl c22a42ecd8 Avoid displaying "intr" for all interrupt counter titles
(approved by christos)
2003-02-13 08:09:33 +00:00
wiz c69d8efd42 grep-2.5.1 update. 2003-02-13 08:09:02 +00:00
wiz 20c9c0d579 Note grep-2.5.1 update; remove me from am-utils. 2003-02-13 08:07:39 +00:00
wiz fd87da38ec Removed by grep2netbsd script (do we want them in regress?). 2003-02-13 08:04:16 +00:00
wiz 5ae0afcbb2 Make diff to 2.5.1 smaller. 2003-02-13 08:01:46 +00:00
wiz 657e871433 Update for grep-2.5.1. 2003-02-13 07:55:08 +00:00
wiz 7f2c625432 regen 2003-02-13 07:49:08 +00:00
wiz 8e9c96bbc4 Merge changes from 2.5.1 import. 2003-02-13 07:48:11 +00:00
wiz 930075e3a9 Import of grep-2.5.1 (bugfix release). 2003-02-13 07:43:07 +00:00
atatat 52abe48888 Note the addition of the kern.dump_on_panic sysctl setting. 2003-02-13 05:48:25 +00:00
nathanw 817925442c Add pthread_atfork() man page. 2003-02-13 03:00:51 +00:00
nathanw 4fb740b8de Implement pthread_atfork() (in libc, because the required threadlib
stub behavior is exactly the same as the usual behavior).
2003-02-13 02:50:48 +00:00
jhawk b0775cf0b9 New flags in security.conf(5) to control check_mtree and check_passwd in
/etc/security.
2003-02-13 02:43:16 +00:00
jhawk a296dc308f Document check_mtree_follow_symlinks. 2003-02-13 02:42:37 +00:00
jhawk 687107d3c0 Under check_mtree, invoke mtree with -L if check_mtree_follow_symlinks is set.
Apparently mtree -L is imperfect, but it is far better than the lack thereof
if symlinks are involved reaching files mtree verifies.
2003-02-13 02:42:06 +00:00
jhawk e6eebcadf1 Document check_passwd_nowarn_shells, check_passwd_nowarn_users, and
check_passwd_permit_star; really the HISTORY section is kind of long in
the tooth.
2003-02-13 02:12:07 +00:00
jhawk 1a4c8c0295 Add some flexibility to /etc/security, by way of security.conf options:
check_passwd_nowarn_shells	Don't warn about these non-/etc/shells shells
  check_passwd_nowarn_users	Don't warn about these users
  check_passwd_permit_star	Don't warn about "*" in the $2 field
Behavior change: check_passwd_nowarn_shells defaults to /sbin/nologin and
  /usr/libexec/uucp/uucico, so that it will not warn about the default
  master.passwd.
The rationale here is that an administrator who chooses to permit these
  warnable conditions should not be warned about them day after day, yet
  should not be forced to disable check_passwd entirely.
check_passwd_permit_star is primarily of interest to sites who use *'d
  entries for Kerberos or ssh logins, despite the fact that we permit
  "*ssh" (etc.) for this purpose (legacy).
2003-02-13 01:55:10 +00:00