summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Always call vn_finished_write after vn_start_write was called. Allkan2004-03-061-2/+3
| | | | | occurences of 'goto done' after vn_start_write invocation were cleaning up incompletely.
* Cross-reference contigmalloc(9).jkoshy2004-03-061-0/+1
|
* A manual page for contigmalloc(9).jkoshy2004-03-061-0/+130
| | | | Reviewed by: ru
* Remove last evidence of a long-dead function.kientzle2004-03-062-18/+0
|
* Add ARCHIVE_EXTRACT_UNLINK option to permit clients tokientzle2004-03-063-0/+7
| | | | | control how archive_extract handles pre-existing files. (Not implemented yet, but documented.)
* Correctly read symlinks from cpio files.kientzle2004-03-061-1/+15
| | | | | | While I'm here, fix a bug in reading filenames from cpio files. (Copy should count the length of the name, not the number of bytes available for input.)
* When faced with a "GenuineIntel", we know what they call it now. Replacepeter2004-03-061-2/+2
| | | | snide comment with a different one.
* Add a missing part of jhb's previous commit. It looks like he had apeter2004-03-061-1/+5
| | | | | | | patch chunk rejected that he missed. This would manifest as a lock assertion panic at boot (Giant not locked in kern_fork.c). Obtained from: jhb
* Have these instructions tell users to 'sh installworld_newk' insteadgad2004-03-051-4/+4
| | | | | of './installworld_newk', because the scripts might not show up with the +x bit set.
* kthread_exit() no longer requires Giant, so don't force callers to acquirejhb2004-03-0510-10/+3
| | | | | | Giant just to call kthread_exit(). Requested by: many
* Lock Giant around the body of the adlink_loran() function used by thejhb2004-03-051-0/+2
| | | | adlink device kthreads.
* - Push down Giant in exit() and wait().jhb2004-03-052-26/+42
| | | | | | | | - Push Giant down a bit in coredump() and call coredump() with the proc lock already held rather than unlocking it only to turn around and relock it. Requested by: peter
* Lock Giant around the single threading code in exec() to satisfy anjhb2004-03-051-0/+3
| | | | assertion in the single threading code.
* - Grab a share lock of the proctree lock while looking for a pid due to thejhb2004-03-051-13/+25
| | | | | | | | process group and session dereferences. Also, check that p_pgrp and p_sesssion are NULL before dereferencing them. - Push down Giant in fork1(). Requested by: peter
* Add warning about loading/unloading drivers and identifyimp2004-03-051-0/+7
|
* Undo the merger of mlock()/vslock and munlock()/vsunlock() and thetruckman2004-03-054-53/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | introduction of kern_mlock() and kern_munlock() in src/sys/kern/kern_sysctl.c 1.150 src/sys/vm/vm_extern.h 1.69 src/sys/vm/vm_glue.c 1.190 src/sys/vm/vm_mmap.c 1.179 because different resource limits are appropriate for transient and "permanent" page wiring requests. Retain the kern_mlock() and kern_munlock() API in the revived vslock() and vsunlock() functions. Combine the best parts of each of the original sets of implementations with further code cleanup. Make the mclock() and vslock() implementations as similar as possible. Retain the RLIMIT_MEMLOCK check in mlock(). Move the most strigent test, which can return EAGAIN, last so that requests that have no hope of ever being satisfied will not be retried unnecessarily. Disable the test that can return EAGAIN in the vslock() implementation because it will cause the sysctl code to wedge. Tested by: Cy Schubert <Cy.Schubert AT komquats.com>
* Teach dd(1) about parity bits.phk2004-03-059-21/+157
|
* Add a test-target and reference vectors for the character converions.phk2004-03-0511-0/+194
|
* The roundrobin callout from sched_4bsd is MPSAFE, so set up therwatson2004-03-051-1/+1
| | | | | | callout as MPSAFE to avoid grabbing Giant. Reviewed by: jhb
* Reword two more lines to avoid wrapping.gad2004-03-051-2/+2
|
* Document a sysctl.njl2004-03-051-1/+2
| | | | Submitted by: Craig Rodrigues <rodrigc@crodrigues.org>
* A user can set tz_requested via the hw.acpi.thermal.tzX.active sysctl.njl2004-03-051-1/+1
| | | | | | | | | The previous logic meant that if a user sets it to a minimal cooling value acpi_thermal will not use higher cooling levels. Reverse the logic so that the user requesting a level (say, 2) also gets 0 - 1 also. PR: kern/61592 Submitted by: Andrew Thompson <andy@fud.org.nz>
* Put "failed to set signal flags properly for ast()" check underrwatson2004-03-051-1/+1
| | | | | | | | | | DIAGNOSTIC instead of INVARIANTS. INVARIANTS is intended for tests that don't substantially change code flow or behavior (passive), but this test required locking both the proc lock and scheduler lock in order to execute. It also appears to be a very advisory diagnostic as opposed to an invariant violation. Following discussion with: bde
* This interface doesn't return any values.ru2004-03-051-4/+0
| | | | Submitted by: Mark Santcroos
* Removed definition of NOPROG. It was just a style bug (a NetBSD macrobde2004-03-051-2/+0
| | | | | | that became obsolete in NetBSD 22 months ago). Submitted by: ru
* Back out attempt to bypass contrib's getopt.h on the way,ache2004-03-053-8/+2
| | | | | it makes cross-build fail. Prefer invisible incorrect -current build to visible failure.
* Fixed indentation of conditionals.bde2004-03-051-5/+5
| | | | Submitted by: Rostislav Krasny <rosti_bsd@yahoo.com>
* Fixed insertion sort errors in prototype list.bde2004-03-051-20/+20
|
* Removed garbage:bde2004-03-051-14/+0
| | | | | | | | | - completely unused things - all of rev.1.102 (C++ support). <sys/cdefs.h> is included by the prerequisite <sys/types.h>. __BEGIN_DECLS/__END_DECLS has no effect (except possibly if undefined behaviour is invoked using a hack like defining away __inline) since this header doesn't really support any extern functions.
* MFi386: (all: keep a comment in sync with code, and don't depend onbde2004-03-051-0/+4
| | | | namespace pollution).
* Include <machine/psl.h> for the definition of PSL_I instead of dependingbde2004-03-051-0/+2
| | | | on namespace pollution in <machine/cpufunc.h>.
* Use ascii null char ('\0') instead of NULL.nyan2004-03-051-2/+2
| | | | Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
* Fix syntax errors and wrong function prototypes in several MD headerle2004-03-058-18/+18
| | | | | | | | files when using non-GNUC compilers. PR: kern/58515 Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at> Approved by: grog (mentor), obrien
* One tab too much.pjd2004-03-051-1/+1
|
* Teach 'hostname' script how to act inside a jail.pjd2004-03-051-4/+12
| | | | No objections from: mtm, arch@
* remove superfluous space before end of backtick expressionrse2004-03-051-1/+1
|
* fix reference to sysctl variable: machdep.an_cache_mode -> hw.an.an_cache_moderse2004-03-051-1/+1
|
* Bump __FreeBSD_version for the NULL == ((void *)0)markm2004-03-051-1/+1
| | | | Requested by: kkenn
* Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror)markm2004-03-0522-32/+34
| | | | | | | | | | | | | | | that this provokes. "Wherever possible" means "In the kernel OR NOT C++" (implying C). There are places where (void *) pointers are not valid, such as for function pointers, but in the special case of (void *)0, agreement settles on it being OK. Most of the fixes were NULL where an integer zero was needed; many of the fixes were NULL where ascii <nul> ('\0') was needed, and a few were just "other". Tested on: i386 sparc64
* Document that ENABLE_ALART controls the alarm on Intel intpm driver.obrien2004-03-052-9/+4
| | | | Submitted by: peter
* When this script included NetBSD specific logic, the NetBSD branchmtm2004-03-051-11/+0
| | | | | | | | | | included a start_precmd check for gated. The precommand was not executed in the FreeBSD branch. When I did a mass removal of NetBSD specific logic a while back this file apparently got only a partial treatement. This bug did not have any functional consequences, however, since the precommand was not declared to the rc.subr routines. Noticed by: pjd
* VESA* is a mistake - it cannot exist due to requiring a 32 bit kernel forobrien2004-03-051-3/+0
| | | | | | BIOS calls and/or VM86. Submitted by: peter
* The syslogd script should require that /var is cleaned before it runs.mtm2004-03-051-1/+1
| | | | | | | Otherwise it could be in the situation where its log socket is removed after it has started. Noticed by: jhay
* Sync with i386/NOTES.obrien2004-03-051-4/+4
|
* Add comment for 'mptable'.obrien2004-03-051-3/+2
| | | | Submitted by: peter
* Remove scripts we don't use from requirement lines. These weremtm2004-03-0511-11/+11
| | | | hold-overs from the initial NetBSD import.
* Note that imp is working on un-shimming this driver, afterwards it shouldobrien2004-03-051-2/+2
| | | | work on AMD64.
* Removed include of bsd.own.mk. It was just a style bug (half-bakedbde2004-03-051-2/+0
| | | | chumminess with the implementation).
* The PECOFF support is 32-bit only.obrien2004-03-051-4/+0
| | | | Reviewed by: peter
* In the last revision, I introduced a physical contiguity check that is bothalc2004-03-051-3/+1
| | | | | | | | | | unnecessary and wrong. While it is necessary to verify that the page is still free after dropping and reacquiring the free page queue lock, the physical contiguity of the page can not change, making this check unnecessary. This check was wrong in that it could cause an out-of-bounds array access. Tested by: rwatson
OpenPOWER on IntegriCloud