Linux Internals
Categories: Embedded System, Linux Internals
Course Content
Fundamental Concepts
-
Library Fundamentals
-
Static Linker and Dynamic Linker
-
Creation and use of Static and dynamic libraries
-
Constructors and destructors
-
ELF and Program Execution
-
ldconfig
-
Dynamically Loaded Libraries
-
GOT, PLT, and Lazy Binding
-
ABI, SYSV
Memory Management
-
Virtual addressing (Virtual Memory)
-
No VM VS Virtual Memory
-
Benefits of using VM
-
Process Memory Layout
-
Segments or Mappings
-
Stack allocation and deallocation
-
Dynamic memory allocation and deallocation
-
Demand paging, Locking Memory, and Memory Protection
-
Linux Common Memory Issues and Test cases
-
GDB, Valgrind, and Sanitizer tools
File I/O
-
Over View
-
Open(), create(), read(), write(), and close ()
-
File Descriptor and Open file relation
-
Accessing file attributes
-
Modifying File Offset
-
File mode
-
Changing file attributes
Advanced File I/O
-
Scatter – Gather I/O
-
File I/O Via Memory Mapping
-
DIO and AIO
-
Multiplexing or Async blocking I/O or Alternative I/O Models
-
Linux I/O architecture
Processes Management
-
Converting a Program into a Process
-
Process IDs
-
Memory Layout of a Process and Process Address Space
-
Kernel Process Address Space
-
Process Scheduler
-
Process Creation and Termination Calls
-
Executing Programs
Signals
-
Overview of Signals
-
Signal Disposition
-
Useful Signal-Related Functions
-
Signal Types and Categories
-
Generation of Signal and Delivery
-
Signal Handler and Designing Async Signal Handler
Threads
-
Concurrency and Need for Concurrency
-
Pthreads Library
-
Thread Creation and Termination
-
Thread ID’s
-
Joining a Thread
-
Detaching a Thread and Thread Attributes
-
Signals and Threads
-
Threads and Process Control
Synchronization
-
Shared Resources and Critical Section
-
Atomic Operations
-
Mutex and Insights of Mutex
-
Locking, Unlocking, and Deadlock
-
Mutex vs Spinlocks
-
Reader-Writer Locks and Producer Consumer
-
Condition Variables
IPC
-
Pipes
-
FIFO
-
Semaphores
-
Shared Memory
Student Ratings & Reviews
No Review Yet