| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
ok ratchov@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the ioff argument to pool_init() is unused and has been for many
years, so this replaces it with an ipl argument. because the ipl
will be set on init we no longer need pool_setipl.
most of these changes have been done with coccinelle using the spatch
below. cocci sucks at formatting code though, so i fixed that by hand.
the manpage and subr_pool.c bits i did myself.
ok tedu@ jmatthew@
@ipl@
expression pp;
expression ipl;
expression s, a, o, f, m, p;
@@
-pool_init(pp, s, a, o, f, m, p);
-pool_setipl(pp, ipl);
+pool_init(pp, s, a, ipl, f, m, p);
|
|
|
|
| |
ok natano@
|
| |
|
|
|
|
| |
marker for which pools are not interrupt safe. ok dlg
|
| |
|
|
|
|
| |
after discussions with beck deraadt kettenis.
|
|
|
|
|
|
| |
pr->ps_mainproc->p_pid to get the PID.
ok matthew@
|
| |
|
|
|
|
|
|
|
| |
Found and diagnosed by Alexis Fouilhe hyjial at gmail dot com
input miod@ guenther@
ok guenther@
|
|
|
|
|
|
| |
uiomove() will do the right thing in that case.
"This fix is right" kettenis@
|
|
|
|
|
| |
from Brad Tilley <brad at 16systems dot com>;
ok oga@
|
|
|
|
|
|
|
|
|
|
| |
No longer allocate a static amount of memory for messages in MD
boot path; message queues, message metadata, and message data now
all use dynamic memory, which means that runtime sysctls should now
be trivial to implement.
Since I'm going to be around all week to fix any breakage, this should
probably just go in now.
|
|
|
|
|
|
|
| |
to return pids, not thread ids, so record the former when performing
operations.
ok blambert
|
|
|
|
| |
miod@ ok.
|
| |
|
|
|
|
|
| |
etc to avoid confusion and for consistency with the *35 ones.
Remove *n2o functions that don't belong outside of compat.
|
|
|
|
|
|
|
| |
which also takes two function pointers for copyin/copyout. For the
real syscalls these are just the normal copyin/copyout functions.
For the compat routines, these are funtions that convert between
the new and old foo_ds structs automagically. OK deraadt@
|
|
|
|
|
|
|
|
| |
things such that code that only need a second-resolution uptime or wall
time, and used to get that from time.tv_secs or mono_time.tv_secs now get
this from separate time_t globals time_second and time_uptime.
ok art@ niklas@ nordin@
|
|
|
|
| |
takes a void *. convert uiomove to take a void * as well. ok deraadt@
|
|
|
|
|
|
|
| |
o Add a DPRINTF macro instead of using debugging #ifdefs all over the place
o KNF says to use "return (foo)" not "return(foo)"
o #define EIDRM and ENOMSG at the top instead of using #ifdefs to work
around the fact that we don't have them later on.
|
|
|
|
| |
negative message queue id; Vladimir B.Grebenschikov
|
| |
|
|
|
|
|
| |
Move the actual variables into their respective .c files.
As a bonus, remove semmap which is not used.
|
| |
|
|
|
|
| |
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|