diff options
| author | mycroft <mycroft@NetBSD.org> | 1995-05-06 18:16:35 +0000 |
|---|---|---|
| committer | mycroft <mycroft@NetBSD.org> | 1995-05-06 18:16:35 +0000 |
| commit | 2b0696ff3cf19c7acbd29cef6c756952d1242b3e (patch) | |
| tree | b5a74717be21d5e8e6a3d144e1ae002ad8cde3e7 /sys/compat/linux/linux_sysent.c | |
| parent | 4f919ecd87b76d16c9ca2e2501ea0770ffe9aae3 (diff) | |
Add linux_modify_ldt(), if __i386__.
Diffstat (limited to 'sys/compat/linux/linux_sysent.c')
| -rw-r--r-- | sys/compat/linux/linux_sysent.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/compat/linux/linux_sysent.c b/sys/compat/linux/linux_sysent.c index 009d6594ec3..0648ac4a053 100644 --- a/sys/compat/linux/linux_sysent.c +++ b/sys/compat/linux/linux_sysent.c @@ -109,6 +109,10 @@ int fsync(); int linux_sigreturn(); int compat_09_setdomainname(); int linux_uname(); +#ifdef __i386__ +int linux_modify_ldt(); +#else +#endif int mprotect(); int linux_sigprocmask(); int linux_getpgid(); @@ -363,8 +367,13 @@ struct sysent linux_sysent[] = { compat_09_setdomainname }, /* 121 = compat_09_setdomainname */ { 1, s(struct linux_uname_args), linux_uname }, /* 122 = linux_uname */ +#ifdef __i386__ + { 3, s(struct linux_modify_ldt_args), + linux_modify_ldt }, /* 123 = linux_modify_ldt */ +#else { 0, 0, nosys }, /* 123 = unimplemented linux_modify_ldt */ +#endif { 0, 0, nosys }, /* 124 = unimplemented linux_adjtimex */ { 3, s(struct mprotect_args), |
