arch_prctl.2: Minor tweaks to Andy Lutomirski's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-01-30 13:36:22 +01:00
parent 7acf749e4f
commit 5c3f9e21f1
1 changed files with 4 additions and 3 deletions

View File

@ -118,7 +118,7 @@ As an optimization, if a 32-bit TLS base address is used,
.BR arch_prctl (2) .BR arch_prctl (2)
may use a real TLS entry as if may use a real TLS entry as if
.BR set_thread_area (2) .BR set_thread_area (2)
had been called instead of manipulating the segment base register directly. had been called, instead of manipulating the segment base register directly.
Memory in the first 2GB of address space can be allocated by using Memory in the first 2GB of address space can be allocated by using
.BR mmap (2) .BR mmap (2)
with the with the
@ -138,8 +138,9 @@ You have to declare it yourself for now.
This may be fixed in future glibc versions. This may be fixed in future glibc versions.
.I FS .I FS
may be already used by the threading library. Glibc programs that use may be already used by the threading library.
.I ARCH_SET_FS Glibc programs that use
.B ARCH_SET_FS
directly are very likely to crash. directly are very likely to crash.
.SH SEE ALSO .SH SEE ALSO
.BR mmap (2), .BR mmap (2),