Debian Codegraph @

po/ru/man2/PR_MPX_ENABLE_MANAGEMENT.2.po

raw
1 # Russian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 msgid ""
5 msgstr ""
6 "Project-Id-Version: manpages-l10n 4.26.2\n"
7 "POT-Creation-Date: 2025-11-01 06:54+0100\n"
8 "PO-Revision-Date: 2025-06-09 13:24+0200\n"
9 "Last-Translator: Automatically generated\n"
10 "Language-Team: Russian <[email protected]>\n"
11 "Language: ru\n"
12 "MIME-Version: 1.0\n"
13 "Content-Type: text/plain; charset=UTF-8\n"
14 "Content-Transfer-Encoding: 8bit\n"
15 "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
16 "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
17
18 #. type: TH
19 #: debian-trixie
20 #, no-wrap
21 msgid "PR_MPX_ENABLE_MANAGEMENT"
22 msgstr "PR_MPX_ENABLE_MANAGEMENT"
23
24 #. type: TH
25 #: debian-trixie
26 #, no-wrap
27 msgid "2024-06-01"
28 msgstr "1 июня 2024 г."
29
30 #. type: TH
31 #: debian-trixie
32 #, no-wrap
33 msgid "Linux man-pages 6.9.1"
34 msgstr "Страницы руководства Linux 6.9.1"
35
36 #. type: SH
37 #: debian-trixie
38 #, no-wrap
39 msgid "NAME"
40 msgstr "НАИМЕНОВАНИЕ"
41
42 #. type: Plain text
43 #: debian-trixie
44 msgid ""
45 "PR_MPX_ENABLE_MANAGEMENT, PR_MPX_DISABLE_MANAGEMENT - enable or disable "
46 "kernel management of Memory Protection eXtensions (MPX)"
47 msgstr ""
48
49 #. type: SH
50 #: debian-trixie
51 #, no-wrap
52 msgid "LIBRARY"
53 msgstr "БИБЛИОТЕКА"
54
55 #. type: Plain text
56 #: debian-trixie
57 msgid "Standard C library (I<libc>, I<-lc>)"
58 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
59
60 #. type: SH
61 #: debian-trixie
62 #, no-wrap
63 msgid "SYNOPSIS"
64 msgstr "СИНТАКСИС"
65
66 #. type: Plain text
67 #: debian-trixie
68 #, no-wrap
69 msgid ""
70 "B<#include E<lt>linux/prctl.hE<gt>> /* Definition of B<PR_*> constants */\n"
71 "B<#include E<lt>sys/prctl.hE<gt>>\n"
72 msgstr ""
73 "B<#include E<lt>linux/prctl.hE<gt>> /* определения констант B<PR_*> */\n"
74 "B<#include E<lt>sys/prctl.hE<gt>>\n"
75
76 #. type: Plain text
77 #: debian-trixie
78 #, no-wrap
79 msgid ""
80 "B<[[deprecated]] int prctl(PR_MPX_ENABLE_MANAGEMENT, 0L, 0L, 0L, 0L);>\n"
81 "B<[[deprecated]] int prctl(PR_MPX_DISABLE_MANAGEMENT, 0L, 0L, 0L, 0L);>\n"
82 msgstr ""
83
84 #. type: SH
85 #: debian-trixie
86 #, no-wrap
87 msgid "DESCRIPTION"
88 msgstr "ОПИСАНИЕ"
89
90 #. type: Plain text
91 #: debian-trixie
92 msgid ""
93 "Enable or disable kernel management of Memory Protection eXtensions (MPX) "
94 "bounds tables."
95 msgstr ""
96
97 #. type: Plain text
98 #: debian-trixie
99 msgid ""
100 "MPX is a hardware-assisted mechanism for performing bounds checking on "
101 "pointers. It consists of a set of registers storing bounds information and "
102 "a set of special instruction prefixes that tell the CPU on which "
103 "instructions it should do bounds enforcement. There is a limited number of "
104 "these registers and when there are more pointers than registers, their "
105 "contents must be \"spilled\" into a set of tables. These tables are called "
106 "\"bounds tables\" and the MPX B<prctl>() operations control whether the "
107 "kernel manages their allocation and freeing."
108 msgstr ""
109 "MPX — полуаппаратный механизм проверки границ указателей. Он состоит из "
110 "набора регистров, хранящих информацию о границах и наборе специальных "
111 "префиксов инструкций, которые указывают ЦП, в каких инструкциях нужно "
112 "проверить границы. Число регистров ограничено и когда указателей становится "
113 "больше чем регистров, их содержимое нужно «засыпать» в набор таблиц. Эти "
114 "таблицы называются «таблицами границ» (bounds tables), а для управления их "
115 "заполнением и освобождением из ядра существуют операции MPX B<prctl>()."
116
117 #. type: Plain text
118 #: debian-trixie
119 msgid ""
120 "When management is enabled, the kernel will take over allocation and freeing "
121 "of the bounds tables. It does this by trapping the #BR exceptions that "
122 "result at first use of missing bounds tables and instead of delivering the "
123 "exception to user space, it allocates the table and populates the bounds "
124 "directory with the location of the new table. For freeing, the kernel "
125 "checks to see if bounds tables are present for memory which is not "
126 "allocated, and frees them if so."
127 msgstr ""
128 "Когда управление разрешено, ядро начинает следить за выделением и "
129 "освобождением таблиц границ. Это делается через ловлю исключений #BR, "
130 "которые возникают при первом использовании отсутствующей таблицы границ и в "
131 "результате доставляется исключение в пользовательское пространство, там "
132 "выделяется таблица и заполняется каталог границ с расположением новой "
133 "таблицы. Для освобождения ядро проверяет есть ли таблицы границ для "
134 "нераспределённой памяти и освобождает их если есть."
135
136 #. type: Plain text
137 #: debian-trixie
138 msgid ""
139 "Before enabling MPX management using B<PR_MPX_ENABLE_MANAGEMENT>, the "
140 "application must first have allocated a user-space buffer for the bounds "
141 "directory and placed the location of that directory in the I<bndcfgu> "
142 "register."
143 msgstr ""
144 "Перед включением управления MPX с помощью B<PR_MPX_ENABLE_MANAGEMENT> "
145 "приложение сначала должно выделить буфер в пользовательском пространстве для "
146 "каталог границ и поместить расположение этого каталоге в регистр I<bndcfgu>."
147
148 #. type: Plain text
149 #: debian-trixie
150 msgid ""
151 "These calls fail if the CPU or kernel does not support MPX. Kernel support "
152 "for MPX is enabled via the B<CONFIG_X86_INTEL_MPX> configuration option. "
153 "You can check whether the CPU supports MPX by looking for the I<mpx> CPUID "
154 "bit, like with the following command:"
155 msgstr ""
156 "Эти вызовы завершаются ошибкой, если ЦП или ядро не поддерживают MPX. "
157 "Поддержка MPX в ядре включается параметром настройки "
158 "B<CONFIG_X86_INTEL_MPX>. Вы можете проверить наличие поддержки MPX в ЦП "
159 "прочитав бит I<mpx> в CPUID следующей командой:"
160
161 #. type: Plain text
162 #: debian-trixie
163 #, no-wrap
164 msgid "cat /proc/cpuinfo | grep \\[aq] mpx \\[aq]\n"
165 msgstr ""
166
167 #. type: Plain text
168 #: debian-trixie
169 msgid ""
170 "A thread may not switch in or out of long (64-bit) mode while MPX is enabled."
171 msgstr ""
172 "Нить может не переключиться в «длинный» режим (64-битный) при включённом MPX."
173
174 #. type: Plain text
175 #: debian-trixie
176 msgid "All threads in a process are affected by these calls."
177 msgstr "Эти вызовы влияют на все нити процесса."
178
179 #. type: Plain text
180 #: debian-trixie
181 msgid ""
182 "The child of a B<fork>(2) inherits the state of MPX management. During "
183 "B<execve>(2), MPX management is reset to a state as if "
184 "B<PR_MPX_DISABLE_MANAGEMENT> had been called."
185 msgstr ""
186 "Потомок B<fork>(2) наследует состояние управления MPX. Во время B<execve>(2) "
187 "управление MPX сбрасывается в состояние, как если бы выполнился вызов "
188 "B<PR_MPX_DISABLE_MANAGEMENT>."
189
190 #. type: SH
191 #: debian-trixie
192 #, no-wrap
193 msgid "RETURN VALUE"
194 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
195
196 #. type: Plain text
197 #: debian-trixie
198 msgid ""
199 "On success, 0 is returned. On error, -1 is returned, and I<errno> is set to "
200 "indicate the error."
201 msgstr ""
202 "В случае успеха возвращается 0. В случае ошибки возвращается -1, а I<errno> "
203 "устанавливается в указание на ошибку."
204
205 #. type: SH
206 #: debian-trixie
207 #, no-wrap
208 msgid "ERRORS"
209 msgstr "ОШИБКИ"
210
211 #. type: TP
212 #: debian-trixie
213 #, no-wrap
214 msgid "B<ENXIO>"
215 msgstr "B<ENXIO>"
216
217 #. type: Plain text
218 #: debian-trixie
219 msgid ""
220 "The kernel or the CPU does not support MPX management. Check that the "
221 "kernel and processor have MPX support."
222 msgstr ""
223
224 #. type: SH
225 #: debian-trixie
226 #, no-wrap
227 msgid "STANDARDS"
228 msgstr "СТАНДАРТЫ"
229
230 #. type: Plain text
231 #: debian-trixie
232 msgid "None."
233 msgstr ""
234
235 #. type: SH
236 #: debian-trixie
237 #, no-wrap
238 msgid "HISTORY"
239 msgstr "ИСТОРИЯ"
240
241 #. commit fe3d197f84319d3bce379a9c0dc17b1f48ad358c
242 #. See also http://lwn.net/Articles/582712/
243 #. See also https://gcc.gnu.org/wiki/Intel%20MPX%20support%20in%20the%20GCC%20compiler
244 #. type: Plain text
245 #: debian-trixie
246 msgid "Linux 3.19. Removed in Linux 5.4. Only on x86."
247 msgstr ""
248
249 #. commit f240652b6032b48ad7fa35c5e701cc4c8d697c0b
250 #. See also https://lkml.kernel.org/r/[email protected]
251 #. type: Plain text
252 #: debian-trixie
253 msgid ""
254 "Due to a lack of toolchain support, B<PR_MPX_ENABLE_MANAGEMENT> and "
255 "B<PR_MPX_DISABLE_MANAGEMENT> are not supported in Linux 5.4 and later."
256 msgstr ""
257
258 #. type: SH
259 #: debian-trixie
260 #, no-wrap
261 msgid "SEE ALSO"
262 msgstr "СМОТРИТЕ ТАКЖЕ"
263
264 #. type: Plain text
265 #: debian-trixie
266 msgid "B<prctl>(2)"
267 msgstr "B<prctl>(2)"
268
269 #. type: Plain text
270 #: debian-trixie
271 msgid ""
272 "For further information on Intel MPX, see the kernel source file "
273 "I<Documentation/\\:x86/\\:intel_mpx.txt>."
274 msgstr ""