| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
occurences of 'goto done' after vn_start_write invocation were cleaning
up incompletely.
|
| |
|
|
|
|
| |
Reviewed by: ru
|
| |
|
|
|
|
|
| |
control how archive_extract handles pre-existing files.
(Not implemented yet, but documented.)
|
|
|
|
|
|
| |
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.)
|
|
|
|
| |
snide comment with a different one.
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
of './installworld_newk', because the scripts might not show up with
the +x bit set.
|
|
|
|
|
|
| |
Giant just to call kthread_exit().
Requested by: many
|
|
|
|
| |
adlink device kthreads.
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
assertion in the single threading code.
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
| |
|
|
|
|
|
|
| |
callout as MPSAFE to avoid grabbing Giant.
Reviewed by: jhb
|
| |
|
|
|
|
| |
Submitted by: Craig Rodrigues <rodrigc@crodrigues.org>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Submitted by: Mark Santcroos
|
|
|
|
|
|
| |
that became obsolete in NetBSD 22 months ago).
Submitted by: ru
|
|
|
|
|
| |
it makes cross-build fail.
Prefer invisible incorrect -current build to visible failure.
|
|
|
|
| |
Submitted by: Rostislav Krasny <rosti_bsd@yahoo.com>
|
| |
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
| |
namespace pollution).
|
|
|
|
| |
on namespace pollution in <machine/cpufunc.h>.
|
|
|
|
| |
Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
|
|
|
|
|
|
|
|
| |
files when using non-GNUC compilers.
PR: kern/58515
Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
Approved by: grog (mentor), obrien
|
| |
|
|
|
|
| |
No objections from: mtm, arch@
|
| |
|
| |
|
|
|
|
| |
Requested by: kkenn
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Submitted by: peter
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
BIOS calls and/or VM86.
Submitted by: peter
|
|
|
|
|
|
|
| |
Otherwise it could be in the situation where its log socket is removed
after it has started.
Noticed by: jhay
|
| |
|
|
|
|
| |
Submitted by: peter
|
|
|
|
| |
hold-overs from the initial NetBSD import.
|
|
|
|
| |
work on AMD64.
|
|
|
|
| |
chumminess with the implementation).
|
|
|
|
| |
Reviewed by: peter
|
|
|
|
|
|
|
|
|
|
| |
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
|