Chapter 8. LINUX USER PROGRAMS

At the beginning of chapter 6 it was noted that memory addresses used in Linux user programs are not true memory addresses. The main reason for this is that Linux needs to prevent the user from having direct access to memory. See Figure 8-1.

Protected Operating System such as Linux

Figure 8-1. Protected Operating System such as Linux

Linux is a multitasking system. A multitasking system has many user jobs and an operating system, which are all running at once. On a machine where any job can overwrite the memory belonging to another job, a multitasking system is impossible. Multitasking requires memory protection. Linux uses paging to implement a memory protection ...

Get Linux Assembly Language Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.