SYSCALLS

Section: ¸®´ª½º ÇÁ·Î±×·¡¸Ó ¸Å´º¾ó (2)
Updated: 1996³â 4¿ù 12ÀÏ
Index
Return to Main Contents
 

À̸§

none - ¸ðµç ½Ã½ºÅÛ ÄÝÀÇ ¸ñ·Ï  

»ç¿ë¹ý

¸®´ª½º 2.0 ½Ã½ºÅÛ ÄÝ  

¼³¸í

¸®´ª½º 2.0.34 ÀÇ °æ¿ì, /usr/include/asm/unistd.h¿¡ 164°³ÀÇ ½Ã½ºÅÛ ÄÝÀÌ ³ª¿­µÇ¾î ÀÖ´Ù. ÀÌ ¸ÇÆäÀÌÁö´Â ±×°ÍµéÀ» ³ª¿­ÇÑ´Ù.

_llseek(2), _newselect(2), _sysctl(2), access(2), acct(2), adjtimex(2), afs_syscall, alarm(2), bdflush(2), break, brk(2), chdir(2), chmod(2), chown(2), chroot(2), clone(2), close(2), creat(2), create_module(2), delete_module(2), dup(2), dup2(2), execve(2), exit(2), fchdir(2), fchmod(2), fchown(2), fcntl(2), fdatasync(2), flock(2), fork(2), fstat(2), fstatfs(2), fsync(2), ftime, ftruncate(2), get_kernel_syms(2), getdents(2), getegid(2), geteuid(2), getgid(2), getgroups(2), getitimer(2), getpgid(2), getpgrp(2), getpid(2), getppid(2), getpriority(2), getrlimit(2), getrusage(2), getsid(2), gettimeofday(2), getuid(2), gtty, idle(2), init_module(2), ioctl(2), ioperm(2), iopl(2), ipc(2), kill(2), link(2), lock, lseek(2), lstat(2), mkdir(2), mknod(2), mlock(2), mlockall(2), mmap(2), modify_ldt(2), mount(2), mprotect(2), mpx, mremap(2), msync(2), munlock(2), munlockall(2), munmap(2), nanosleep(2), nice(2), oldfstat, oldlstat, oldolduname, oldstat, olduname, open(2), pause(2), personality(2), phys, pipe(2), prof, profil, ptrace(2), quotactl(2), read(2), readdir(2), readlink(2), readv(2), reboot(2), rename(2), rmdir(2), sched_get_priority_max(2), sched_get_priority_min(2), sched_getparam(2), sched_getscheduler(2), sched_rr_get_interval(2), sched_setparam(2), sched_setscheduler(2), sched_yield(2), select(2), setdomainname(2), setfsgid(2), setfsuid(2), setgid(2), setgroups(2), sethostname(2), setitimer(2), setpgid(2), setpriority(2), setregid(2), setreuid(2), setrlimit(2), setsid(2), settimeofday(2), setuid(2), setup(2), sgetmask(2), sigaction(2), signal(2), sigpending(2), sigprocmask(2), sigreturn(2), sigsuspend(2), socketcall(2), ssetmask(2), stat(2), statfs(2), stime(2), stty, swapoff(2), swapon(2), symlink(2), sync(2), sysfs(2), sysinfo(2), syslog(2), time(2), times(2), truncate(2), ulimit, umask(2), umount(2), uname(2), unlink(2), uselib(2), ustat(2), utime(2), vhangup(2), vm86(2), wait4(2), waitpid(2), write(2), writev(2).

ÀÌ»óÀÇ °Í¿¡¼­ 5°³´Â ´õ ÀÌ»ó »ç¿ëµÇÁö ¾Ê´Â °ÍÀÌ´Ù. Áï, oldfstat, oldlstat, oldolduname, oldstat¿Í olduname (obsolete(2) ÂüÁ¶). ±×¸®°í 11°³´Â ±¸ÇöµÇÁö ¾Ê¾Ò´Ù. Áï, afs_syscall, break, ftime, gtty, lock, mpx, phys, prof, profil, stty¿Í ulimit (unimplemented(2) ÂüÁ¶). ±×·¯³ª, ftime(3), profil(3)°ú ulimit(3)´Â ¶óÀ̺귯¸® ·çƾÀ¸·Î Á¸ÀçÇÑ´Ù.

°£´ÜÈ÷ ¸»ÇØ, /usr/include/asm/unistd.h ÆÄÀÏÀÇ __NR_xxx »ó¼ö·Î Á¤ÀÇµÈ ½Ã½ºÅÛ ÄÝÀÇ ÄÚµå´Â Ä¿³Î ¼Ò½ºÀÇ sys_xxx() ·çƾÀÌ´Ù. (i386ÀÇ µð½ºÆÐÄ¡(dispatch) Å×À̺íÀº /usr/src/linux/arch/i386/kernel/entry.S¿¡ Á¤ÀǵȴÙ.)

