linux syscalls list by madcr > ࢮ ᠫ ⥭ 稭 ண- ࠬ஢ ᥬ linux. 稫 ⠪ : "뢠 ᫠,.. ᫥ 㭪権 unist.h". ਫ ᫠ 뢠 ⥬ 맮,., . 祭 騬 騬 ᬥ li- nux, ࠭ , 祣 / ᯮᮡ ᭥ unistd.h :) ਬ ᫨ , 뢠 祬- , 㦭 . ⮬ ⮬ ᥬ ⭮ ࠢ筮 ᯨ ;) p.s. ᮦ ⨭ , ⮬ ᫥ ;) exit: eax = 01h (1) ebx = program return code (exit number) fork: eax = 02h (2) output: eax have pid. read: eax = 03h (3) ebx = descriptor ecx = address for writing edx = size write: eax = 04h (4) ebx = descriptor ecx = address text edx = size open: eax = 05h (5) ebx = filename ecx = mode edx = filemode (O_CREATE only) close: eax = 06h (6) ebx = descriptor creat: eax = 08h (8) ebx = filename ecx = file attribute link: eax = 09h (9) ebx = old path ecx = new path unlink: eax = 0ah (10) ebx = path for unlink execve: eax = 0bh (11) ebx = argv[0] ecx = argv edx = env chdir: eax = 0ch (12) ebx = path mknod: eax = 0eh (14) ebx = file name ecx = chmoded edx = mode chmod: eax = 0fh (15) ebx = file name ecx = mode/rights lchown: eax = 10h (16) ebx = file for chowned ecx = file master number edx = group number lseek: eax = 13h (19) ebx = descriptor ecx = size edx = position. where: 0 = current position 1 = from start ($x) 2 = from end. ($-x) mount: eax = 15h (21) ebx = special file ecx = dir for mounting edx = filesystem type umount: eax = 16h (22) ebx = path for umount rename: eax = 26h (38) ebx = what file ecx = which of file mkdir: eax = 27h (39) ebx = name ecx = mode rmdir: eax = 28h (40) ebx = directory name umount2: eax = 34h (52) ebx = path for umount ioctl: eax = 36h (54) ebx = descriptor ecx = command edx = arguments sethostname: eax = 4ah (74) ebx = name of host ecx = symbols size swapon : eax = (87) ebx = path name ecx = flags syslog: eax = (103) ebx = type ecx = buf edx = lenght syslog type : 0 - close the log. Currently a NOP 1 - open the log. Currently a NOP 2 - read from the log 3 - read up to the last 4k of messages in the ring buffer 4 - read and clear last 4k of messages in the ring buffer 5 - clear ring buffer 6 - disable printk's to console 7 - enable printk's to console 8 - set level of messages printed to console stat: eax = (106) ebx = filename ecx = buf buf structure: offset decriptions lenght 00h device 4h 04h inode 4h 08h protections 2h 0ah hard links (n) 2h 0ch user ID 2h 0eh group ID 2h 10h device type (if inode device) 4h 14h file size 4h 18h blocksize for filesystem I/O 4h 1ch number of blocks allocated 4h 20h time of last access 8h 28h time of last modification 8h 30h time of last change 8h vhangup: eax = (111) swapoff: eax = (115) ebx = path name ecx = flags sysinfo: eax = (116) ebx = buf buf structure: offset decriptions lenght uname: eax = (122) ebx = buf pread: eax = 0b4 (180) ebx = descriptor ecx = address for writing edx = size pwrite: eax = 0b5 (181) ebx = descriptor ecx = address text edx = size chown: eax = 0b6 (182) ebx = file for chowned ecx = file master number edx = group number getcwd: eax = 0b7 (183) ebx = buf ecx = size vfork: eax = (190) output: eax have pid.