Debian Codegraph @

po/ru/man2/memfd_secret.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 # aereiae <[email protected]>, 2014.
5 # Alexey <[email protected]>, 2015.
6 # Azamat Hackimov <[email protected]>, 2013-2017.
7 # Dmitriy S. Seregin <[email protected]>, 2013.
8 # Dmitry Bolkhovskikh <[email protected]>, 2017.
9 # ITriskTI <[email protected]>, 2013.
10 # Max Is <[email protected]>, 2016.
11 # Yuri Kozlov <[email protected]>, 2011-2019.
12 # Иван Павлов <[email protected]>, 2017.
13 # Малянов Евгений Викторович <[email protected]>, 2014.
14 msgid ""
15 msgstr ""
16 "Project-Id-Version: manpages-l10n\n"
17 "POT-Creation-Date: 2026-06-05 06:31+0200\n"
18 "PO-Revision-Date: 2024-12-21 19:49+0300\n"
19 "Last-Translator: Yuri Kozlov <[email protected]>\n"
20 "Language-Team: Russian <[email protected]>\n"
21 "Language: ru\n"
22 "MIME-Version: 1.0\n"
23 "Content-Type: text/plain; charset=UTF-8\n"
24 "Content-Transfer-Encoding: 8bit\n"
25 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
26 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
27 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
28 "X-Generator: Lokalize 2.0\n"
29
30 #. type: TH
31 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
32 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
33 #, no-wrap
34 msgid "memfd_secret"
35 msgstr "memfd_secret"
36
37 #. type: TH
38 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
39 #: opensuse-tumbleweed
40 #, no-wrap
41 msgid "2026-02-08"
42 msgstr "8 февраля 2026 г."
43
44 #. type: TH
45 #: archlinux debian-unstable
46 #, fuzzy, no-wrap
47 #| msgid "Linux man-pages 6.17"
48 msgid "Linux man-pages 6.18"
49 msgstr "Справочные страницы Linux 6.17"
50
51 #. type: SH
52 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
53 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
54 #, no-wrap
55 msgid "NAME"
56 msgstr "НАИМЕНОВАНИЕ"
57
58 #. type: Plain text
59 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
60 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
61 #, fuzzy
62 #| msgid "memfd_create - create an anonymous file"
63 msgid ""
64 "memfd_secret - create an anonymous RAM-based file to access secret memory "
65 "regions"
66 msgstr "memfd_create - создаёт анонимный файл"
67
68 #. type: SH
69 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
70 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
71 #, no-wrap
72 msgid "LIBRARY"
73 msgstr "БИБЛИОТЕКА"
74
75 #. type: Plain text
76 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
77 #: opensuse-leap-16-1 opensuse-tumbleweed
78 msgid "Standard C library (I<libc>,\\ I<-lc>)"
79 msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)"
80
81 #. type: SH
82 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
83 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
84 #, no-wrap
85 msgid "SYNOPSIS"
86 msgstr "СИНТАКСИС"
87
88 #. type: Plain text
89 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
90 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
91 #, no-wrap
92 msgid ""
93 "B<#include E<lt>sys/syscall.hE<gt>> /* Definition of B<SYS_*> constants */\n"
94 "B<#include E<lt>unistd.hE<gt>>\n"
95 msgstr ""
96 "B<#include E<lt>sys/syscall.hE<gt>> /* определения констант B<SYS_*> */\n"
97 "B<#include E<lt>unistd.hE<gt>>\n"
98
99 #. type: Plain text
100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
102 #, no-wrap
103 msgid "B<int syscall(SYS_memfd_secret, unsigned int >I<flags>B<);>\n"
104 msgstr "B<int syscall(SYS_memfd_secret, unsigned int >I<flags>B<);>\n"
105
106 #. type: Plain text
107 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
108 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
109 msgid ""
110 "I<Note>: glibc provides no wrapper for B<memfd_secret>(), necessitating the "
111 "use of B<syscall>(2)."
112 msgstr ""
113
114 #. type: SH
115 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
116 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
117 #, no-wrap
118 msgid "DESCRIPTION"
119 msgstr "ОПИСАНИЕ"
120
121 #. type: Plain text
122 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
123 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
124 msgid ""
125 "B<memfd_secret>() creates an anonymous RAM-based file and returns a file "
126 "descriptor that refers to it. The file provides a way to create and access "
127 "memory regions with stronger protection than usual RAM-based files and "
128 "anonymous memory mappings. Once all open references to the file are closed, "
129 "it is automatically released. The initial size of the file is set to 0. "
130 "Following the call, the file size should be set using B<ftruncate>(2)."
131 msgstr ""
132
133 #. type: Plain text
134 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
135 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
136 msgid ""
137 "The memory areas backing the file created with B<memfd_secret>(2) are "
138 "visible only to the processes that have access to the file descriptor. The "
139 "memory region is removed from the kernel page tables and only the page "
140 "tables of the processes holding the file descriptor map the corresponding "
141 "physical memory. (Thus, the pages in the region can't be accessed by the "
142 "kernel itself, so that, for example, pointers to the region can't be passed "
143 "to system calls.)"
144 msgstr ""
145
146 #. type: Plain text
147 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
148 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
149 msgid ""
150 "The following values may be bitwise ORed in I<flags> to control the behavior "
151 "of B<memfd_secret>():"
152 msgstr ""
153 "Для изменения поведения B<memfd_secret>() можно использовать следующие "
154 "значения I<flags> (через OR):"
155
156 #. type: TP
157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
158 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
159 #, no-wrap
160 msgid "B<FD_CLOEXEC>"
161 msgstr "B<FD_CLOEXEC>"
162
163 #. type: Plain text
164 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
165 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
166 #, fuzzy
167 #| msgid ""
168 #| "Set the close-on-exec (B<FD_CLOEXEC>) flag on the new file descriptor. "
169 #| "See the description of the B<O_CLOEXEC> flag in B<open>(2) for reasons "
170 #| "why this may be useful."
171 msgid ""
172 "Set the close-on-exec flag on the new file descriptor, which causes the "
173 "region to be removed from the process on B<execve>(2). See the description "
174 "of the B<O_CLOEXEC> flag in B<open>(2)"
175 msgstr ""
176 "Устанавливает флаг close-on-exec (B<FD_CLOEXEC>) для нового открытого "
177 "файлового дескриптора. Смотрите описание флага B<O_CLOEXEC> в B<open>(2) для "
178 "того, чтобы узнать как это может пригодиться."
179
180 #. type: Plain text
181 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
182 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
183 #, fuzzy
184 #| msgid ""
185 #| "As its return value, B<memfd_create>() returns a new file descriptor "
186 #| "that can be used to refer to the file. This file descriptor is opened "
187 #| "for both reading and writing (B<O_RDWR>) and B<O_LARGEFILE> is set for "
188 #| "the file descriptor."
189 msgid ""
190 "As its return value, B<memfd_secret>() returns a new file descriptor that "
191 "refers to an anonymous file. This file descriptor is opened for both "
192 "reading and writing (B<O_RDWR>) and B<O_LARGEFILE> is set for the file "
193 "descriptor."
194 msgstr ""
195 "В качестве возвращаемого значения B<memfd_create>() возвращает новый "
196 "файловый дескриптор, который можно использовать для обращения к файлу. "
197 "Данный файловый дескриптор открыт на чтение и запись (B<O_RDWR>) и в "
198 "файловом дескрипторе установлен флаг B<O_LARGEFILE>."
199
200 #. type: Plain text
201 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
202 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
203 msgid ""
204 "With respect to B<fork>(2) and B<execve>(2), the usual semantics apply for "
205 "the file descriptor created by B<memfd_secret>(). A copy of the file "
206 "descriptor is inherited by the child produced by B<fork>(2) and refers to "
207 "the same file. The file descriptor is preserved across B<execve>(2), unless "
208 "the close-on-exec flag has been set."
209 msgstr ""
210 "При вызове B<fork>(2) и B<execve>(2) с файловым дескриптором, созданным "
211 "B<memfd_secret>(), применяется обычная семантика. Копия файлового "
212 "дескриптора наследуется потомком, созданным B<fork>(2), указывает на тот же "
213 "файл. Файловый дескриптор сохраняется при после B<execve>(2), если не "
214 "установлен флаг close-on-exec."
215
216 #. type: Plain text
217 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
218 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
219 msgid ""
220 "The memory region is locked into memory in the same way as with B<mlock>(2), "
221 "so that it will never be written into swap, and hibernation is inhibited for "
222 "as long as any B<memfd_secret>() descriptions exist. However the "
223 "implementation of B<memfd_secret>() will not try to populate the whole "
224 "range during the B<mmap>(2) call that attaches the region into the "
225 "process's address space; instead, the pages are only actually allocated as "
226 "they are faulted in. The amount of memory allowed for memory mappings of "
227 "the file descriptor obeys the same rules as B<mlock>(2) and cannot exceed "
228 "B<RLIMIT_MEMLOCK>."
229 msgstr ""
230
231 #. type: SH
232 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
233 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
234 #, no-wrap
235 msgid "RETURN VALUE"
236 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
237
238 #. type: Plain text
239 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
240 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
241 msgid ""
242 "On success, B<memfd_secret>() returns a new file descriptor. On error, -1 "
243 "is returned and I<errno> is set to indicate the error."
244 msgstr ""
245 "При успешном выполнении B<memfd_secret>() возвращает новый файловый "
246 "дескриптор. При ошибке возвращается -1, и I<errno> устанавливается в "
247 "соответствующее значение."
248
249 #. type: SH
250 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
251 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
252 #, no-wrap
253 msgid "ERRORS"
254 msgstr "ОШИБКИ"
255
256 #. type: TP
257 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
258 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
259 #, no-wrap
260 msgid "B<EINVAL>"
261 msgstr "B<EINVAL>"
262
263 #. type: Plain text
264 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
265 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
266 msgid "I<flags> included unknown bits."
267 msgstr "В I<flags> указаны неизвестные биты."
268
269 #. type: TP
270 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
271 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
272 #, no-wrap
273 msgid "B<EMFILE>"
274 msgstr "B<EMFILE>"
275
276 #. type: Plain text
277 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
278 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
279 msgid ""
280 "The per-process limit on the number of open file descriptors has been "
281 "reached."
282 msgstr ""
283 "Было достигнуто ограничение по количеству открытых файловых дескрипторов на "
284 "процесс."
285
286 #. type: Plain text
287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
288 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
289 msgid ""
290 "The system-wide limit on the total number of open files has been reached."
291 msgstr "Достигнуто максимальное количество открытых файлов в системе."
292
293 #. type: TP
294 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
295 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
296 #, no-wrap
297 msgid "B<ENOMEM>"
298 msgstr "B<ENOMEM>"
299
300 #. type: Plain text
301 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
302 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
303 msgid "There was insufficient memory to create a new anonymous file."
304 msgstr "Недостаточно памяти для создания нового анонимного файла."
305
306 #. type: TP
307 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
308 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
309 #, no-wrap
310 msgid "B<ENOSYS>"
311 msgstr "B<ENOSYS>"
312
313 #. type: Plain text
314 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
315 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
316 msgid ""
317 "B<memfd_secret>() is not implemented on this architecture, or has not been "
318 "enabled on the kernel command-line with B<secretmem_enable>=1."
319 msgstr ""
320
321 #. type: SH
322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
324 #, no-wrap
325 msgid "STANDARDS"
326 msgstr "СТАНДАРТЫ"
327
328 #. type: Plain text
329 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
330 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
331 msgid "Linux."
332 msgstr "Linux."
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 "HISTORY"
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 "Linux 5.14."
345 msgstr ""
346
347 #. commit b758fe6df50daf68fef089d8f3c1cd49fc794ed2
348 #. type: Plain text
349 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
350 #: opensuse-tumbleweed
351 msgid ""
352 "Before Linux 6.5, B<memfd_secret>() was disabled by default and only "
353 "available if the system administrator turned it on using "
354 "\"secretmem.enable=y\" kernel parameter."
355 msgstr ""
356
357 #. type: SH
358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
359 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
360 #, no-wrap
361 msgid "NOTES"
362 msgstr "ПРИМЕЧАНИЯ"
363
364 #. type: Plain text
365 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
366 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
367 msgid ""
368 "The B<memfd_secret>() system call is designed to allow a user-space process "
369 "to create a range of memory that is inaccessible to anybody else - kernel "
370 "included. There is no 100% guarantee that kernel won't be able to access "
371 "memory ranges backed by B<memfd_secret>() in any circumstances, but "
372 "nevertheless, it is much harder to exfiltrate data from these regions."
373 msgstr ""
374
375 #. type: Plain text
376 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
377 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
378 msgid "B<memfd_secret>() provides the following protections:"
379 msgstr ""
380
381 #. type: IP
382 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
383 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
384 #, no-wrap
385 msgid "\\[bu]"
386 msgstr "\\[bu]"
387
388 #. type: Plain text
389 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
390 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
391 msgid ""
392 "Enhanced protection (in conjunction with all the other in-kernel attack "
393 "prevention systems) against ROP attacks. Absence of any in-kernel "
394 "primitive for accessing memory backed by B<memfd_secret>() means that one-"
395 "gadget ROP attack can't work to perform data exfiltration. The attacker "
396 "would need to find enough ROP gadgets to reconstruct the missing page table "
397 "entries, which significantly increases difficulty of the attack, especially "
398 "when other protections like the kernel stack size limit and address space "
399 "layout randomization are in place."
400 msgstr ""
401
402 #. type: Plain text
403 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
404 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
405 msgid ""
406 "Prevent cross-process user-space memory exposures. Once a region for a "
407 "B<memfd_secret>() memory mapping is allocated, the user can't accidentally "
408 "pass it into the kernel to be transmitted somewhere. The memory pages in "
409 "this region cannot be accessed via the direct map and they are disallowed in "
410 "get_user_pages."
411 msgstr ""
412
413 #. type: Plain text
414 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
415 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
416 msgid ""
417 "Harden against exploited kernel flaws. In order to access memory areas "
418 "backed by B<memfd_secret>(), a kernel-side attack would need to either walk "
419 "the page tables and create new ones, or spawn a new privileged user-space "
420 "process to perform secrets exfiltration using B<ptrace>(2)."
421 msgstr ""
422
423 #. type: Plain text
424 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
425 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
426 msgid ""
427 "To prevent potential data leaks of memory regions backed by "
428 "B<memfd_secret>() from a hybernation image, hybernation is prevented when "
429 "there are active B<memfd_secret>() users."
430 msgstr ""
431
432 #. type: SH
433 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
434 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
435 #, no-wrap
436 msgid "SEE ALSO"
437 msgstr "СМОТРИТЕ ТАКЖЕ"
438
439 #. type: Plain text
440 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
441 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
442 msgid ""
443 "B<fcntl>(2), B<ftruncate>(2), B<mlock>(2), B<memfd_create>(2), B<mmap>(2), "
444 "B<setrlimit>(2)"
445 msgstr ""
446 "B<fcntl>(2), B<ftruncate>(2), B<mlock>(2), B<memfd_create>(2), B<mmap>(2), "
447 "B<setrlimit>(2)"
448
449 #. type: TH
450 #: debian-trixie
451 #, no-wrap
452 msgid "2024-05-02"
453 msgstr "2 мая 2024 г."
454
455 #. type: TH
456 #: debian-trixie
457 #, no-wrap
458 msgid "Linux man-pages 6.9.1"
459 msgstr "Страницы руководства Linux 6.9.1"
460
461 #. type: Plain text
462 #: debian-trixie
463 msgid "Standard C library (I<libc>, I<-lc>)"
464 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
465
466 #. type: Plain text
467 #: debian-trixie fedora-44 fedora-rawhide
468 msgid ""
469 "The way B<memfd_secret>() allocates and locks the memory may impact overall "
470 "system performance, therefore the system call is disabled by default and "
471 "only available if the system administrator turned it on using "
472 "\"secretmem.enable=y\" kernel parameter."
473 msgstr ""
474
475 #. type: TH
476 #: fedora-44 fedora-rawhide
477 #, no-wrap
478 msgid "2024-07-23"
479 msgstr "23 июля 2024 г."
480
481 #. type: TH
482 #: fedora-44 fedora-rawhide
483 #, no-wrap
484 msgid "Linux man-pages 6.13"
485 msgstr "Страницы руководства Linux 6.13"
486
487 #. type: TH
488 #: mageia-cauldron
489 #, no-wrap
490 msgid "Linux man-pages 6.17"
491 msgstr "Страницы руководства Linux 6.17"
492
493 #. type: TH
494 #: opensuse-leap-16-1 opensuse-tumbleweed
495 #, no-wrap
496 msgid "Linux man-pages (unreleased)"
497 msgstr "Страницы руководства Linux (не выпущены)"