diff options
author | Robert de Bath <rdebath@poboxes.com> | 1997-07-20 12:16:17 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2013-10-23 23:39:55 +0200 |
commit | 9d97bc3cb3aecd3416fb7c4be3ca2f436665b696 (patch) | |
tree | b1e5b67ef9e065efb6a4c9977ecfac8dedbad39b /libc/syscall | |
parent | e63c244cb22bf48ca1d2695784a072269d19ea96 (diff) | |
download | dev86-9d97bc3cb3aecd3416fb7c4be3ca2f436665b696.tar.gz |
Import Dev86src-0.12.4.tar.gzv0.12.4
Diffstat (limited to 'libc/syscall')
-rw-r--r-- | libc/syscall/syscall.dat.chad | 55 | ||||
-rw-r--r-- | libc/syscall/syscall.dat.code | 70 | ||||
-rw-r--r-- | libc/syscall/syscall.dat.rdb | 142 |
3 files changed, 0 insertions, 267 deletions
diff --git a/libc/syscall/syscall.dat.chad b/libc/syscall/syscall.dat.chad deleted file mode 100644 index a6e8b06..0000000 --- a/libc/syscall/syscall.dat.chad +++ /dev/null @@ -1,55 +0,0 @@ -exit 1 1 * c exit does stdio, _exit in crt0 -fork 2 0 -read 3 3 -write 4 3 -open 5 3 -close 6 1 -wait 7 0 . THIS one is different -creat 8 0 . THIS one is different -link 9 2 -unlink 10 1 -exec 11 3 * minix style exec -chdir 12 1 -time 13 0 . THIS one is different -mknod 14 3 -chmod 15 2 -chown 16 3 -brk 17 1 * This is only to tell the system -stat 18 2 -lseek 19 3 * nb 2nd arg is an io ptr to long not a long. -getpid 20 1 * this gets both pid & ppid -mount 21 5 -umount 22 1 -setuid 23 1 -getuid 24 1 * this gets both uid and euid -stime 25 2 - this must not exist - even as a libc. -ptrace 26 4 -alarm 27 2 -fstat 28 2 -pause 29 0 -utime 30 2 -access 33 2 -nice 34 1 . -sleep 35 0 . THIS one is different -sync 36 0 -kill 37 2 -rename 38 2 -mkdir 39 2 -rmdir 40 1 -dup 41 1 - using nasty fcntl function -pipe 42 1 -times 43 2 * 2nd arg is pointer for long ret val. -profil 44 0 -setgid 46 1 -getgid 47 1 * this gets both gid and egid -signal 48 2 * have put the despatch table in user space. -getinfo 49 1 - possible? gets pid,ppid,uid,euid etc -fcntl 50 3 -acct 51 1 - -phys 52 0 . THIS one is different -lock 53 0 . THIS one is different -ioctl 54 3 . make this and fcntl the same ? -reboot 55 3 . the magic number is 0xfee1,0xdead,... -mpx 56 0 . THIS one is different -dup2 57 0 . THIS one is different -umask 60 1 diff --git a/libc/syscall/syscall.dat.code b/libc/syscall/syscall.dat.code deleted file mode 100644 index a91ca86..0000000 --- a/libc/syscall/syscall.dat.code +++ /dev/null @@ -1,70 +0,0 @@ -( -tr '[A-Z]' '[a-z]' < syscall.dat.rdb -echo %%% -cat <<! -exit 1 0 -fork 2 0 -read 3 0 -write 4 0 -open 5 0 -close 6 0 -wait 7 0 -creat 8 0 -link 9 0 -unlink 10 0 -exec 11 0 -chdir 12 0 -time 13 0 -mknod 14 0 -chmod 15 0 -chown 16 0 -brk 17 0 -stat 18 0 -lseek 19 0 -getpid 20 0 -mount 21 0 -umount 22 0 -setuid 23 0 -getuid 24 0 -stime 25 0 -ptrace 26 0 -alarm 27 0 -fstat 28 0 -pause 29 0 -utime 30 0 -access 33 0 -nice 34 0 -sleep 35 0 -sync 36 0 -kill 37 0 -rename 38 0 -mkdir 39 0 -rmdir 40 0 -dup 41 0 -pipe 42 0 -times 43 0 -profil 44 0 -setgid 46 0 -getgid 47 0 -signal 48 0 -getinfo 49 0 -fcntl 50 0 -acct 51 0 -phys 52 0 -lock 53 0 -ioctl 54 0 -reboot 55 0 -mpx 56 0 -dup2 57 0 -umask 60 0 -! -) | awk '/%%%/{ flg++; OFS="\t"; next;} -flg==0 { save4[$1] = $4; save3[$1] = $3; - for(i=5; i<=NF; i++) saverest[$1] = saverest[$1] " " $i; -} -flg==1 { - if( $1 in save3 ) - print $1, $2, save3[$1]+0, save4[$1] " " saverest[$1] ; - else - print $1, $2, "0", ". THIS one is different"; - }' diff --git a/libc/syscall/syscall.dat.rdb b/libc/syscall/syscall.dat.rdb deleted file mode 100644 index de5ed9b..0000000 --- a/libc/syscall/syscall.dat.rdb +++ /dev/null @@ -1,142 +0,0 @@ -# -# Name No Args Flag, comment -# -# . = Ok, with comment -# * = Needs libc code (Prefix __) -# - = Obsolete/not required -# -# WARNING! -# This file is used to generate includes for ELKSemu too. -# This file is continually changing, when you upgrade you _MUST_ ensure -# that ELKSemu is of a matching build! -# -# Calls that use one fd -READ 3 3 -WRITE 4 3 -CLOSE 6 1 -LSEEK 19 3 * NB 2nd arg is an IO ptr to long not a long. -FSTAT 28 2 -IOCTL 54 3 . Make this and fcntl the same ? -FCNTL 55 3 -FTRUNCATE 93 3 -FCHMOD 94 2 -FCHOWN 95 3 -FSYNC 118 1 -FCHDIR 133 1 -LLSEEK 140 3 * 2nd arg is ptr to two longs -READV 145 3 -WRITEV 146 3 -FLOCK 143 2 - Use fcntl -DUP 41 1 - Using nasty fcntl function - -# -SETUP 0 X -EXIT 1 1 * C exit does stdio, _exit in crt0 -FORK 2 0 -OPEN 5 3 -WAIT4 7 4 -VFORK 8 0 . Needed for 8086 -GETINFO 49 1 - Possible? Gets pid,ppid,uid,euid etc -LINK 9 2 -UNLINK 10 1 -EXEC 11 3 * Minix style exec -CHDIR 12 1 -GETTIMEOFDAY 13 2 . time() exists only in libc -MKNOD 14 3 -CHMOD 15 2 -CHOWN 16 3 -BRK 17 1 * This is only to tell the system -STAT 18 2 -GETPID 20 1 * This gets both pid & ppid -MOUNT 21 5 -UMOUNT 22 1 -SETUID 23 1 -GETUID 24 1 * This gets both uid and euid -SETTIMEOFDAY 25 2 . STIME should _NOT_ exist even as a libc. -STIME 25 2 - This must NOT exist - even as a libc. -PTRACE 26 4 -ALARM 27 2 -PAUSE 29 0 -UTIME 30 2 -ACCESS 33 2 -NICE 34 1 . -FTIME 35 1 - Use gettimeofday -SYNC 36 0 -KILL 37 2 -RENAME 38 2 -MKDIR 39 2 -RMDIR 40 1 -PIPE 42 1 -TIMES 43 2 * 2nd arg is pointer for long ret val. -SETGID 46 1 -GETGID 47 1 * This gets both gid and egid -SIGNAL 48 2 * Have put the despatch table in user space. -ACCT 51 1 - -SETPGID 57 2 -ULIMIT 58 2 -UMASK 60 1 -CHROOT 61 1 -USTAT 62 2 -GETPGRP 65 0 - use getpgid(0) -SETSID 66 0 -SIGACTION 67 X -SGETMASK 68 X -SSETMASK 69 X -SETREUID 70 2 -SETREGID 71 2 -SIGSUSPEND 72 X -SIGPENDING 73 X -SETHOSTNAME 74 2 -SETRLIMIT 75 2 -GETRLIMIT 76 2 -GETRUSAGE 77 2 -GETGROUPS 80 2 -SETGROUPS 81 2 -SYMLINK 83 2 -LSTAT 84 2 -READLINK 85 3 -SWAPON 87 X -REBOOT 88 3 . The magic number is 0xfee1,0xdead,... -MUNMAP 91 X -TRUNCATE 92 3 -GETPRIORITY 96 2 -SETPRIORITY 97 3 -PROFIL 98 X -STATFS 99 2 -FSTATFS 100 2 -SOCKETCALL 102 X -SYSLOG 103 X -SETITIMER 104 3 -GETITIMER 105 2 -UNAME 109 1 -VHANGUP 111 0 -SWAPOFF 115 X -SYSINFO 116 X - Use /proc -IPC 117 5 * This is for all SYSV IPC -SIGRETURN 119 X -SETDOMAINNAME 121 X -ADJTIMEX 124 X -MPROTECT 125 X -SIGPROCMASK 126 X -QUOTACTL 131 X -GETPGID 132 1 -SYSFS 135 X -PERSONALITY 136 X -SETFSUID 138 1 -SETFSGID 139 1 -GETDENTS 141 X -SELECT 142 5 * -MSYNC 144 X -GETSID 147 X -FDATASYNC 148 X -SYSCTL 149 X -MUNLOCK 151 X -MUNLOCKALL 153 X -SCHED_SETPARAM 154 X -SCHED_GETPARAM 155 X -SCHED_SETSCHEDULER 156 X -SCHED_GETSCHEDULER 157 X -SCHED_YIELD 158 X -SCHED_GET_PRIORITY_MAX 159 X -SCHED_GET_PRIORITY_MIN 160 X -SCHED_RR_GET_INTERVAL 161 X |