# # WARNING! # This file is used to generate the system call lists for Dev86(elks) # ELKSemu and elks itself. Changes to this may require changes in # all three of those packages. # # '.' = Ok, with comment # '*' = Needs libc code (Prefix __) # '-' = Obsolete/not required # '@' = May be required later # '=' = Depends on stated config variable # # An initial plus on the call number specifies that this call is # implemented in the kernel. # # # Name No Args Flag, comment # 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 wait4 +7 4 creat 8 0 - Not needed alias for open link +9 2 unlink +10 1 execve +11 3 * execve minix style chdir +12 1 time 13 1 - Use settimeofday 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 @ adb/sdb/dbx need this. alarm 27 2 fstat +28 2 pause 29 0 utime +30 2 chroot +31 1 vfork +32 0 access +33 2 nice 34 1 sleep 35 1 sync +36 0 kill +37 2 rename +38 2 mkdir +39 2 rmdir +40 1 dup +41 1 . There is a fcntl lib function too. pipe +42 1 times 43 2 * 2nd arg is pointer for long ret val. profil 44 4 @ dup2 +45 2 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 @ Accounting to named file (off if null) phys 52 3 - Replaced by mmap() lock 53 1 @ Prevent swapping for this proc if flg!=0 ioctl +54 3 . make this and fcntl the same ? reboot +55 3 . the magic number is 0xfee1,0xdead,... mpx 56 2 - Replaced by fifos and select. lstat +57 2 symlink +58 2 readlink +59 3 umask +60 1 settimeofday +61 2 gettimeofday +62 2 select +63 5 . 5 paramaters is possible readdir +64 3 * insmod 65 1 - Removed support for modules fchown +66 3 dlload +67 2 setsid +68 0 socket +69 3 bind +70 3 listen +71 2 accept +72 3 connect +73 3 knlvsn +74 1 = CONFIG_SYS_VERSION # # Name No Args Flag&comment # # ( awk '{$2=NR+500;OFS="\t";print ;}'| expand -24,32,40 | unexpand ) <