| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
You've served us well, good friend, but now it's time to rest.
ok deraadt
|
| |
|
| |
|
|
|
|
| |
ok millert@ kettenis@
|
| |
|
|
|
|
|
|
| |
s/names are this level/names at this level/
from aalm@ - thanks
|
|
|
|
| |
from patrick keshishian
|
|
|
|
|
|
|
|
|
|
|
|
| |
sparc was like sparc64 (or more likely sparc64 was like sparc) in
that the spl api was build with macros that created inline functions
that the spl were implemented as. this rework provides an splraise
that the splfoo macros are defined to.
because the code sequences for spl0, splraise, and splx are relatively
long, ive turned them into functions.
tested by (and thanks go to) miod@ tobiasu@
|
|
|
|
|
|
|
|
|
| |
physical pages. Recent canges to uvm_map(9) mean that we now assume that
memory in interrupt safe maps is not pageable, and while we made sure all
mappings were backed by physical pages, a mapping allocated with
uvm_km_valloc(9) appears to pageable and triggered an assertion.
ok miod@
|
| |
|
|
|
|
|
|
| |
this is a step toward making ipls unconditionaly on pools.
ok deraadt@ kettenis@
|
|
|
|
| |
ok millert
|
|
|
|
|
|
|
|
|
| |
sigtramp page, so that it will generate a nice kernel fault if touched.
While here, move most of the sigtramps to the .rodata segment, because
they are not executed in the kernel.
Also some preparation for sliding the actual sigtramp forward (will need
some gdb changes)
ok mlarkin kettenis
|
|
|
|
| |
ok guenther kettenis
|
|
|
|
| |
OK deraadt@
|
|
|
|
|
|
|
|
| |
inside the sigcontext. sigreturn(2) checks syscall entry was from the
exact PC addr in the (per-process ASLR) sigtramp, verifies the cookie,
and clears it to prevent sigcontext reuse.
not yet tested on landisk, sparc, *88k, socppc.
ok kettenis
|
|
|
|
|
|
|
|
| |
ddb(4) can now see static functions. That doesn't mean we should start
declaring functions as ``static'', however it helps for the few existing
exceptions.
ok deraadt@, kettenis@
|
| |
|
| |
|
| |
|
|
|
|
| |
ok mpi@ claudio@
|
|
|
|
|
|
| |
all the local ones to ``nticks''.
ok stefan@, deraadt@
|
|
|
|
| |
Feedback millert@ kettenis@
|
|
|
|
| |
Started by diff from Mical Mazurek.
|
|
|
|
| |
Compile test and ok tobiasu@
|
| |
|
|
|
|
|
|
|
|
| |
The goal is to include it in the list of functions that must not be
instrumented. All ddb(8) functions should be in this list and have
their names start with 'db_'.
ok visa@, deraadt@
|
|
|
|
|
|
|
| |
While there truncate the tables to the minimum required size; chrtoblk()
and blktochr() are designed to handle a table shorter than cdevsw.
"Looks good to me" deraadt@
|
|
|
|
|
|
|
| |
of cpu_configure() and initclocks().
from Miod
no objection deraadt@
|
|
|
|
| |
ok tb@
|
|
|
|
| |
ok deraadt@
|
|
|
|
| |
ok deraadt@
|
|
|
|
|
|
|
| |
drivers still set IFF_NOTRAILERS while others do not. Remove all usage of
the flag from the drivers which in ancient times used it (and the modern
drivers which blindly copied it from those drivers of yore).
suggested by guenther. ok mpi
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
there are two things shared between the network stack and drivers
in the send path: the send queue and the IFF_OACTIVE flag. the send
queue is now protected by a mutex. this diff makes the oactive
functionality mpsafe too.
IFF_OACTIVE is part of if_flags. there are two problems with that.
firstly, if_flags is a short and we dont have any MI atomic operations
to manipulate a short. secondly, while we could make the IFF_OACTIVE
operates mpsafe, all changes to other flags would have to be made
safe at the same time, otherwise a read-modify-write cycle on their
updates could clobber the oactive change.
instead, this moves the oactive mark into struct ifqueue and provides
an API for changing it. there's ifq_set_oactive, ifq_clr_oactive,
and ifq_is_oactive. these are modelled on ifsq_set_oactive,
ifsq_clr_oactive, and ifsq_is_oactive in dragonflybsd.
this diff includes changes to all the drivers manipulating IFF_OACTIVE
to now use the ifsq_{set,clr_is}_oactive API too.
ok kettenis@ mpi@ jmatthew@ deraadt@
|
| |
|
| |
|
|
|
|
|
| |
and convert all gets() users.
ok deraadt@
|
|
|
|
|
| |
Now that "struct bpf_d" depends on <sys/srp.h> this is one of the offender
for removing the header from <sys/param.h>
|
|
|
|
| |
ok mpi@
|
|
|
|
| |
of <uvm/uvm_pmap.h>.
|
| |
|
|
|
|
|
|
|
| |
from cpu_fork() to child_return(), putting all the SYSCALL_G2RFLAG logic
in trap.c
sparc testing by sebastia@ and miod@
|
|
|
|
|
| |
sun4/4c/4e, increase NKMEMPAGES_MAX_DEFAULT to the same value as platforms
with limited, but not horribly limited, kva size.
|
|
|
|
| |
ok miod@
|
| |
|
|
|
|
| |
as well. OK dlg@ mpi@
|
|
|
|
| |
ok tedu@, deraadt@, miod@
|
|
|
|
|
| |
LABELOFFSET and MAXPARTITIONS. Easier on the eye when scanning
through all these files. No functional change.
|
|
|
|
|
|
|
| |
Some whitespace/comment tweaks, fix a memcpy() parameter, use the
sparc64 idiom when invoking [iso|udf]_disklabelspoof() functions.
ok deraadt@
|