mirror of https://github.com/mkerrisk/man-pages
mremap.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
6af75e77bb
commit
2b4fecb9f6
|
@ -74,14 +74,16 @@ If a new mapping is requested via this method, then the
|
|||
.B MREMAP_MAYMOVE
|
||||
flag must also be specified.
|
||||
.PP
|
||||
In Linux the memory is divided into pages.
|
||||
A user process has (one or)
|
||||
In Linux, memory is divided into pages.
|
||||
A process has (one or)
|
||||
several linear virtual memory segments.
|
||||
Each virtual memory segment has one
|
||||
or more mappings to real memory pages (in the page table).
|
||||
Each virtual memory segment has its own
|
||||
protection (access rights), which may cause
|
||||
a segmentation violation if the memory is accessed incorrectly (e.g.,
|
||||
a segmentation violation
|
||||
.RB ( SIGSEGV )
|
||||
if the memory is accessed incorrectly (e.g.,
|
||||
writing to a read-only segment).
|
||||
Accessing virtual memory outside of the
|
||||
segments will also cause a segmentation violation.
|
||||
|
|
Loading…
Reference in New Issue