Difference between revisions of "Il ''catalogo'' delle System Call"

From Sistemi Operativi
Jump to navigation Jump to search
m
m
Line 17: Line 17:
  
 
== gestione file ==
 
== gestione file ==
* open, ''creat''
+
* open, ''creat'', openat
 
* read, write
 
* read, write
 
* readv, writev
 
* readv, writev
Line 49: Line 49:
 
* getfsuid, setfsuid
 
* getfsuid, setfsuid
 
* (getdents)
 
* (getdents)
 +
 +
at calls:
 +
* mkdirat, mknodat, fchownat, futimesat, fstatat,  unlinkat, renameat, linkat, symlinkat,  readlinkat, fchmodat, faccessat
  
 
== gestione utenti ==
 
== gestione utenti ==
Line 61: Line 64:
 
== debug/profiling ==
 
== debug/profiling ==
 
* ptrace
 
* ptrace
 +
* process_vm_readv, process_vm_writev
 
* times
 
* times
 
* acct
 
* acct
Line 108: Line 112:
 
* capget, capset
 
* capget, capset
  
== sysV IPC ===
+
== sysV IPC ==
* shmget, shmat, shmctl
+
* ''shmget, shmat, shmdt, shmctl''
* semget, semop, semctl
+
* ''semget, semop, semctl''
* msgget, msgsnd, msgrcv, msgctl
+
* ''msgget, msgsnd, msgrcv, msgctl''
  
== Berkeley socket
+
== Berkeley socket ==
 
* socket
 
* socket
 
* bind
 
* bind

Revision as of 14:40, 10 March 2016

Fra parentesi le chiamate raramente usate direttamente, in italico le chiamate obsolete. ' indica che l'interfaccia fornita dalla libreria C non coincide con quella della system call.

gestione processi

  • fork, vfork
  • (clone')
  • execve
  • exit
  • wait, waitpid, wait3, wait4
  • nice
  • getpriority, setpriority
  • getpid, getppid
  • getpgio, setpgid
  • getsid

gestione file

  • open, creat, openat
  • read, write
  • readv, writev
  • pread, pwrite
  • lseek
  • close
  • fcntl
  • ioctl
  • dup, dup2
  • sendfile
  • flock

gestione file system

  • chdir, fchdir
  • mkdir, rmdir
  • getcwd'
  • link, symlink, readlink, unlink, rename
  • stat, lstat, fstat
  • mknod
  • chown, fchown, lchown
  • chmod, fchmod, lchmod
  • access
  • mount, umount, umount2
  • sync
  • utime
  • umask
  • chroot
  • ustat
  • truncate, ftruncate
  • statfs, fstatfs
  • getfsuid, setfsuid
  • (getdents)

at calls:

  • mkdirat, mknodat, fchownat, futimesat, fstatat, unlinkat, renameat, linkat, symlinkat, readlinkat, fchmodat, faccessat

gestione utenti

  • getuid, setuid
  • getgid, setgid
  • geteuid, seteuid
  • getreiud, setreuid
  • getresuid, setresuid
  • getresgid, setresgid
  • getgroups, setgroups

debug/profiling

  • ptrace
  • process_vm_readv, process_vm_writev
  • times
  • acct
  • getrlimit, setrlimit, getrusage

segnali

  • kill
  • signal
  • alarm
  • pause
  • sigaction
  • sigprocmask
  • sigsuspend
  • sigpending
  • getitimer, setitimer

attesa eventi

  • select
  • poll
  • pselect
  • ppoll

comunicazione

  • pipe

memoria

  • (brk)
  • mmap, munmap
  • mprotect
  • mremap
  • msync
  • madvise
  • getpagesize

tempo

  • time
  • gettimeofday, settimeofday
  • adjtimex
  • nanosleep

misc

  • gethostname, sethostname
  • getdomainname, setdomainname
  • sched_yield
  • reboot
  • sysinfo, uname
  • capget, capset

sysV IPC

  • shmget, shmat, shmdt, shmctl
  • semget, semop, semctl
  • msgget, msgsnd, msgrcv, msgctl

Berkeley socket

  • socket
  • bind
  • listen
  • accept
  • connect
  • sendto, recvfrom
  • sendmsg, recvmsg
  • sengmmsg, recvmmsg
  • shutdown
  • getsockname, getpeername
  • socketpair
  • getsockopt, setsockopt