Age | Commit message (Collapse) | Author |
|
leaving us with a free type function that isn't atomic. deal with this
by erasing any reachable pointers to the vnode first, then free it.
ok deraadt guenther
|
|
fd to resolve against that isn't a directory
ok matthew@
|
|
|
|
.h files to pull it in, if needed
ok tedu
|
|
ok deraadt
|
|
msdos, NFS, fifos and devices, plus support for querying it in
getconf(2) and the requisite pathconf(2) manpage blurb
ok tedu@
|
|
ok deraadt guenther
|
|
_before_ vrele()'ing the old one, so that you can't catch the process
with a vnode with no references.
Similarly, in checkdirs(), just count the needed releases and do
them all at the end. (I think I saw this in FreeBSD.)
Original problem encountered by landry@ (yay for backtrace)
ok tedu@ deraadt@
|
|
_PC_PRIO_IO, and _PC_SYNC_IO names in VOP_PATHCONF(), as they're
fs-independent for us. Since we don't support latter three on any
fs, we can also define the related _POSIX_{ASYNC,PRIO,SYNC}_IO
symbols in <unistd.h> (via sys/unistd.h) with value -1.
Also, zap pointless tty-only values from procfs(!).
ok beck@, deraadt@
|
|
all in one place. Saves one additional #ifdef, no functional change.
OK mikeb@
|
|
ok beck deraadt after a style issue noticed by kettenis
|
|
ok deraadt
|
|
ok deraadt mpi
|
|
|
|
from hshoexer@; ok tedu@, "looks good" deraadt@
|
|
hide a few more pointery things.
ok deraadt
|
|
|
|
any kernel addresses information.
ok guenther
|
|
unsplice() the sockets before soidle() goes to splsoftnet. In this
case, unsplice() was called twice. So check wether splicing still
exists within the splsoftnet protection.
Uvm fault in sounsplice() reported by keith at scott-land dot net.
OK claudio@
|
|
|
|
ok deraadt
|
|
|
|
fully deprecate it (notably the go port was still using it as of 5.3)
so to give users a little more time to update, __tfork51 lives again.
okish deraadt guenther
|
|
kgmon(8) to deal with them, this time without public header changes.
Previously various CPUs were iterating over the same global buffer at
the same time to modify it and never ended.
This diff includes some ideas submited by Thor Simon to NetBSD via miod@.
ok deraadt@, mikeb@, haesbaert@
|
|
information about piglet memory layout. No functional changes.
|
|
block
ok deraadt@
|
|
|
|
ok deraadt@
|
|
in MI code; gcc 2.95 does not accept such annotation for function pointer
declarations, only function prototypes.
To be uncommented once gcc 2.95 bites the dust.
|
|
spliced and routed to loopback. The content of the pf header in
the mbuf was keeping the divert information on its way. Reinitialize
the whole packet header of the mbuf and remove the mbuf tags when
the packet gets spliced.
OK claudio@ markus@
|
|
at this moment.
|
|
various CPUs were iterating over the same global buffer at the same
time to modify it and never ended.
This diff includes some ideas submited by Thor Simon to NetBSD via miod@.
ok mikeb@, haesbaert@
|
|
all threads in a process instead of returning only the '%cpu' for
the main thread.
This makes top(1) display the correct percentage of CPU usage for
threaded processes when theads are not displayed.
ok sthen@, mikeb@
|
|
|
|
function pointer arguments which are {used as,} wrappers around the kernel
printf function.
No functional change.
|
|
up the VFS calls in the error paths in coredump()
Pointed out by armani@, ok beck@
|
|
ok markus claudio haesbaert henning
|
|
initialized. (In the case where it wasn't initialized, the computed
*retval ends up getting clobbered by the EINVAL error anyway so it's
not an info leak, but it's still technically undefined behavior.)
pointed out by Maxime Villard on tech
ok guenther
|
|
|
|
really have been called "maybemapped and hope it all works out". - use
buf_acquire_nomap instead which acounts for busymapped bufs correctly.
ok krw@ guenther@ kettenis@
|
|
we do not grow space like clist chains). Clamp it a bit more precisely,
ensuring a bit of space for kernel ^T handling and such. It was definately
wrong, and we can tune this if required later.
ok kettenis
|
|
the code relevant for UDP from sosend() and soreceive() into somove().
That allows the kernel to directly transfer the UDP data from one
socket to another.
OK claudio@
|
|
Discussed with mlarkin@.
|
|
IO to the disk, DVACT_RESUME the controller back to normal operation. That
allows us to do the full DVACT_POWERDOWN sequence afterwards.
ok mlarkin
|
|
the index type from int to short. Allows amd64 to hibernate with up to 64GB
phys memory
|
|
the MI hibernate code to handle 64 bit archs
|
|
to process owner and root
ok deraadt millert guenther
|
|
has been reached. This creates a read event on the spliced source
socket that can be noticed with select(2). So the kernel passes
control to the relay process immediately. This could be used to
log the end of an http request within a persistent connection.
deraadt@ reyk@ mikeb@ like the idea
|
|
as |= and &= are non-atomic operations. To avoid additional locks,
put the flags that have to be accessed from interrupt into a separate
sb_flagsintr 32 bit integer field. sb_flagsintr is protected by
splsoftnet.
Input from miod@ deraadt@; OK deraadt@
|
|
with kettenis guenther and beck.
ok guenther
|