diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2002-07-20 19:24:58 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2002-07-20 19:24:58 +0000 |
commit | e4a211bbec694bd8f760b505efa05e164a04da1b (patch) | |
tree | b37670277517419a042dee847a6f840ac7430b7f /sys/netinet | |
parent | 09b17f5dab5c4c6d73c813f334ed5cb1d9c679aa (diff) |
Instead of copying out the signal trampoline on top of the stack, create
an uvm aobj, copy out the signal trampoline into it and share that page
among all processes for the same emulation.
This also requires us to actually be able to tell signal code where the
trampoline is located, so introduce a new field in struct proc - p_sigcode
that is a pointer to sigcode. This allows us to remove all the ugly
calculations of the signal trampoline address done in every sendsig
function in the tree (that's why so many files are changed).
Tested by various people. ok deraadt@
Diffstat (limited to 'sys/netinet')
0 files changed, 0 insertions, 0 deletions