Age | Commit message (Collapse) | Author |
|
|
|
vfork() has only one semantic: "parent stalls until child does execve
or exit" and no other semantic. it is unfair to act as if pthread
vfork() suddenly lacks that semantic.
ok kurt millert kettenis beck
|
|
least document /etc/ptmp;
while i'm at it, might as well tidy it up and make it consistent across
these pages;
|
|
|
|
both static and non-static mutexs.
|
|
armish and zaurus
quote >9 args to .Nd
|
|
OK millert@
|
|
sure to only use 'record.source' instead of possibly 'inputs.source'.
|
|
bump minor version
ok deanna@
|
|
Therefore added math.h to SYNPOSIS.
OK millert@
|
|
When closelog() was modified to clear log_tag it inadvertantly made
syslog_r() (which calls closelog_r at the end) clear log_tag as well.
OK miod@ dhartmei@
|
|
ok ray@ gilles@
|
|
ok ray@
|
|
a single OSS ioctl, return the return value and errno from from
AUDIO_SETINFO if there was an error, since it's more informative
than the return value and errno from AUDIO_GETINFO. also, don't
bail if AUDIO_SETINFO fails, because OSS ioctls should return the
current value of the parameter they are setting, even if there was
an error.
- avoid a possible (though highly unlikely) divide by zero in
SNDCTL_DSP_GET[IO]SPACE.
ok ratchov@
|
|
|
|
- escape "No" incase groff thinks it's a macro call
|
|
diff from chl@. OK otto@ and chl@.
|
|
|
|
"suggest parentheses around && within ||"
ok millert@
|
|
backgrounded. Do not print the password prompt in this case since
the first read will result in the process receiving SIGTTIN.
Fixes an issue where the password prompt would be displayed when
readpassphrase() would not be able to read anything. OK deraadt@
|
|
ok miod
|
|
|
|
|
|
feedback and ok espie@
|
|
arguments from the stack, since the kernel will now copyin() them when
necessary.
This makes all system calls (but mmap()) slightly faster.
WARNING! After this commit, your binaries must run against a kernel
featuring m88k/m88k/trap.c r1.34 or better - i.e. a 4.1 or later kernel.
|
|
FreeBSD did this in revision 1.20.
OK deraadt@, krw@
|
|
|
|
|
|
activate it in the build.
|
|
pmap.h now includes pte.h.
|
|
tested by deraadt@ on a gcc2 arch
looks ok ray@ ok deraadt@
|
|
while there, put all function prototypes in header file.
ok kurt@
|
|
|
|
use a simpler way to allocated memory in allocset, mostly done by
replacing malloc/realloc dance, by only one realloc
add comments about variables that are not used uninitialized, even
if gcc told the contrary
another malloc/realloc -> realloc change
Work initially started by otto@, and then I joined him
ok otto@ ray@
|
|
SSL_get_shared_ciphers() with strlcat(3).
ok deraadt@ markus@
|
|
- Move the functionality of choosing a process from cpu_switch into
a much simpler function: cpu_switchto. Instead of having the locore
code walk the run queues, let the MI code choose the process we
want to run and only implement the context switching itself in MD
code.
- Let MD context switching run without worrying about spls or locks.
- Instead of having the idle loop implemented with special contexts
in MD code, implement one idle proc for each cpu. make the idle
loop MI with MD hooks.
- Change the proc lists from the old style vax queues to TAILQs.
- Change the sleep queue from vax queues to TAILQs. This makes
wakeup() go from O(n^2) to O(n)
there will be some MD fallout, but it will be fixed shortly.
There's also a few cleanups to be done after this.
deraadt@, kettenis@ ok
|
|
ok jmc@
|
|
OK millert
|
|
instead of AUDIO_GETINFO
- make SNDCTL_DSP_GETISPACE return correct values by using AUDIO_GETRRINFO
instead of AUDIO_GETINFO
- remove calls to setblocksize() from SNDCTL_DSP_GET[IO]SPACE. changing
the blocksize inside play or record loops, where these ioctls are most
often used, can have serious negative consequences. the blocksize
should be "fixed" to a power of 2 before these ioctls are called by
using SNDCTL_DSP_SETFRAGMENT or SNDCTL_DSP_GETBLKSIZE.
heavily tested by myself. no negative feedback from anyone else.
ok ratchov
|
|
|
|
remove the recursive lock in __seekdir() and ensure all callers properly
lock dd_lock prior to calling. reported and tested by bernd@
okay marc@ tedu@
|
|
SNDCTL_DSP_SETTRIGGER is used to pause and unpause recording and
playback data transfers. SNDCTL_DSP_GETTRIGGER returns the paused
states.
this implementation of SNDCTL_DSP_SETTRIGGER also sets the audio(4)
mode (AUMODE_[PLAY|RECORD]), depending on which direction (play, record
or both) is to be triggered.
this can be used allow OSS audio programs to work in full-duplex
mode without changing the audio(4) layer itself. according to
OSS docs, SNDCTL_DSP_SETTRIGGER is a fairly important ioctl, and
should be used "when even the first read() cannot block."
tested to not break any ports currently using SNDCTL_DSP_SETTRIGGER
which has been a no-op for quite some time.
ok ratchov
|
|
From OpenSSL_0_9_8-stable branch.
ok djm@
|
|
assign values to struct members directly
remove now-unused variable
ok otto@
ok & input millert@
|
|
|
|
From: Pierre Riteau <pierre.riteau@free.fr>
|
|
ok ray@
|
|
ok millert
|
|
|
|
variable TMPDIR or the argument `dir' is an empty string.
With and ok millert@ ray@
|