Glibc and System Calls
latest
  • Introduction
  • Basics of a Linux System
  • Working with glibc
  • System Calls On x86_64 from User Space
  • Setting Up Arguments
  • Calling System Calls
  • Return Values
Glibc and System Calls
  • Docs »
  • Glibc and System Call Layer
  • Edit on GitHub

Glibc and System Call LayerΒΆ

  • Introduction
    • Acknowledgements
  • Basics of a Linux System
    • Introduction
    • Programs and Compilation
    • Libraries
    • System Calls
    • Kernel
    • Conclusion
    • References
  • Working with glibc
    • Introduction
    • Why this chapter
    • What is glibc
    • Download and extract glibc
    • Walkthrough glibc
    • Reading some functions of glibc
    • Compiling and installing glibc
    • Using new glibc
    • Conclusion
  • System Calls On x86_64 from User Space
    • Setting Up Arguements
    • Calling the System Call
    • Retrieving the Return Value
  • Setting Up Arguments
    • Introduction
    • Walk through open system call in glibc
    • Check Arguements Using gdb
  • Calling System Calls
    • Glibc syscall() interface
    • syscall assembly instruction
    • Difference between syscall() glibc interface and syscall assembly instruction
    • Conclusion
  • Return Values
    • Introduction
    • How system calls return value?
    • Printing Error Value
    • Conclusion
Next

© Copyright 2017, Rishi Agrawal <rishi.b.agrawal@gmail.com>. Revision 540530e1.

Built with Sphinx using a theme provided by Read the Docs.