# SOME DESCRIPTIVE TITLE # Copyright (C) YEAR Free Software Foundation, Inc. # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2025-11-01 06:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. type: TH #: debian-trixie #, no-wrap msgid "PR_MPX_ENABLE_MANAGEMENT" msgstr "" #. type: TH #: debian-trixie #, no-wrap msgid "2024-06-01" msgstr "" #. type: TH #: debian-trixie #, no-wrap msgid "Linux man-pages 6.9.1" msgstr "" #. type: SH #: debian-trixie #, no-wrap msgid "NAME" msgstr "" #. type: Plain text #: debian-trixie msgid "" "PR_MPX_ENABLE_MANAGEMENT, PR_MPX_DISABLE_MANAGEMENT - enable or disable " "kernel management of Memory Protection eXtensions (MPX)" msgstr "" #. type: SH #: debian-trixie #, no-wrap msgid "LIBRARY" msgstr "" #. type: Plain text #: debian-trixie msgid "Standard C library (I, I<-lc>)" msgstr "" #. type: SH #: debian-trixie #, no-wrap msgid "SYNOPSIS" msgstr "" #. type: Plain text #: debian-trixie #, no-wrap msgid "" "B<#include Elinux/prctl.hE> /* Definition of B constants */\n" "B<#include Esys/prctl.hE>\n" msgstr "" #. type: Plain text #: debian-trixie #, no-wrap msgid "" "B<[[deprecated]] int prctl(PR_MPX_ENABLE_MANAGEMENT, 0L, 0L, 0L, 0L);>\n" "B<[[deprecated]] int prctl(PR_MPX_DISABLE_MANAGEMENT, 0L, 0L, 0L, 0L);>\n" msgstr "" #. type: SH #: debian-trixie #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text #: debian-trixie msgid "" "Enable or disable kernel management of Memory Protection eXtensions (MPX) " "bounds tables." msgstr "" #. type: Plain text #: debian-trixie msgid "" "MPX is a hardware-assisted mechanism for performing bounds checking on " "pointers. It consists of a set of registers storing bounds information and " "a set of special instruction prefixes that tell the CPU on which " "instructions it should do bounds enforcement. There is a limited number of " "these registers and when there are more pointers than registers, their " "contents must be \"spilled\" into a set of tables. These tables are called " "\"bounds tables\" and the MPX B() operations control whether the " "kernel manages their allocation and freeing." msgstr "" #. type: Plain text #: debian-trixie msgid "" "When management is enabled, the kernel will take over allocation and freeing " "of the bounds tables. It does this by trapping the #BR exceptions that " "result at first use of missing bounds tables and instead of delivering the " "exception to user space, it allocates the table and populates the bounds " "directory with the location of the new table. For freeing, the kernel " "checks to see if bounds tables are present for memory which is not " "allocated, and frees them if so." msgstr "" #. type: Plain text #: debian-trixie msgid "" "Before enabling MPX management using B, the " "application must first have allocated a user-space buffer for the bounds " "directory and placed the location of that directory in the I " "register." msgstr "" #. type: Plain text #: debian-trixie msgid "" "These calls fail if the CPU or kernel does not support MPX. Kernel support " "for MPX is enabled via the B configuration option. " "You can check whether the CPU supports MPX by looking for the I CPUID " "bit, like with the following command:" msgstr "" #. type: Plain text #: debian-trixie #, no-wrap msgid "cat /proc/cpuinfo | grep \\[aq] mpx \\[aq]\n" msgstr "" #. type: Plain text #: debian-trixie msgid "" "A thread may not switch in or out of long (64-bit) mode while MPX is enabled." msgstr "" #. type: Plain text #: debian-trixie msgid "All threads in a process are affected by these calls." msgstr "" #. type: Plain text #: debian-trixie msgid "" "The child of a B(2) inherits the state of MPX management. During " "B(2), MPX management is reset to a state as if " "B had been called." msgstr "" #. type: SH #: debian-trixie #, no-wrap msgid "RETURN VALUE" msgstr "" #. type: Plain text #: debian-trixie msgid "" "On success, 0 is returned. On error, -1 is returned, and I is set to " "indicate the error." msgstr "" #. type: SH #: debian-trixie #, no-wrap msgid "ERRORS" msgstr "" #. type: TP #: debian-trixie #, no-wrap msgid "B" msgstr "" #. type: Plain text #: debian-trixie msgid "" "The kernel or the CPU does not support MPX management. Check that the " "kernel and processor have MPX support." msgstr "" #. type: SH #: debian-trixie #, no-wrap msgid "STANDARDS" msgstr "" #. type: Plain text #: debian-trixie msgid "None." msgstr "" #. type: SH #: debian-trixie #, no-wrap msgid "HISTORY" msgstr "" #. commit fe3d197f84319d3bce379a9c0dc17b1f48ad358c #. See also http://lwn.net/Articles/582712/ #. See also https://gcc.gnu.org/wiki/Intel%20MPX%20support%20in%20the%20GCC%20compiler #. type: Plain text #: debian-trixie msgid "Linux 3.19. Removed in Linux 5.4. Only on x86." msgstr "" #. commit f240652b6032b48ad7fa35c5e701cc4c8d697c0b #. See also https://lkml.kernel.org/r/20190705175321.DB42F0AD@viggo.jf.intel.com #. type: Plain text #: debian-trixie msgid "" "Due to a lack of toolchain support, B and " "B are not supported in Linux 5.4 and later." msgstr "" #. type: SH #: debian-trixie #, no-wrap msgid "SEE ALSO" msgstr "" #. type: Plain text #: debian-trixie msgid "B(2)" msgstr "" #. type: Plain text #: debian-trixie msgid "" "For further information on Intel MPX, see the kernel source file " "I." msgstr ""