summaryrefslogtreecommitdiff
path: root/sys/compat/common/compat_util.c
AgeCommit message (Collapse)Author
2004-08-01proper check for the end of stackgap on growinupperstacksMichael Shalayeff
2002-07-20Instead of copying out the signal trampoline on top of the stack, createArtur Grabowski
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@
2000-10-16- Fix for some linux apps that broke with recent changes; from NetBSDjasoni
2000-09-07Add bounds checking to stackgap_alloc and return NULL if space cant beEric Jackson
given. Make emul_find() check for this situation as well. Changes based partly on FreeBSD and NetBSD changes. aaron@ ok
2000-07-27some cleanup and add the emul_flags_translate from netbsd to translateEric Jackson
flags. deraadt@ OK
1996-12-08-Wcast-qual happinessNiklas Hallqvist
1996-04-18Merge of NetBSD 960317Niklas Hallqvist
1995-12-14update from netbsdTheo de Raadt
1995-10-26update to netbsdTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt