Skip to content

Commit da5d042

Browse files
committed
Improved language.
1 parent 96a7fff commit da5d042

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

proc.tex

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1092,11 +1092,10 @@
10921092
\item For the file to be mapped into memory it is first necessary to open it
10931093
via \texttt{open}. The access mode in \texttt{prot} cannot be less restrictive
10941094
than specified in the mode for \texttt{open}.
1095-
\item The use of \texttt{MAP\_FIXED} is not recommended, since it hampers
1096-
portability of the code. Also, it removes any existing mappings at that
1097-
address. Further, it does not work well with ASLR (Address Space Layout
1098-
Randomization) which is frequently used in current Unix systems for dynamically
1099-
linked programs.
1095+
\item The use of \texttt{MAP\_FIXED} is not recommended as it hampers
1096+
portability of the code. It also removes any existing mappings at that address
1097+
and does not work well with ASLR (Address Space Layout Randomization) which is
1098+
frequently used in current Unix systems for dynamically linked programs.
11001099
\item \textbf{warning:} w.r.t. \texttt{MAP\_SHARED} -- if the file is truncated
11011100
by another process so that the truncation affects the mapped part, the access
11021101
to such area results in the \texttt{SIGBUS} resp. \texttt{SIGSEGV} or signal

0 commit comments

Comments
 (0)