±×·¯³ª ÀÌÀüÀÇ ½Ã½ºÅÛ ÄÝÀÌ »õ·Î¿î °ÍÀ¸·Î ´ëÄ¡µÇ°í À̸¦ ü°èÀûÀ¸·Î Á¤¸®ÇÏÁö ¸øÇ߱⠶§¹®¿¡ ÀÌ ±ÔÄ¢¿¡´Â ¸¹Àº ¿¹¿Ü°¡ ÀÖ´Ù. ¸®´ª½º 2.0.34¿¡¼­ÀÇ ¼¼ºÎÀûÀÎ »çÇ×Àº ´ÙÀ½°ú °°´Ù.

__NR_oldstat¿Í __NR_stat´Â sys_stat()¿Í sys_newstat() ·çƾÀ» °¡¸®Å²´Ù. fstat ¿Í lstat¿¡ ´ëÇؼ­µµ °°´Ù. À¯»çÇÏ°Ô, __NR_oldolduname, __NR_olduname°ú __NR_unameÀº sys_oldname(), sys_uname()°ú sys_newuname() ·çƾÀ» °¡¸®Å²´Ù. µû¶ó¼­, __NR_stat¿Í __NR_unameÀº Ç×»ó ÃֽŠ¹öÀüÀÇ ½Ã½ºÅÛ ÄÝÀ» °¡¸®Å°°í, ÀÌÀüÀÇ °ÍÀº ȣȯ¼ºÀ» À§ÇØ µÐ´Ù.

select¿Í mmap´Â ´Ù¸£´Ù. ÀÌ´Â 5°³ ÀÌ»óÀÇ ÀÎÀÚ¸¦ »ç¿ëÇÏ¿© i386¿¡¼­´Â ÀÎÀÚ Àü´ÞÇÏ´Â ¹æ¹ýÀÌ ¹®Á¦¸¦ ÀÏÀ¸Å²´Ù. ±×·¡¼­ ´Ù¸¥ ¾ÆÅ°ÅØÃÄ¿¡¼­´Â __NR_select¿Í __NR_mmap¿¡ ÇØ´çÇÏ´Â sys_select()¿Í sys_mmap()ÀÌ ÀÖÁö¸¸, i386¿¡´Â ´ë½Å old_select()¿Í old_mmap()À» (ÀÎÀÚ ºí·°ÀÇ Æ÷ÀÎÅ͸¦ »ç¿ëÇÏ´Â ÇÔ¼öµéÀÌ´Ù) °¡¸®Å²´Ù. ¿äÁòÀº 5°³ÀÇ ÀÎÀÚ¸¦ ³Ñ±â´Â °ÍÀÌ ´õ ÀÌ»ó ¹®Á¦µÇÁö ¾Ê¾Æ, sys_select()¸¦ ¹Ù·Î °¡¸®Å°´Â __NR_newselect°¡ (libc 6¿¡¼­ »ç¿ëµÈ´Ù) Á¸ÀçÇÑ´Ù.

µÎ °³ÀÇ ½Ã½ºÅÛ ÄÝ ¹øÈ£, __NR__llseek¿Í __NR__sysctlÀº sys_llseek()¿Í sys_sysctl()¿¡´Â ¾ø´Â ¾ð´õ½ºÄÚ¾î(_)°¡ ´õ ºÙ´Â´Ù.

old_reddir()¿¡ ÇØ´çÇÏ´Â __NR_readdirÀÌ ÀÖ´Ù. ÀÌ´Â ÇÑ ¹ø¿¡ ÃÖ´ë ÇÑ °³ÀÇ µð·ºÅ丮 Ç׸ñ¹Û¿¡´Â Àоî¿Ã ¼ö ¾ø´Ù. ÀÌ´Â sys_getdents()·Î ´ëÄ¡µÈ´Ù.

¸¶Áö¸·À¸·Î, 166 ½Ã½ºÅÛ ÄÝ, sys_vm86()¿¡ ´ëÇؼ­´Â ÇØ´ç ¸ÅÅ©·Î°¡ Á¤ÀǵÇÁö ¾Ê´Â´Ù. ÀÌ´Â __NR_vm86ÀÇ sys_vm86old()¸¦ ´ëÄ¡ÇÑ´Ù.

 

¿ªÀÚ

ÀÓÁ¾±Õ <hermes44@secsm.org>, 2000³â 4¿ù 19ÀÏ


 

Index

À̸§
»ç¿ë¹ý
¼³¸í
¿ªÀÚ

This document was created by man2html, using the manual pages.
Time: 08:07:01 GMT, March 25, 2004