Debian Codegraph @

po/ru/man2/pkey_alloc.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 # Alexey, 2016.
5 # Azamat Hackimov <[email protected]>, 2014-2017.
6 # kogamatranslator49 <[email protected]>, 2015.
7 # Darima Kogan <[email protected]>, 2014.
8 # Max Is <[email protected]>, 2016.
9 # Yuri Kozlov <[email protected]>, 2011-2019.
10 # Иван Павлов <[email protected]>, 2017.
11 msgid ""
12 msgstr ""
13 "Project-Id-Version: manpages-l10n\n"
14 "POT-Creation-Date: 2026-06-05 06:35+0200\n"
15 "PO-Revision-Date: 2024-12-21 19:49+0300\n"
16 "Last-Translator: Yuri Kozlov <[email protected]>\n"
17 "Language-Team: Russian <[email protected]>\n"
18 "Language: ru\n"
19 "MIME-Version: 1.0\n"
20 "Content-Type: text/plain; charset=UTF-8\n"
21 "Content-Transfer-Encoding: 8bit\n"
22 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
23 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
24 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
25 "X-Generator: Lokalize 2.0\n"
26
27 #. type: TH
28 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
29 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
30 #, no-wrap
31 msgid "pkey_alloc"
32 msgstr "pkey_alloc"
33
34 #. type: TH
35 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
36 #: opensuse-tumbleweed
37 #, no-wrap
38 msgid "2026-02-08"
39 msgstr "8 февраля 2026 г."
40
41 #. type: TH
42 #: archlinux debian-unstable
43 #, fuzzy, no-wrap
44 #| msgid "Linux man-pages 6.17"
45 msgid "Linux man-pages 6.18"
46 msgstr "Справочные страницы Linux 6.17"
47
48 #. type: SH
49 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
50 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
51 #, no-wrap
52 msgid "NAME"
53 msgstr "НАИМЕНОВАНИЕ"
54
55 #. type: Plain text
56 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
57 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
58 msgid "pkey_alloc, pkey_free - allocate or free a protection key"
59 msgstr "pkey_alloc, pkey_free - выделяет или освобождает ключ защиты"
60
61 #. type: SH
62 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
63 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
64 #, no-wrap
65 msgid "LIBRARY"
66 msgstr "БИБЛИОТЕКА"
67
68 #. type: Plain text
69 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
70 #: opensuse-leap-16-1 opensuse-tumbleweed
71 msgid "Standard C library (I<libc>,\\ I<-lc>)"
72 msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)"
73
74 #. type: SH
75 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
76 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
77 #, no-wrap
78 msgid "SYNOPSIS"
79 msgstr "СИНТАКСИС"
80
81 #. type: Plain text
82 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
83 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
84 #, no-wrap
85 msgid ""
86 "B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n"
87 "B<#include E<lt>sys/mman.hE<gt>>\n"
88 msgstr ""
89 "B<#define _GNU_SOURCE> /* смотрите feature_test_macros(7) */\n"
90 "B<#include E<lt>sys/mman.hE<gt>>\n"
91
92 #. type: Plain text
93 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
94 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
95 #, no-wrap
96 msgid ""
97 "B<int pkey_alloc(unsigned int >I<flags>B<, unsigned int >I<access_rights>B<);>\n"
98 "B<int pkey_free(int >I<pkey>B<);>\n"
99 msgstr ""
100 "B<int pkey_alloc(unsigned int >I<flags>B<, unsigned int >I<access_rights>B<);>\n"
101 "B<int pkey_free(int >I<pkey>B<);>\n"
102
103 #. type: SH
104 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
105 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
106 #, no-wrap
107 msgid "DESCRIPTION"
108 msgstr "ОПИСАНИЕ"
109
110 #. type: Plain text
111 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
112 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
113 msgid ""
114 "B<pkey_alloc>() allocates a protection key (pkey) and allows it to be "
115 "passed to B<pkey_mprotect>(2)."
116 msgstr ""
117 "Вызов B<pkey_alloc>() выделяет ключ защиты (pkey), который можно передавать "
118 "в B<pkey_mprotect>(2)."
119
120 #. type: Plain text
121 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
122 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
123 msgid ""
124 "The B<pkey_alloc>() I<flags> is reserved for future use and currently must "
125 "always be specified as 0."
126 msgstr ""
127 "Аргумент I<flags> вызова B<pkey_alloc>() зарезервирован для использования в "
128 "будущем и в настоящее время должен равняться 0."
129
130 #. type: Plain text
131 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
132 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
133 msgid ""
134 "The B<pkey_alloc>() I<access_rights> argument may contain zero or more "
135 "disable operations:"
136 msgstr ""
137 "Аргумент I<access_rights> вызова B<pkey_alloc>() может содержать ноль или "
138 "более запретительных операций:"
139
140 #. type: TP
141 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
142 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
143 #, no-wrap
144 msgid "B<PKEY_DISABLE_ACCESS>"
145 msgstr "B<PKEY_DISABLE_ACCESS>"
146
147 #. type: Plain text
148 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
149 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
150 msgid ""
151 "Disable all data access to memory covered by the returned protection key."
152 msgstr ""
153 "Запретить доступ ко всем данным памяти, на которую наложен возвращаемый ключ."
154
155 #. type: TP
156 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
157 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
158 #, no-wrap
159 msgid "B<PKEY_DISABLE_WRITE>"
160 msgstr "B<PKEY_DISABLE_WRITE>"
161
162 #. type: Plain text
163 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
164 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
165 msgid "Disable write access to memory covered by the returned protection key."
166 msgstr ""
167 "Запретить доступ на запись в память, на которую наложен возвращаемый ключ."
168
169 #. type: Plain text
170 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
171 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
172 msgid ""
173 "B<pkey_free>() frees a protection key and makes it available for later "
174 "allocations. After a protection key has been freed, it may no longer be "
175 "used in any protection-key-related operations."
176 msgstr ""
177 "Вызов B<pkey_free>() освобождает ключ защиты и делает его доступным для "
178 "будущего выделения. После освобождения ключа защиты он может больше не "
179 "использоваться в операциях по защите ключом."
180
181 #. type: Plain text
182 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
183 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
184 msgid ""
185 "An application should not call B<pkey_free>() on any protection key which "
186 "has been assigned to an address range by B<pkey_mprotect>(2) and which is "
187 "still in use. The behavior in this case is undefined and may result in an "
188 "error."
189 msgstr ""
190 "Приложение не должно вызывать B<pkey_free>() с ключом защиты, который был "
191 "назначен адресному диапазону с помощью B<pkey_mprotect>(2) и который пока "
192 "используется. Это вызывает непредсказуемое поведение и может привести к "
193 "ошибке."
194
195 #. type: SH
196 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
197 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
198 #, no-wrap
199 msgid "RETURN VALUE"
200 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
201
202 #. type: Plain text
203 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
204 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
205 msgid ""
206 "On success, B<pkey_alloc>() returns a positive protection key value. On "
207 "success, B<pkey_free>() returns zero. On error, -1 is returned, and "
208 "I<errno> is set to indicate the error."
209 msgstr ""
210 "В случае успеха, B<pkey_alloc>() возвращает положительное значение ключа "
211 "защиты. В случае успеха, B<pkey_free>() возвращает ноль. В случае ошибки "
212 "возвращается -1, и I<errno> устанавливается, чтобы указать на ошибку."
213
214 #. type: SH
215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
217 #, no-wrap
218 msgid "ERRORS"
219 msgstr "ОШИБКИ"
220
221 #. type: TP
222 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
223 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
224 #, no-wrap
225 msgid "B<EINVAL>"
226 msgstr "B<EINVAL>"
227
228 #. type: Plain text
229 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
230 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
231 msgid "I<pkey>, I<flags>, or I<access_rights> is invalid."
232 msgstr "Неверное значение I<pkey>, I<flags> или I<access_rights>."
233
234 #. type: TP
235 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
236 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
237 #, no-wrap
238 msgid "B<ENOSPC>"
239 msgstr "B<ENOSPC>"
240
241 #. type: Plain text
242 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
243 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
244 msgid ""
245 "(B<pkey_alloc>()) All protection keys available for the current process "
246 "have been allocated. The number of keys available is architecture-specific "
247 "and implementation-specific and may be reduced by kernel-internal use of "
248 "certain keys. There are currently 15 keys available to user programs on x86."
249 msgstr ""
250 "(B<pkey_alloc>()) Все ключи защиты, доступные текущему процессу уже "
251 "распределены. Количество доступных ключей зависит от архитектуры и "
252 "реализации и может быть меньшим из-за использования отдельных ключей самим "
253 "ядром. В настоящее время на x86 для пользовательской программы доступно 15 "
254 "ключей."
255
256 #. type: Plain text
257 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
258 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
259 msgid ""
260 "This error will also be returned if the processor or operating system does "
261 "not support protection keys. Applications should always be prepared to "
262 "handle this error, since factors outside of the application's control can "
263 "reduce the number of available pkeys."
264 msgstr ""
265 "Также эта ошибка возвращается, если процессор или операционная система не "
266 "поддерживают ключи защиты. Приложения всегда должны быть готовы к получению "
267 "этой ошибки, так как приложение не может контролировать сокращение "
268 "количества доступных pkey."
269
270 #. type: SH
271 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
272 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
273 #, no-wrap
274 msgid "STANDARDS"
275 msgstr "СТАНДАРТЫ"
276
277 #. type: Plain text
278 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
279 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
280 msgid "Linux."
281 msgstr "Linux."
282
283 #. type: SH
284 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
285 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
286 #, no-wrap
287 msgid "HISTORY"
288 msgstr "ИСТОРИЯ"
289
290 #. type: Plain text
291 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
292 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
293 msgid "Linux 4.9, glibc 2.27."
294 msgstr "Linux 4.9, glibc 2.27."
295
296 #. type: SH
297 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
298 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
299 #, no-wrap
300 msgid "NOTES"
301 msgstr "ПРИМЕЧАНИЯ"
302
303 #. type: Plain text
304 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
305 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
306 msgid ""
307 "B<pkey_alloc>() is always safe to call regardless of whether or not the "
308 "operating system supports protection keys. It can be used in lieu of any "
309 "other mechanism for detecting pkey support and will simply fail with the "
310 "error B<ENOSPC> if the operating system has no pkey support."
311 msgstr ""
312 "Вызов B<pkey_alloc>() всегда безопасен в независимости от поддержки ключей "
313 "операционной системой. Его можно использовать как механизм определения "
314 "поддержки pkey; он всегда просто возвращает ошибку B<ENOSPC>, если "
315 "операционная система не поддерживает pkey."
316
317 #. type: Plain text
318 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
319 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
320 msgid ""
321 "The kernel guarantees that the contents of the hardware rights register "
322 "(PKRU) will be preserved only for allocated protection keys. Any time a key "
323 "is unallocated (either before the first call returning that key from "
324 "B<pkey_alloc>() or after it is freed via B<pkey_free>()), the kernel may "
325 "make arbitrary changes to the parts of the rights register affecting access "
326 "to that key."
327 msgstr ""
328 "Ядро гарантирует, что содержимое аппаратных регистров прав (PKRU) будет "
329 "сохранено только для выделенных ключей защиты. Пока ключ не выделен (до "
330 "первого вызова, возвращающего этот ключ B<pkey_alloc>(), или после его "
331 "освобождения с помощью B<pkey_free>()), ядро может вносить произвольные "
332 "изменения в части регистров прав, относящихся к этому ключу."
333
334 #. type: SH
335 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
336 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
337 #, no-wrap
338 msgid "EXAMPLES"
339 msgstr "ПРИМЕРЫ"
340
341 #. type: Plain text
342 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
343 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
344 msgid "See B<pkeys>(7)."
345 msgstr "Смотрите B<pkeys>(7)."
346
347 #. type: SH
348 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
349 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
350 #, no-wrap
351 msgid "SEE ALSO"
352 msgstr "СМОТРИТЕ ТАКЖЕ"
353
354 #. type: Plain text
355 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
356 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
357 msgid "B<pkey_mprotect>(2), B<pkeys>(7)"
358 msgstr "B<pkey_mprotect>(2), B<pkeys>(7)"
359
360 #. type: TH
361 #: debian-trixie
362 #, no-wrap
363 msgid "2024-05-02"
364 msgstr "2 мая 2024 г."
365
366 #. type: TH
367 #: debian-trixie
368 #, no-wrap
369 msgid "Linux man-pages 6.9.1"
370 msgstr "Страницы руководства Linux 6.9.1"
371
372 #. type: Plain text
373 #: debian-trixie
374 msgid "Standard C library (I<libc>, I<-lc>)"
375 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
376
377 #. type: TH
378 #: fedora-44 fedora-rawhide
379 #, no-wrap
380 msgid "2024-07-23"
381 msgstr "23 июля 2024 г."
382
383 #. type: TH
384 #: fedora-44 fedora-rawhide
385 #, no-wrap
386 msgid "Linux man-pages 6.13"
387 msgstr "Страницы руководства Linux 6.13"
388
389 #. type: TH
390 #: mageia-cauldron
391 #, no-wrap
392 msgid "Linux man-pages 6.17"
393 msgstr "Страницы руководства Linux 6.17"
394
395 #. type: TH
396 #: opensuse-leap-16-1 opensuse-tumbleweed
397 #, no-wrap
398 msgid "Linux man-pages (unreleased)"
399 msgstr "Страницы руководства Linux (не выпущены)"