elks-enhanced
public
Read
Owner: themaster
Branch: master
Commits: 6893
Updated: 2026-04-19 00:15
Git CLI clone URL
git clone https://www.xt-emporium.com/git/elks-enhanced.git
Fullscreen desktop URL
Code
Commits
History
Branches
Bug Reports
Discussions
Compare
Settings
elks-enhanced
/
elks
/
arch
/
i86
/
kernel
/
syscall.dat
File editor
# # 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 # '!' = Last argument is optional in libc routine (i.e. variadic routine) # # An initial plus on the call number specifies that this call is # implemented in the kernel. # # Package versions are matched. # ELKS version - 0.7.0 # # 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 4 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 1 fstat +28 2 pause 29 0 utime +30 2 chroot +31 1 vfork +32 0 access +33 2 nice 34 1 sleep 35 1 - use alarm & signal, or select, instead 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 - use gettimeofday and libc times instead profil 44 4 @ dup2 +45 2 setgid +46 1 getgid +47 1 * this gets both gid and egid signal +48 3 * 1) have put the dispatch table in user space. # 2) accepts _far_ pointer to dispatching # signal handler, hence 3 words of args. 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 parameters is possible readdir +64 3 * insmod 65 1 - Removed support for modules fchown +66 3 dlload 67 2 - Removed support for dynamic libraries setsid +68 0 sbrk +69 2 * Legacy number from Linux ustatfs +70 3 setitimer +71 3 sysctl +72 3 . ELKS uname +74 1 . was knlvsn # # From /usr/include/asm-generic/unistd.h # socket +75 3 = CONFIG_SOCKET bind +76 3 = CONFIG_SOCKET listen +77 2 = CONFIG_SOCKET accept +78 3 = CONFIG_SOCKET connect +79 3 = CONFIG_SOCKET setsockopt +80 5 = CONFIG_SOCKET getsocknam +81 4 = CONFIG_SOCKET fmemalloc +82 2 * fmemfree +83 1 * ksendto +84 4 = CONFIG_SOCKET krecvfrom +85 4 = CONFIG_SOCKET # # Name No Args Flag&comment # # ( awk '{$2=NR+500;OFS="\t";print ;}'| expand -24,32,40 | unexpand ) <<! # ADJTIMEX 501 X @ FCHDIR 502 1 @ FCHMOD 503 2 @ FCHOWN 504 3 @ FDATASYNC 505 X @ FLOCK 506 2 - Use fcntl FSTATFS 507 2 @ FSYNC 508 1 @ FTIME 509 1 - Use gettimeofday FTRUNCATE 510 3 @ GETDENTS 511 X @ GETGROUPS 512 2 @ GETITIMER 513 2 @ GETPGID 514 1 @ GETPGRP 515 0 - Use getpgid(0) GETPRIORITY 516 2 @ GETRLIMIT 517 2 @ GETRUSAGE 518 2 @ GETSID 519 X @ IPC 520 5 @ This is for all SYSV IPC (c/f mpx) LLSEEK 521 3 @ 2nd arg is ptr to two longs MPROTECT 522 X @ MSYNC 523 X @ MUNLOCK 524 X @ MUNLOCKALL 525 X @ MUNMAP 526 X @ PERSONALITY 527 X @ QUOTACTL 528 X @ READV 529 3 @ SCHED_GETPARAM 530 X @ SCHED_GETSCHEDULER 531 X @ SCHED_GET_PRIORITY_MAX 532 X @ SCHED_GET_PRIORITY_MIN 533 X @ SCHED_RR_GET_INTERVAL 534 X @ SCHED_SETPARAM 535 X @ SCHED_SETSCHEDULER 536 X @ SCHED_YIELD 537 X @ SETDOMAINNAME 538 X @ SETFSGID 539 1 @ SETFSUID 540 1 @ SETGROUPS 541 2 @ SETHOSTNAME 542 2 @ SETITIMER 543 3 @ SETPGID 544 2 @ SETPRIORITY 545 3 @ SETREGID 546 2 @ SETREUID 547 2 @ SETRLIMIT 548 2 @ SETSID 549 0 @ SGETMASK 550 X @ SIGACTION 551 X @ SIGPENDING 552 X @ SIGPROCMASK 553 X @ SIGRETURN 554 X @ SIGSUSPEND 555 X @ SOCKETCALL 556 X @ SSETMASK 557 X @ STATFS 558 2 @ SWAPOFF 559 X @ SWAPON 560 X @ SYSCTL 561 X @ SYSFS 562 X @ SYSINFO 563 X - Use /proc SYSLOG 564 X @ Poss fifo & libc implementation. TRUNCATE 565 3 @ ULIMIT 566 2 @ UNAME 567 1 @ USTAT 568 2 @ VHANGUP 569 0 @ WRITEV 570 3 @
Commit message
This repository is read-only for this account.
Repository snapshot
Current branch
master
Visibility
public
Your access
Read
Remote
Configured
File activity
View file history