From 6da93ae61634abcda0307728a534260f98582ed2 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Thu, 5 Feb 2015 09:15:12 +0100 Subject: [PATCH] modify_ldt.2: Minor fixups Signed-off-by: Michael Kerrisk --- man2/modify_ldt.2 | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/man2/modify_ldt.2 b/man2/modify_ldt.2 index d6e051497..89caad458 100644 --- a/man2/modify_ldt.2 +++ b/man2/modify_ldt.2 @@ -190,16 +190,18 @@ Not all kernels allow 16-bit segments to be installed, however. .PP Even on 64-bit kernels, .BR modify_ldt (2) -cannot be used to create a long mode (i.e. 64-bit) code segment. The -undocumented field "lm" in +cannot be used to create a long mode (i.e., 64-bit) code segment. +The undocumented field "lm" in .IR user_desc -is not useful, and, despite its name, does not result in a long mode segment. +is not useful, and, despite its name, +does not result in a long mode segment. .SH BUGS On 64-bit kernels before Linux 3.19, .\" commit e30ab185c490e9a9381385529e0fd32f0a399495 setting the "lm" bit in .IR user_desc -prevents the descriptor from being considered empty. Keep in mind that the +prevents the descriptor from being considered empty. +Keep in mind that the "lm" bit does not exist in the 32-bit headers, but these buggy kernels will still notice the bit even when set in a 32-bit process. .SH SEE ALSO