Fixup unimplemented UW syscalls

This commit is contained in:
John Hughes 2001-03-06 10:19:26 +00:00
parent 252997128d
commit 8ba4b3fc8c
3 changed files with 131 additions and 67 deletions

View File

@ -78,7 +78,6 @@
#define sys_fstatfs printargs #define sys_fstatfs printargs
#define sys_statvfs printargs #define sys_statvfs printargs
#define sys_fstatvfs printargs #define sys_fstatvfs printargs
#define sys_fork1 printargs
#define sys_sigsendsys printargs #define sys_sigsendsys printargs
#define sys_gtty printargs #define sys_gtty printargs
#define sys_vtrace printargs #define sys_vtrace printargs
@ -142,7 +141,67 @@
#define sys_sysfs1 printargs #define sys_sysfs1 printargs
#define sys_sysfs2 printargs #define sys_sysfs2 printargs
#define sys_sysfs3 printargs #define sys_sysfs3 printargs
#define sys_keyctl printargs
#define sys_secsys printargs
#define sys_filepriv printargs
#define sys_procpriv printargs
#define sys_devstat printargs
#define sys_fdevstat printargs
#define sys_flvlfile printargs
#define sys_lvlfile printargs
#define sys_lvlequal printargs
#define sys_lvlproc printargs
#define sys_lvlipc printargs
#define sys_auditevt printargs
#define sys_auditctl printargs
#define sys_auditdmp printargs
#define sys_auditlog printargs
#define sys_auditbuf printargs
#define sys_lvldom printargs
#define sys_lvlvfs printargs
#define sys_mkmld printargs
#define sys_mldmode printargs
#define sys_secadvise printargs
#define sys_online printargs
#define sys_lwpinfo printargs
#define sys_lwpprivate printargs
#define sys_processor_exbind printargs
#define sys_prepblock printargs
#define sys_block printargs
#define sys_rdblock printargs
#define sys_unblock printargs
#define sys_cancelblock printargs
#define sys_lwpkill printargs
#define sys_sigwait printargs
#define sys_modload printargs
#define sys_moduload printargs
#define sys_modpath printargs
#define sys_modstat printargs
#define sys_modadm printargs
#define sys_lwpsuspend printargs
#define sys_lwpcontinue printargs
#define sys_priocntllst printargs
#define sys_lwp_sema_trywait printargs
#define sys_xsetsockaddr printargs #define sys_xsetsockaddr printargs
#define sys_fstatvfs64 printargs
#define sys_statvfs64 printargs
#define sys_ftruncate64 printargs
#define sys_truncate64 printargs
#define sys_getrlimit64 printargs
#define sys_setrlimit64 printargs
#define sys_mmap64 printargs
#define sys_pread64 printargs
#define sys_pwrite64 printargs
#define sys_creat64 printargs
#define sys_dshmsys printargs
#define sys_invlpg printargs
#define sys_rfork1 printargs
#define sys_rforkall printargs
#define sys_rexecve printargs
#define sys_migrate printargs
#define sys_kill3 printargs
#define sys_ssisys printargs
#define sys_xbindresvport printargs
/* like another call */ /* like another call */
#define sys_lchown sys_chown #define sys_lchown sys_chown
@ -164,6 +223,9 @@
#define sys_sigrelse sys_sighold #define sys_sigrelse sys_sighold
#define sys_sigignore sys_sighold #define sys_sigignore sys_sighold
#define sys_sigpause sys_sighold #define sys_sigpause sys_sighold
#define sys_sleep sys_alarm
#define sys_fork1 sys_fork
#define sys_forkall sys_fork
/* printargs does the right thing */ /* printargs does the right thing */
#define sys_sync printargs #define sys_sync printargs
@ -275,4 +337,5 @@
#define sys_gettimeofday printargs #define sys_gettimeofday printargs
#define sys_getitimer printargs #define sys_getitimer printargs
#define sys_setitimer printargs #define sys_setitimer printargs
#define sys_settimeofday printargs
#endif #endif

View File

@ -43,6 +43,7 @@ extern int sys_unlink();
extern int sys_exec(); extern int sys_exec();
extern int sys_chdir(); extern int sys_chdir();
extern int sys_time(); extern int sys_time();
extern int sys_settimeofday();
extern int sys_mknod(); extern int sys_mknod();
extern int sys_chmod(); extern int sys_chmod();
extern int sys_chown(); extern int sys_chown();

View File

