| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This emulates APM device node interface APIs (mainly ioctl) and
provides APM services for the applications. The goal is to support
most of APM applications without any changes.
Implemented ioctls in this commit are:
- APMIO_SUSPEND (mapped ACPI S3 as default but changable by sysctl)
- APMIO_STANDBY (mapped ACPI S1 as default but changable by sysctl)
- APMIO_GETINFO and APMIO_GETINFO_OLD
- APMIO_GETPWSTATUS
With above, many APM applications which get batteries, ac-line
info. and transition the system into suspend/standby mode (such as
wmapm, xbatt) should work with ACPI enabled kernel (if ACPI works well :-)
Reviewed by: arch@, audit@ and some guys
|
|
|
|
|
|
| |
which do not match the reality anyway.
Approved by: deischen, bde
|
|\
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
: 2001-10-19 Ruslan Ermilov <ru@FreeBSD.org>
:
: * tmac/doc.tmac (doc-flag-recursion): Protect arguments against
: being handled as end-of-sentence characters,
This fixes ".Fl \&?". Previously, it produced an additional whitespace.
There were no precedents in FreeBSD manpages. That's why it was
Noticed by: Thomas Klausner <wiz@netbsd.org>
|
| |
| |
| |
| |
| | |
- Minor markup nits.
- Arrange for appearance in 4.5.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
globbing, rcmd(3) uses ${RSH}.
MFCs noted: sysinstall(8) can load KLDs at install-time.
Fix typo for isdnphone(8).
|
| |
| |
| |
| | |
#ifdef DDB block.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
to avoid most of the double character kernel goop we've been having by having
both a prom console && a normal console.
Was not able to test with graphics head. Hope this doesn't break anything.
Reviewed by: silence on alpha
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
which may or may not return something which is partially right.
Disable the "devices" file until we find out what this is needed for,
and what exactly those apps need.
This will allow cdevsw to become static again.
Approved by: DES
|
| |
| |
| |
| |
| |
| | |
- Bump document date.
- Remove hard sentence breaks.
- Fix markup.
|
| |
| |
| |
| | |
Fix some more typos.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Submitted by: Koga Youichirou <y-koga@jp.FreeBSD.org>
Obtained from: Debian
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
userland. The per thread ucred reference is immutable and thus needs no
locks to be read. However, until all the proc locking associated with
writes to p_ucred are completed, it is still not safe to use the per-thread
reference.
Tested on: x86 (SMP), alpha, sparc64
|
| | |
|
| |
| |
| |
| | |
from the "common" directory.
|
| |
| |
| |
| |
| |
| |
| |
| | |
queue, and a mutex to protect the global list of taskqueues. The only
visible change is that a TASK_DESTROY() macro has been added to mirror
the TASK_INIT() macro to destroy a task before it is free'd.
Submitted by: Andrew Reiter <awr@watson.org>
|
| |
| |
| |
| |
| |
| |
| |
| | |
splhigh() before the mtx_unlock and tsleep(). The splhigh() was probably
correct in the original code using simplelocks but is not correct in
5.0-current.
Noticed by: Andrew Reiter <awr@FreeBSD.org>
|
| |
| |
| |
| | |
Reviewed by: obrien
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
real effect.
Optimize vfs_msync(). Avoid having to continually drop and re-obtain
mutexes when scanning the vnode list. Improves looping case by 500%.
Optimize ffs_sync(). Avoid having to continually drop and re-obtain
mutexes when scanning the vnode list. This makes a couple of assumptions,
which I believe are ok, in regards to vnode stability when the mount list
mutex is held. Improves looping case by 500%.
(more optimization work is needed on top of these fixes)
MFC after: 1 week
|
| | |
|
| |
| |
| |
| | |
the recent vnode cleanup.
|
| |
| |
| |
| | |
Not sure about other dirs with the same damage (0755) by recent commit.
|
| |
| |
| |
| | |
active.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
sanity check after every directory modification. This check can be
re-enabled at any time by setting the sysctl "vfs.ufs.dirhash_docheck"
to 1.
This group of sanity tests was there to ensure that any UFS_DIRHASH
bugs could be caught by a panic before a potentially corrupted
directory block would be written to disk. It has served its main
purpose now, so disable it in the interest of performance.
MFC after: 1 week
|
| |
| |
| |
| |
| |
| |
| | |
or the cluster will not be properly merged. Dup the code from
cluster_wbuild() and add some printf()s to see if bad cases are present.
MFC after: 2 weeks
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
target devices, not just individual devices and directories. This
permits activities such as:
ttyv0 0600 /dev/dsp*
Whereas previously that was not supported. This change is
backwards-compatible, except where device names included globbing
characters, which is not the case for any devices listed in MAKEDEV.
Submitted by: Maxime Henrion <mux@qualys.com>
MFC after: 3 weeks
|
| |
| |
| |
| |
| |
| | |
abstraction.
Submitted by: Andrew Reiter <arr@watson.org>
|
| |
| |
| |
| | |
Submitted by: revamped kernincludes.sh
|
| |
| |
| |
| |
| |
| | |
new NFSCLIENT and NFSSERVER options.
Submitted by: revamped kernincludes.sh
|
| |
| |
| |
| | |
multiply, and replace it with a close equivalent. 1.488 =~ 1.5
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
to do it explicitly in nfsrv_noop so that the reply gets sent back
to the client. This fixes the generation of a selection of RPC
error replies (RPC_PROGMISMATCH, RPC_PROGUNAVAIL, RPC_PROCUNAVAIL
etc.) that are used by some clients to detect support for optional
protocols and features.
Reviewed by: peter
Reported by: Thomas Quinot <quinot@inf.enst.fr>
PR: kern/31479
|
| |
| |
| |
| | |
were off by one bit.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
value of !NUL rather than NUL.
Submitted by: luigi
Pointy hat to: jhb
|
| | |
|
| |
| |
| |
| |
| |
| | |
CROSSJUMPTARGET() for it.
Submitted by: bde
|
| |
| |
| |
| |
| |
| |
| | |
%ecx isn't a call safe register and thus we don't have to save and restore
it.
Submitted by: bde
|
| |
| |
| |
| |
| |
| |
| |
| | |
- Fix a bug in the LDT changes where the wrong argument was passed to
set_user_ldt() from cpu_switch(). The bug was passing a pointer to the
ldt, but set_user_ldt() takes a pointer to the process' mdproc structure.
Submitted by: bde
|
| |
| |
| |
| | |
Submitted by: bde (mostly)
|
| |
| |
| |
| | |
Submitted by: ru
|
| |
| |
| |
| |
| |
| | |
makes FreeBSD inconsistent with previous releases and "other unices" as well
as with some internal password-asking services (e.g. ftp) within the same
release.
|