# Russian translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: msgid "" msgstr "" "Project-Id-Version: manpages-l10n 4.26.2\n" "POT-Creation-Date: 2025-11-01 06:54+0100\n" "PO-Revision-Date: 2025-06-09 13:24+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: Russian \n" "Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. type: TH #: debian-trixie #, no-wrap msgid "PR_MPX_ENABLE_MANAGEMENT" msgstr "PR_MPX_ENABLE_MANAGEMENT" #. type: TH #: debian-trixie #, no-wrap msgid "2024-06-01" msgstr "1 июня 2024 г." #. type: TH #: debian-trixie #, no-wrap msgid "Linux man-pages 6.9.1" msgstr "Страницы руководства Linux 6.9.1" #. 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 "Стандартная библиотека языка C (I, I<-lc>)" #. 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 "" "B<#include Elinux/prctl.hE> /* определения констант B */\n" "B<#include Esys/prctl.hE>\n" #. 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 "" "MPX — полуаппаратный механизм проверки границ указателей. Он состоит из " "набора регистров, хранящих информацию о границах и наборе специальных " "префиксов инструкций, которые указывают ЦП, в каких инструкциях нужно " "проверить границы. Число регистров ограничено и когда указателей становится " "больше чем регистров, их содержимое нужно «засыпать» в набор таблиц. Эти " "таблицы называются «таблицами границ» (bounds tables), а для управления их " "заполнением и освобождением из ядра существуют операции MPX B()." #. 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 "" "Когда управление разрешено, ядро начинает следить за выделением и " "освобождением таблиц границ. Это делается через ловлю исключений #BR, " "которые возникают при первом использовании отсутствующей таблицы границ и в " "результате доставляется исключение в пользовательское пространство, там " "выделяется таблица и заполняется каталог границ с расположением новой " "таблицы. Для освобождения ядро проверяет есть ли таблицы границ для " "нераспределённой памяти и освобождает их если есть." #. 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 "" "Перед включением управления MPX с помощью B " "приложение сначала должно выделить буфер в пользовательском пространстве для " "каталог границ и поместить расположение этого каталоге в регистр I." #. 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 "" "Эти вызовы завершаются ошибкой, если ЦП или ядро не поддерживают MPX. " "Поддержка MPX в ядре включается параметром настройки " "B. Вы можете проверить наличие поддержки MPX в ЦП " "прочитав бит I в CPUID следующей командой:" #. 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 "" "Нить может не переключиться в «длинный» режим (64-битный) при включённом MPX." #. 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 "" "Потомок B(2) наследует состояние управления MPX. Во время B(2) " "управление MPX сбрасывается в состояние, как если бы выполнился вызов " "B." #. 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 "" "В случае успеха возвращается 0. В случае ошибки возвращается -1, а I " "устанавливается в указание на ошибку." #. type: SH #: debian-trixie #, no-wrap msgid "ERRORS" msgstr "ОШИБКИ" #. type: TP #: debian-trixie #, no-wrap msgid "B" msgstr "B" #. 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 "B(2)" #. type: Plain text #: debian-trixie msgid "" "For further information on Intel MPX, see the kernel source file " "I." msgstr ""