File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 593
593
code of the \funnm {exec} call) first maps the dynamic linker, a.k.a. the loader,
594
594
to the process address space. The loader then maps all dynamic libraries there
595
595
as well, then finally calls the program \texttt {main() }.
596
- \item A useful exercise is to write a simple program calling \texttt { open() },
597
- for example . Then run the program via \texttt {truss(1) } or
598
- \texttt {strace(1) } like this: \texttt {truss ./a.out }. You will see a number of
599
- system calls before \texttt {open } is actually called. These system calls
596
+ \item A useful exercise is to write a simple program calling for example
597
+ \texttt { open() } on a distinct file . Then run the program via \texttt {truss(1) }
598
+ or \texttt {strace(1) } like this: \texttt {truss ./a.out }. You will see a number
599
+ of system calls before the \texttt {open } is actually called. These system calls
600
600
can be attributed to the dynamic linker.
601
601
\item The \texttt {FD\_ CLOEXEC } file descriptor flag is set using the
602
602
\texttt {fcntl } system call. It can be also set via implementation specific
You can’t perform that action at this time.
0 commit comments