diff options
author | jasoni <jasoni@cvs.openbsd.org> | 2001-07-04 19:59:48 +0000 |
---|---|---|
committer | jasoni <jasoni@cvs.openbsd.org> | 2001-07-04 19:59:48 +0000 |
commit | 79eb346980d2d3d06201ab7e0955a9ef9d1e89ce (patch) | |
tree | 552e81aa585f3cf996cd67c068eb9351ef35c21c /sys | |
parent | 8913ac45b4b4b34daba5cd5c7651f9a04c95af95 (diff) |
add new system calls as dummies, except for those which we already have
an equivalent for; from netbsd
ok niklas@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/compat/linux/linux_dummy.c | 16 | ||||
-rw-r--r-- | sys/compat/linux/syscalls.master | 31 |
2 files changed, 43 insertions, 4 deletions
diff --git a/sys/compat/linux/linux_dummy.c b/sys/compat/linux/linux_dummy.c index 99752dd80ed..3570e13a84d 100644 --- a/sys/compat/linux/linux_dummy.c +++ b/sys/compat/linux/linux_dummy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_dummy.c,v 1.4 2001/04/02 21:43:11 niklas Exp $ */ +/* $OpenBSD: linux_dummy.c,v 1.5 2001/07/04 19:59:47 jasoni Exp $ */ /*- * Copyright (c) 1994-1995 Søren Schmidt @@ -107,3 +107,17 @@ DUMMY(sendfile); /* #187 */ DUMMY(getpmsg); /* #188 */ DUMMY(putpmsg); /* #189 */ DUMMY(mmap2); /* #192 */ +DUMMY(lchown); /* #198 */ +DUMMY(setreuid); /* #203 */ +DUMMY(setregid); /* #204 */ +DUMMY(fchown); /* #207 */ +DUMMY(setresuid); /* #208 */ +DUMMY(setresgid); /* #210 */ +DUMMY(getresgid); /* #211 */ +DUMMY(chown); /* #212 */ +DUMMY(setfsgid); /* #216 */ +DUMMY(pivot_root); /* #217 */ +DUMMY(mincore); /* #218 */ +DUMMY(madvise); /* #219 */ +DUMMY(getdents64); /* #220 */ +DUMMY(fcntl64); /* #221 */ diff --git a/sys/compat/linux/syscalls.master b/sys/compat/linux/syscalls.master index 23ec592b3a4..81e507329e0 100644 --- a/sys/compat/linux/syscalls.master +++ b/sys/compat/linux/syscalls.master @@ -1,4 +1,4 @@ - $OpenBSD: syscalls.master,v 1.30 2001/07/03 21:56:26 jasoni Exp $ + $OpenBSD: syscalls.master,v 1.31 2001/07/04 19:59:47 jasoni Exp $ ; $NetBSD: syscalls.master,v 1.15 1995/12/18 14:35:10 fvdl Exp $ ; @(#)syscalls.master 8.1 (Berkeley) 7/19/93 @@ -228,7 +228,7 @@ 135 STD { int linux_sys_sysfs(void); } 136 STD { int linux_sys_personality(int per); } 137 STD { int linux_sys_afs_syscall(void); } -138 STD linux_setfsuid16 { int linux_sys_setfsuid(uid_t uid); } +138 NOARGS linux_setfsuid16 { int linux_sys_setfsuid(uid_t uid); } 139 NOARGS linux_getfsuid16 { int linux_sys_getfsuid(void); } 140 STD { int linux_sys_llseek(int fd, u_int32_t ohigh, \ u_int32_t olow, caddr_t res, int whence); } @@ -267,7 +267,7 @@ size_t new_size, long flags); } 164 STD { int linux_sys_setresuid16(uid_t ruid, uid_t euid, \ uid_t suid); } -165 STD linux_getresuid16 { int linux_sys_getresuid( \ +165 NOARGS linux_getresuid16 { int linux_sys_getresuid( \ uid_t *ruid, uid_t *euid, uid_t *suid); } 166 STD { int linux_sys_vm86(void); } 167 STD { int linux_sys_query_module(void); } @@ -322,3 +322,28 @@ struct linux_stat64 *sp); } 197 STD { int linux_sys_fstat64(int fd, \ struct linux_stat64 *sp); } +198 NOARGS { int linux_sys_lchown(void); } +199 NOARGS { uid_t sys_getuid(void); } +200 NOARGS { gid_t sys_getgid(void); } +201 NOARGS { uid_t sys_geteuid(void); } +202 NOARGS { gid_t sys_getegid(void); } +203 NOARGS { int linux_sys_setreuid(void); } +204 NOARGS { int linux_sys_setregid(void); } +205 NOARGS { int sys_getgroups(u_int gidsetsize, gid_t *gidset); } +206 NOARGS { int sys_setgroups(u_int gidsetsize, gid_t *gidset); } +207 NOARGS { int linux_sys_fchown(void); } +208 NOARGS { int linux_sys_setresuid(void); } +209 STD { int linux_sys_getresuid(uid_t *ruid, uid_t *euid, \ + uid_t *suid); } +210 NOARGS { int linux_sys_setresgid(void); } +211 NOARGS { int linux_sys_getresgid(void); } +212 NOARGS { int linux_sys_chown(void); } +213 NOARGS { int sys_setuid(uid_t uid); } +214 NOARGS { int sys_setgid(gid_t gid); } +215 STD { int linux_sys_setfsuid(uid_t uid); } +216 NOARGS { int linux_sys_setfsgid(void); } +217 NOARGS { int linux_sys_pivot_root(void); } +218 NOARGS { int linux_sys_mincore(void); } +219 NOARGS { int linux_sys_madvise(void); } +220 NOARGS { int linux_sys_getdents64(void); } +221 NOARGS { int linux_sys_fcntl64(void); } |