Editing System call (syscall)

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 3: Line 3:
  
 
* <code>[[ptrace]]</code>
 
* <code>[[ptrace]]</code>
* <code>[[unlink]]</code>: <code>[[rm]]</code>
 
* <code>[[chroot]]</code>
 
* <code>[[fork]]</code>
 
* <code>[[futex]]</code>
 
  
* <code>[[strace]] -c -f -p $PID</code>
 
  
==Categories of system calls==
 
System calls can be grouped roughly into six major categories:<ref>{{Cite book|title=Operating System Concepts|last=Silberschatz|first=Abraham|publisher=Wiley|others=Peter B Galvin; Greg Gagne|year=2018|isbn=9781119320913|edition=10th|location=Hoboken, NJ|pages=67|oclc=1004849022}}</ref>
 
 
:
 
 
# 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]])
 
#*Terminate [[process]]: [[process_mrelease]](2), [[kill]]
 
#*[[Loader (computing)|load]], [[Exec (operating system)|execute]]
 
#* get/set process attributes
 
#*[[Wait (operating system)|wait]] for time, wait event, [[Signal (computing)|signal]] event
 
#*[[Dynamic memory allocation|allocate]] and [[Garbage collection (computer science)|free]] memory
 
 
# File management
 
#* create file, delete file
 
#* open, close
 
#* read, write, reposition
 
#* get/set file attributes
 
# Device management
 
#* request device, release device
 
#* read, write, reposition
 
#* get/set device attributes
 
#* logically attach or detach devices
 
# 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.)
 
# Communication
 
#* create, delete communication connection
 
#* send, receive messages
 
#* transfer status information
 
#* attach or detach remote devices
 
#Protection
 
#*get/set file permissions
 
 
== Related terms ==
 
* [[Linux commands]]
 
* [[man]]
 
* [[/var/log/audit/audit.log]]
 
  
 
== See also ==
 
== See also ==
* {{syscall}}
+
* {{Dtrace}}
* {{perf}}
 
 
* {{Linux Kernel}}
 
* {{Linux Kernel}}
 
 
[[Category:Computing]]
 

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Advertising: