summaryrefslogtreecommitdiffstats
path: root/sys/compat/svr4
diff options
context:
space:
mode:
authordchagin <dchagin@FreeBSD.org>2011-03-08 19:01:45 +0000
committerdchagin <dchagin@FreeBSD.org>2011-03-08 19:01:45 +0000
commit69b8756d3d58aa14dd376399c31b04fe4d1336aa (patch)
treed6e13e3ff30eec0b300ebcb3875ada50ab585a4a /sys/compat/svr4
parenta223afb5ea4cde968f6d0db88c9f5990de7f743d (diff)
downloadFreeBSD-src-69b8756d3d58aa14dd376399c31b04fe4d1336aa.zip
FreeBSD-src-69b8756d3d58aa14dd376399c31b04fe4d1336aa.tar.gz
Extend struct sysvec with new method sv_schedtail, which is used for an
explicit process at fork trampoline path instead of eventhadler(schedtail) invocation for each child process. Remove eventhandler(schedtail) code and change linux ABI to use newly added sysvec method. While here replace explicit comparing of module sysentvec structure with the newly created process sysentvec to detect the linux ABI. Discussed with: kib MFC after: 2 Week
Diffstat (limited to 'sys/compat/svr4')
-rw-r--r--sys/compat/svr4/svr4_sysvec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/compat/svr4/svr4_sysvec.c b/sys/compat/svr4/svr4_sysvec.c
index b6ff153..561a838 100644
--- a/sys/compat/svr4/svr4_sysvec.c
+++ b/sys/compat/svr4/svr4_sysvec.c
@@ -195,6 +195,7 @@ struct sysentvec svr4_sysvec = {
.sv_set_syscall_retval = cpu_set_syscall_retval,
.sv_fetch_syscall_args = cpu_fetch_syscall_args,
.sv_syscallnames = NULL,
+ .sv_schedtail = NULL,
};
const char svr4_emul_path[] = "/compat/svr4";
OpenPOWER on IntegriCloud