YoVDO

Linux User - Kernel ABI - The Realities of How C and C++ Programs Really Talk to the OS

Offered By: ACCU Conference via YouTube

Tags

ACCU Conference Courses C Programming Courses System Calls Courses ptrace Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the intricacies of how C and C++ programs interact with the operating system in this comprehensive conference talk from ACCU. Delve into the Linux User/Kernel Application Binary Interface (ABI) and uncover the realities behind program-OS communication. Learn about system call implementations, including int 0x80, sysenter, vdso, and the vsyscall page, as well as how return codes translate to errno. Examine the inner workings of signal handlers, including the syscall restart mechanism, and discover how pthreads map onto OS primitives. Gain insights into ptrace, the foundation for tools like strace and gdb, and explore surprising outcomes when these mechanisms intersect. Investigate uninterruptible sleep states and valuable information available in the /proc filesystem. Enhance your expertise as a programmer by understanding the underlying ABI, enabling more effective debugging, profiling, optimization, and intercept library development.

Syllabus

Linux User/Kernel ABI: the realities of how C and C++ programs really talk to the OS - Greg Law


Taught by

ACCU Conference

Related Courses

UNSW Computing 1 - The Art of Programming
OpenLearning
C++ For C Programmers, Part A
University of California, Santa Cruz via Coursera
Beginning Game Programming with C#
University of Colorado System via Coursera
Introduction to Computing 计算概论A
Peking University via Coursera
Comprendre les Microcontroleurs
École Polytechnique Fédérale de Lausanne via Coursera