@ -363,73 +363,73 @@
#if UNIXWARE >= 2 #if UNIXWARE >= 2
{ -1, 0, sys_seteuid, "seteuid" }, /* 141 */ { -1, 0, sys_seteuid, "seteuid" }, /* 141 */
{ -1, 0, printargs, "SYS_142" }, /* 142 */ { -1, 0, printargs, "SYS_142" }, /* 142 */
{ -1, 0, printargs, "keyctl" }, /* 143 */ { -1, 0, sys_keyctl, "keyctl" }, /* 143 */
{ -1, 0, printargs, "secsys" }, /* 144 */ { -1, 0, sys_secsys, "secsys" }, /* 144 */
{ -1, 0, printargs, "filepriv" }, /* 145 */ { -1, 0, sys_filepriv, "filepriv" }, /* 145 */
{ -1, 0, printargs, "procpriv" }, /* 146 */ { -1, 0, sys_procpriv, "procpriv" }, /* 146 */
{ -1, 0, printargs, "devstat" }, /* 147 */ { -1, 0, sys_devstat, "devstat" }, /* 147 */
{ -1, 0, sys_aclipc, "aclipc" }, /* 148 */ { -1, 0, sys_aclipc, "aclipc" }, /* 148 */
{ -1, 0, printargs, "fdevstat" }, /* 149 */ { -1, 0, sys_fdevstat, "fdevstat" }, /* 149 */
{ -1, 0, printargs, "flvlfile" }, /* 150 */ { -1, 0, sys_flvlfile, "flvlfile" }, /* 150 */
{ -1, 0, printargs, "lvlfile" }, /* 151 */ { -1, 0, sys_lvlfile, "lvlfile" }, /* 151 */
{ -1, 0, printargs, "SYS_152" }, /* 152 */ { -1, 0, printargs, "SYS_152" }, /* 152 */
{ -1, 0, printargs, "lvlequal" }, /* 153 */ { -1, 0, sys_lvlequal, "lvlequal" }, /* 153 */
{ -1, 0, printargs, "lvlproc" }, /* 154 */ { -1, 0, sys_lvlproc, "lvlproc" }, /* 154 */
{ -1, 0, printargs, "SYS_155" }, /* 155 */ { -1, 0, printargs, "SYS_155" }, /* 155 */
{ -1, 0, printargs, "lvlipc" }, /* 156 */ { -1, 0, sys_lvlipc, "lvlipc" }, /* 156 */
{ -1, 0, sys_acl, "acl" }, /* 157 */ { -1, 0, sys_acl, "acl" }, /* 157 */
{ -1, 0, printargs, "auditevt" }, /* 158 */ { -1, 0, sys_auditevt, "auditevt" }, /* 158 */
{ -1, 0, printargs, "auditctl" }, /* 159 */ { -1, 0, sys_auditctl, "auditctl" }, /* 159 */
{ -1, 0, printargs, "auditdmp" }, /* 160 */ { -1, 0, sys_auditdmp, "auditdmp" }, /* 160 */
{ -1, 0, printargs, "auditlog" }, /* 161 */ { -1, 0, sys_auditlog, "auditlog" }, /* 161 */
{ -1, 0, printargs, "auditbuf" }, /* 162 */ { -1, 0, sys_auditbuf, "auditbuf" }, /* 162 */
{ -1, 0, printargs, "lvldom" }, /* 163 */ { -1, 0, sys_lvldom, "lvldom" }, /* 163 */
{ -1, 0, printargs, "lvlvfs" }, /* 164 */ { -1, 0, sys_lvlvfs, "lvlvfs" }, /* 164 */
{ -1, 0, printargs, "mkmld" }, /* 165 */ { -1, 0, sys_mkmld, "mkmld" }, /* 165 */
{ -1, 0, printargs, "mldmode" }, /* 166 */ { -1, 0, sys_mldmode, "mldmode" }, /* 166 */
{ -1, 0, printargs, "secadvise" }, /* 167 */ { -1, 0, sys_secadvise, "secadvise" }, /* 167 */
{ -1, 0, printargs, "online" }, /* 168 */ { -1, 0, sys_online, "online" }, /* 168 */
{ -1, 0, sys_setitimer, "setitimer" }, /* 169 */ { -1, 0, sys_setitimer, "setitimer" }, /* 169 */
{ -1, 0, sys_getitimer, "getitimer" }, /* 170 */ { -1, 0, sys_getitimer, "getitimer" }, /* 170 */
{ -1, 0, sys_gettimeofday, "gettimeofday" }, /* 171 */ { -1, 0, sys_gettimeofday, "gettimeofday" }, /* 171 */
{ -1, 0, printargs, "settimeofday" }, /* 172 */ { -1, 0, sys_settimeofday, "settimeofday" }, /* 172 */
{ -1, 0, sys_lwp_create, "lwpcreate" }, /* 173 */ { -1, 0, sys_lwp_create, "lwpcreate" }, /* 173 */
{ -1, 0, sys_lwp_exit, "lwpexit" }, /* 174 */ { -1, 0, sys_lwp_exit, "lwpexit" }, /* 174 */
{ -1, 0, sys_lwp_wait, "lwpwait" }, /* 175 */ { -1, 0, sys_lwp_wait, "lwpwait" }, /* 175 */
{ -1, 0, sys_lwp_self, "lwpself" }, /* 176 */ { -1, 0, sys_lwp_self, "lwpself" }, /* 176 */
{ -1, 0, printargs, "lwpinfo" }, /* 177 */ { -1, 0, sys_lwpinfo, "lwpinfo" }, /* 177 */
{ -1, 0, printargs, "lwpprivate" }, /* 178 */ { -1, 0, sys_lwpprivate, "lwpprivate" }, /* 178 */
{ -1, 0, sys_processor_bind, "processor_bind"}, /* 179 */ { -1, 0, sys_processor_bind, "processor_bind"}, /* 179 */
{ -1, 0, printargs, "processor_exbind"}, /* 180 */ { -1, 0, sys_processor_exbind, "processor_exbind"}, /* 180 */
{ -1, 0, printargs, "SYS_181" }, /* 181 */ { -1, 0, printargs, "SYS_181" }, /* 181 */
{ -1, 0, printargs, "SYS_182" }, /* 182 */ { -1, 0, printargs, "SYS_182" }, /* 182 */
{ -1, 0, printargs, "prepblock" }, /* 183 */ { -1, 0, sys_prepblock, "prepblock" }, /* 183 */
{ -1, 0, printargs, "block" }, /* 184 */ { -1, 0, sys_block, "block" }, /* 184 */
{ -1, 0, printargs, "rdblock" }, /* 185 */ { -1, 0, sys_rdblock, "rdblock" }, /* 185 */
{ -1, 0, printargs, "unblock" }, /* 186 */ { -1, 0, sys_unblock, "unblock" }, /* 186 */
{ -1, 0, printargs, "cancelblock" }, /* 187 */ { -1, 0, sys_cancelblock, "cancelblock" }, /* 187 */
{ -1, 0, printargs, "SYS_188" }, /* 188 */ { -1, 0, printargs, "SYS_188" }, /* 188 */
{ -1, TF, sys_pread, "pread" }, /* 189 */ { -1, TF, sys_pread, "pread" }, /* 189 */
{ -1, TF, sys_pwrite, "pwrite" }, /* 190 */ { -1, TF, sys_pwrite, "pwrite" }, /* 190 */
{ -1, TF, sys_truncate, "truncate" }, /* 191 */ { -1, TF, sys_truncate, "truncate" }, /* 191 */
{ -1, TF, sys_ftruncate, "ftruncate" }, /* 192 */ { -1, TF, sys_ftruncate, "ftruncate" }, /* 192 */
{ -1, 0, printargs, "lwpkill" }, /* 193 */ { -1, 0, sys_lwpkill, "lwpkill" }, /* 193 */
{ -1, 0, printargs, "sigwait" }, /* 194 */ { -1, 0, sys_sigwait, "sigwait" }, /* 194 */
{ -1, 0, printargs, "fork1" }, /* 195 */ { -1, 0, sys_fork1, "fork1" }, /* 195 */
{ -1, 0, printargs, "forkall" }, /* 196 */ { -1, 0, sys_forkall, "forkall" }, /* 196 */
{ -1, 0, printargs, "modload" }, /* 197 */ { -1, 0, sys_modload, "modload" }, /* 197 */
{ -1, 0, printargs, "moduload" }, /* 198 */ { -1, 0, sys_moduload, "moduload" }, /* 198 */
{ -1, 0, printargs, "modpath" }, /* 199 */ { -1, 0, sys_modpath, "modpath" }, /* 199 */
{ -1, 0, printargs, "modstat" }, /* 200 */ { -1, 0, sys_modstat, "modstat" }, /* 200 */
{ -1, 0, printargs, "modadm" }, /* 201 */ { -1, 0, sys_modadm, "modadm" }, /* 201 */
{ -1, 0, sys_getksym, "getksym" }, /* 202 */ { -1, 0, sys_getksym, "getksym" }, /* 202 */
{ -1, 0, printargs, "lwpsuspend" }, /* 203 */ { -1, 0, sys_lwpsuspend, "lwpsuspend" }, /* 203 */
{ -1, 0, printargs, "lwpcontinue" }, /* 204 */ { -1, 0, sys_lwpcontinue, "lwpcontinue" }, /* 204 */
{ -1, 0, printargs, "priocntllst" }, /* 205 */ { -1, 0, sys_priocntllst, "priocntllst" }, /* 205 */
{ -1, 0, printargs, "sleep" }, /* 206 */ { -1, 0, sys_sleep, "sleep" }, /* 206 */
{ -1, 0, printargs, "lwp_sema_wait" }, /* 207 */ { -1, 0, sys_lwp_sema_wait, "lwp_sema_wait" }, /* 207 */
{ -1, 0, printargs, "lwp_sema_post" }, /* 208 */ { -1, 0, sys_lwp_sema_post, "lwp_sema_post" }, /* 208 */
{ -1, 0, printargs, "lwp_sema_trywait"}, /* 209 */ { -1, 0, sys_lwp_sema_trywait, "lwp_sema_trywait"}, /* 209 */
#else #else
{ -1, 0, sys_seteuid, "seteuid" }, /* 141 */ { -1, 0, sys_seteuid, "seteuid" }, /* 141 */
{ -1, 0, sys_vtrace, "vtrace" }, /* 142 */ { -1, 0, sys_vtrace, "vtrace" }, /* 142 */
@ -520,28 +520,28 @@
{ -1, 0, printargs, "SYS_214" }, /* 214 */ { -1, 0, printargs, "SYS_214" }, /* 214 */
{ -1, 0, printargs, "SYS_215" }, /* 215 */ { -1, 0, printargs, "SYS_215" }, /* 215 */
#if UNIXWARE >= 7 #if UNIXWARE >= 7
{ -1, 0, printargs, "fstatvfs64" }, /* 216 */ { -1, TF, sys_fstatvfs64, "fstatvfs64" }, /* 216 */
{ -1, 0, printargs, "statvfs64" }, /* 217 */ { -1, TF, sys_statvfs64, "statvfs64" }, /* 217 */
{ -1, 0, printargs, "ftruncate64" }, /* 218 */ { -1, TF, sys_ftruncate64, "ftruncate64" }, /* 218 */
{ -1, 0, printargs, "truncate64" }, /* 219 */ { -1, TF, sys_truncate64, "truncate64" }, /* 219 */
{ -1, 0, printargs, "getrlimit64" }, /* 220 */ { -1, 0, sys_getrlimit64, "getrlimit64" }, /* 220 */
{ -1, 0, printargs, "setrlimit64" }, /* 221 */ { -1, 0, sys_setrlimit64, "setrlimit64" }, /* 221 */
{ -1, TF, sys_lseek64, "lseek64" }, /* 222 */ { -1, TF, sys_lseek64, "lseek64" }, /* 222 */
{ -1, 0, printargs, "mmap64" }, /* 223 */ { -1, TF, sys_mmap64, "mmap64" }, /* 223 */
{ -1, 0, printargs, "pread64" }, /* 224 */ { -1, TF, sys_pread64, "pread64" }, /* 224 */
{ -1, 0, printargs, "pwrite64" }, /* 225 */ { -1, TF, sys_pwrite64, "pwrite64" }, /* 225 */
{ -1, 0, printargs, "creat64" }, /* 226 */ { -1, TF, sys_creat64, "creat64" }, /* 226 */
{ -1, 0, printargs, "dshmsys" }, /* 227 */ { -1, 0, sys_dshmsys, "dshmsys" }, /* 227 */
{ -1, 0, printargs, "invlpg" }, /* 228 */ { -1, 0, sys_invlpg, "invlpg" }, /* 228 */
{ -1, 0, printargs, "rfork1" }, /* 229 */ { -1, 0, sys_rfork1, "rfork1" }, /* 229 */
{ -1, 0, printargs, "rforkall" }, /* 230 */ { -1, 0, sys_rforkall, "rforkall" }, /* 230 */
{ -1, 0, printargs, "rexecve" }, /* 231 */ { -1, 0, sys_rexecve, "rexecve" }, /* 231 */
{ -1, 0, printargs, "migrate" }, /* 232 */ { -1, 0, sys_migrate, "migrate" }, /* 232 */
{ -1, 0, printargs, "kill3" }, /* 233 */ { -1, 0, sys_kill3, "kill3" }, /* 233 */
{ -1, 0, printargs, "ssisys" }, /* 234 */ { -1, 0, sys_ssisys, "ssisys" }, /* 234 */
{ -1, TN, sys_xaccept, "xaccept" }, /* 235 */ { -1, TN, sys_xaccept, "xaccept" }, /* 235 */
{ -1, TN, sys_xbind, "xbind" }, /* 236 */ { -1, TN, sys_xbind, "xbind" }, /* 236 */
{ -1, TN, sys_xbind, "xbindresport" }, /* 237 */ { -1, TN, sys_xbindresvport, "xbindresvport" }, /* 237 */
{ -1, TN, sys_xconnect, "xconnect" }, /* 238 */ { -1, TN, sys_xconnect, "xconnect" }, /* 238 */
{ -1, TN, sys_xgetsockaddr, "xgetsockaddr" }, /* 239 */ { -1, TN, sys_xgetsockaddr, "xgetsockaddr" }, /* 239 */
{ -1, TN, sys_xgetsockopt, "xgetsockopt" }, /* 240 */ { -1, TN, sys_xgetsockopt, "xgetsockopt" }, /* 240 */