summaryrefslogtreecommitdiffstats
path: root/sys/i386/linux/linux_sysent.c
diff options
context:
space:
mode:
authormini <mini@FreeBSD.org>2002-09-24 07:03:01 +0000
committermini <mini@FreeBSD.org>2002-09-24 07:03:01 +0000
commit7a31c08874a06ca4e5a0b375518b70fef7c57656 (patch)
treefff225ae2aec25af7c2c542fa9e98087610123a0 /sys/i386/linux/linux_sysent.c
parentbe95bd58fc90c8e861fc5fc7b31fa38053635353 (diff)
downloadFreeBSD-src-7a31c08874a06ca4e5a0b375518b70fef7c57656.zip
FreeBSD-src-7a31c08874a06ca4e5a0b375518b70fef7c57656.tar.gz
Back out last commit. Linux uses the old 4.3BSD sockaddr format.
Diffstat (limited to 'sys/i386/linux/linux_sysent.c')
-rw-r--r--sys/i386/linux/linux_sysent.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/i386/linux/linux_sysent.c b/sys/i386/linux/linux_sysent.c
index f35c7b2..608a9e3 100644
--- a/sys/i386/linux/linux_sysent.c
+++ b/sys/i386/linux/linux_sysent.c
@@ -91,7 +91,7 @@ struct sysent linux_sysent[] = {
{ AS(linux_setregid16_args), (sy_call_t *)linux_setregid16 }, /* 71 = linux_setregid16 */
{ AS(linux_sigsuspend_args), (sy_call_t *)linux_sigsuspend }, /* 72 = linux_sigsuspend */
{ AS(linux_sigpending_args), (sy_call_t *)linux_sigpending }, /* 73 = linux_sigpending */
- { AS(linux_sethostname_args), (sy_call_t *)linux_sethostname }, /* 74 = linux_sethostname */
+ { SYF_MPSAFE | AS(sethostname_args), (sy_call_t *)osethostname }, /* 74 = osethostname */
{ AS(linux_setrlimit_args), (sy_call_t *)linux_setrlimit }, /* 75 = linux_setrlimit */
{ AS(linux_old_getrlimit_args), (sy_call_t *)linux_old_getrlimit }, /* 76 = linux_old_getrlimit */
{ AS(getrusage_args), (sy_call_t *)getrusage }, /* 77 = getrusage */
@@ -101,7 +101,7 @@ struct sysent linux_sysent[] = {
{ AS(linux_setgroups16_args), (sy_call_t *)linux_setgroups16 }, /* 81 = linux_setgroups16 */
{ AS(linux_old_select_args), (sy_call_t *)linux_old_select }, /* 82 = linux_old_select */
{ AS(linux_symlink_args), (sy_call_t *)linux_symlink }, /* 83 = linux_symlink */
- { AS(stat_args), (sy_call_t *)stat }, /* 84 = stat */
+ { AS(ostat_args), (sy_call_t *)ostat }, /* 84 = ostat */
{ AS(linux_readlink_args), (sy_call_t *)linux_readlink }, /* 85 = linux_readlink */
{ AS(linux_uselib_args), (sy_call_t *)linux_uselib }, /* 86 = linux_uselib */
{ AS(swapon_args), (sy_call_t *)swapon }, /* 87 = swapon */
@@ -110,7 +110,7 @@ struct sysent linux_sysent[] = {
{ AS(linux_mmap_args), (sy_call_t *)linux_mmap }, /* 90 = linux_mmap */
{ AS(munmap_args), (sy_call_t *)munmap }, /* 91 = munmap */
{ AS(linux_truncate_args), (sy_call_t *)linux_truncate }, /* 92 = linux_truncate */
- { AS(ftruncate_args), (sy_call_t *)ftruncate }, /* 93 = ftruncate */
+ { AS(oftruncate_args), (sy_call_t *)oftruncate }, /* 93 = oftruncate */
{ AS(fchmod_args), (sy_call_t *)fchmod }, /* 94 = fchmod */
{ AS(fchown_args), (sy_call_t *)fchown }, /* 95 = fchown */
{ AS(getpriority_args), (sy_call_t *)getpriority }, /* 96 = getpriority */
OpenPOWER on IntegriCloud