diff options
| author | jdolecek <jdolecek@NetBSD.org> | 2001-09-18 19:36:32 +0000 |
|---|---|---|
| committer | jdolecek <jdolecek@NetBSD.org> | 2001-09-18 19:36:32 +0000 |
| commit | ef8abe0767caa50d4da87a2f8b8ccb6bcc17f917 (patch) | |
| tree | 5131e0f78c37d9d9b65c18bf5b4b73a79864c5c8 /sys/compat/linux | |
| parent | 2c07dd9842f85654cbfc65538a25d2360ca536fd (diff) | |
Make the setregs hook emulation-specific, rather than executable
format specific.
Struct emul has a e_setregs hook back, which points to emulation-specific
setregs function. es_setregs of struct execsw now only points to
optional executable-specific setup function (this is only used for
ECOFF).
Diffstat (limited to 'sys/compat/linux')
| -rw-r--r-- | sys/compat/linux/common/linux_exec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/compat/linux/common/linux_exec.c b/sys/compat/linux/common/linux_exec.c index 7c55e06bd69..2d1318901b5 100644 --- a/sys/compat/linux/common/linux_exec.c +++ b/sys/compat/linux/common/linux_exec.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux_exec.c,v 1.52 2001/06/18 02:00:53 christos Exp $ */ +/* $NetBSD: linux_exec.c,v 1.53 2001/09/18 19:36:39 jdolecek Exp $ */ /*- * Copyright (c) 1994, 1995, 1998, 2000 The NetBSD Foundation, Inc. @@ -124,6 +124,7 @@ const struct emul emul_linux = { linux_trapsignal, linux_sigcode, linux_esigcode, + linux_setregs, linux_e_proc_exec, linux_e_proc_fork, linux_e_proc_exit, |
