Difference between revisions of "System call (syscall)"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
(2 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
* <code>[[chroot]]</code>
 
* <code>[[chroot]]</code>
 
* <code>[[fork]]</code>
 
* <code>[[fork]]</code>
 +
* <code>[[futex]]</code>
  
 
==Categories of system calls==
 
==Categories of system calls==
Line 14: Line 15:
 
# Process control
 
# Process control
 
#* create process (for example, <code>[[fork (operating system)|fork]]</code> on Unix-like systems, or <code>NtCreateProcess</code> in the [[Windows NT]] [[Native API]])
 
#* create process (for example, <code>[[fork (operating system)|fork]]</code> on Unix-like systems, or <code>NtCreateProcess</code> in the [[Windows NT]] [[Native API]])
#*[[Kill (command)|terminate process]]
+
#*Terminate [[process]]: [[process_mrelease]](2), [[kill]]
 
#*[[Loader (computing)|load]], [[Exec (operating system)|execute]]
 
#*[[Loader (computing)|load]], [[Exec (operating system)|execute]]
 
#* get/set process attributes
 
#* get/set process attributes

Revision as of 10:15, 10 December 2021

wikipedia:syscall


Categories of system calls

System calls can be grouped roughly into six major categories:[1]

  1. Process control
  1. File management
    • create file, delete file
    • open, close
    • read, write, reposition
    • get/set file attributes
  2. Device management
    • request device, release device
    • read, write, reposition
    • get/set device attributes
    • logically attach or detach devices
  3. Information maintenance
    • get/set total system information (including time, date, computer name, enterprise etc.)
    • get/set process, file, or device metadata (including author, opener, creation time and date, etc.)
  4. Communication
    • create, delete communication connection
    • send, receive messages
    • transfer status information
    • attach or detach remote devices
  5. Protection
    • get/set file permissions

Related terms

See also

  • Silberschatz, Abraham (2018). Operating System Concepts. Peter B Galvin; Greg Gagne (10th ed.). Hoboken, NJ: Wiley. p. 67. ISBN 9781119320913. OCLC 1004849022.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
  • Advertising: