Debian Codegraph @

po/ru/man3/fexecve.3.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 # Azamat Hackimov <[email protected]>, 2017.
5 # Dmitry Bolkhovskikh <[email protected]>, 2017.
6 # Yuri Kozlov <[email protected]>, 2011-2019.
7 # Иван Павлов <[email protected]>, 2017.
8 msgid ""
9 msgstr ""
10 "Project-Id-Version: manpages-l10n\n"
11 "POT-Creation-Date: 2026-06-05 06:24+0200\n"
12 "PO-Revision-Date: 2024-12-21 19:50+0300\n"
13 "Last-Translator: Yuri Kozlov <[email protected]>\n"
14 "Language-Team: Russian <[email protected]>\n"
15 "Language: ru\n"
16 "MIME-Version: 1.0\n"
17 "Content-Type: text/plain; charset=UTF-8\n"
18 "Content-Transfer-Encoding: 8bit\n"
19 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
20 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
21 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
22 "X-Generator: Lokalize 2.0\n"
23
24 #. type: TH
25 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
26 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
27 #, fuzzy, no-wrap
28 #| msgid "B<fexecve>()"
29 msgid "fexecve"
30 msgstr "B<fexecve>()"
31
32 #. type: TH
33 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
34 #: opensuse-tumbleweed
35 #, no-wrap
36 msgid "2026-02-08"
37 msgstr "8 февраля 2026 г."
38
39 #. type: TH
40 #: archlinux debian-unstable
41 #, fuzzy, no-wrap
42 #| msgid "Linux man-pages 6.17"
43 msgid "Linux man-pages 6.18"
44 msgstr "Справочные страницы Linux 6.17"
45
46 #. type: SH
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 #, no-wrap
50 msgid "NAME"
51 msgstr "НАИМЕНОВАНИЕ"
52
53 #. type: Plain text
54 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
55 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
56 msgid "fexecve - execute program specified via file descriptor"
57 msgstr "fexecve - запускает программу, заданную файловым дескриптором"
58
59 #. type: SH
60 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
61 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
62 #, no-wrap
63 msgid "LIBRARY"
64 msgstr "БИБЛИОТЕКА"
65
66 #. type: Plain text
67 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
68 #: opensuse-leap-16-1 opensuse-tumbleweed
69 msgid "Standard C library (I<libc>,\\ I<-lc>)"
70 msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)"
71
72 #. type: SH
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
75 #, no-wrap
76 msgid "SYNOPSIS"
77 msgstr "СИНТАКСИС"
78
79 #. type: Plain text
80 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
81 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
82 #, no-wrap
83 msgid "B<#include E<lt>unistd.hE<gt>>\n"
84 msgstr "B<#include E<lt>unistd.hE<gt>>\n"
85
86 #. type: Plain text
87 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
88 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
89 #, no-wrap
90 msgid "B<int fexecve(int >I<fd>B<, char *const >I<argv>B<[], char *const >I<envp>B<[]);>\n"
91 msgstr "B<int fexecve(int >I<fd>B<, char *const >I<argv>B<[], char *const >I<envp>B<[]);>\n"
92
93 #. type: Plain text
94 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
95 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
96 msgid ""
97 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
98 msgstr ""
99 "Требования макроса тестирования свойств для glibc (см. "
100 "B<feature_test_macros>(7)):"
101
102 #. type: Plain text
103 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
104 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
105 msgid "B<fexecve>():"
106 msgstr "B<fexecve>():"
107
108 #. type: Plain text
109 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
110 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
111 #, no-wrap
112 msgid ""
113 " Since glibc 2.10:\n"
114 " _POSIX_C_SOURCE E<gt>= 200809L\n"
115 " Before glibc 2.10:\n"
116 " _GNU_SOURCE\n"
117 msgstr ""
118 " Начиная с glibc 2.10:\n"
119 " _POSIX_C_SOURCE E<gt>= 200809L\n"
120 " До glibc 2.10:\n"
121 " _BSD_SOURCE\n"
122
123 #. type: SH
124 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
125 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
126 #, no-wrap
127 msgid "DESCRIPTION"
128 msgstr "ОПИСАНИЕ"
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 "B<fexecve>() performs the same task as B<execve>(2), with the difference "
135 "that the file to be executed is specified via a file descriptor, I<fd>, "
136 "rather than via a pathname. The file descriptor I<fd> must be opened read-"
137 "only (B<O_RDONLY>) or with the B<O_PATH> flag and the caller must have "
138 "permission to execute the file that it refers to."
139 msgstr ""
140 "Функция B<fexecve>() выполняет ту же задачу, что и B<execve>(2), только "
141 "выполняемый файл указывается посредством файлового дескриптора I<fd>, а не "
142 "через путь к файлу. Файловый дескриптор I<fd> должен быть открыт только для "
143 "чтения (B<O_RDONLY>) или иметь флаг B<O_PATH> и вызывающий должен иметь "
144 "право на выполнение файла, на который ссылается дескриптор."
145
146 #. type: SH
147 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
148 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
149 #, no-wrap
150 msgid "RETURN VALUE"
151 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
152
153 #. type: Plain text
154 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
155 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
156 #, fuzzy
157 #| msgid ""
158 #| "A successful call to B<fexecve>() never returns. On error, the function "
159 #| "does return, with a result value of -1, and I<errno> is set appropriately."
160 msgid ""
161 "A successful call to B<fexecve>() never returns. On error, the function "
162 "does return, with a result value of -1, and I<errno> is set to indicate the "
163 "error."
164 msgstr ""
165 "При успешном выполнении B<fexecve>() не возвращает управление. При ошибке "
166 "функция возвращает выполнение с результатом -1, а I<errno> устанавливает в "
167 "соответствующее значение."
168
169 #. type: SH
170 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
171 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
172 #, no-wrap
173 msgid "ERRORS"
174 msgstr "ОШИБКИ"
175
176 #. type: Plain text
177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
179 msgid "Errors are as for B<execve>(2), with the following additions:"
180 msgstr "Возникают те же ошибки что и для B<execve>(2), а также дополнительно:"
181
182 #. type: TP
183 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
184 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
185 #, no-wrap
186 msgid "B<EINVAL>"
187 msgstr "B<EINVAL>"
188
189 #. type: Plain text
190 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
191 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
192 msgid ""
193 "I<fd> is not a valid file descriptor, or I<argv> is NULL, or I<envp> is NULL."
194 msgstr ""
195 "Значение I<fd> не является правильным файловым дескриптором или I<argv> "
196 "равно NULL, или I<envp> равно NULL."
197
198 #. type: TP
199 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
200 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
201 #, no-wrap
202 msgid "B<ENOENT>"
203 msgstr "B<ENOENT>"
204
205 #. type: Plain text
206 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
207 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
208 msgid ""
209 "The close-on-exec flag is set on I<fd>, and I<fd> refers to a script. See "
210 "BUGS."
211 msgstr ""
212 "На I<fd> установлен флаг close-on-exec и I<fd> ссылается на сценарий. "
213 "Смотрите ДЕФЕКТЫ."
214
215 #. type: TP
216 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
217 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
218 #, no-wrap
219 msgid "B<ENOSYS>"
220 msgstr "B<ENOSYS>"
221
222 #. type: Plain text
223 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
224 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
225 msgid ""
226 "The kernel does not provide the B<execveat>(2) system call, and the I</"
227 "proc> filesystem could not be accessed."
228 msgstr ""
229 "Ядро не предоставляет системный вызов B<execveat>(2) и файловая система I</"
230 "proc> недоступна."
231
232 #. type: SH
233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
235 #, no-wrap
236 msgid "ATTRIBUTES"
237 msgstr "АТРИБУТЫ"
238
239 #. type: Plain text
240 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
241 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
242 msgid ""
243 "For an explanation of the terms used in this section, see B<attributes>(7)."
244 msgstr "Описание терминов данного раздела смотрите в B<attributes>(7)."
245
246 #. type: tbl table
247 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
248 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
249 #, no-wrap
250 msgid "Interface"
251 msgstr "Интерфейс"
252
253 #. type: tbl table
254 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
255 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
256 #, no-wrap
257 msgid "Attribute"
258 msgstr "Атрибут"
259
260 #. type: tbl table
261 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
262 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
263 #, no-wrap
264 msgid "Value"
265 msgstr "Значение"
266
267 #. type: tbl table
268 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
269 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
270 #, no-wrap
271 msgid ".na\n"
272 msgstr ".na\n"
273
274 #. type: tbl table
275 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
276 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
277 #, no-wrap
278 msgid ".nh\n"
279 msgstr ".nh\n"
280
281 #. type: tbl table
282 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
283 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
284 #, no-wrap
285 msgid "B<fexecve>()"
286 msgstr "B<fexecve>()"
287
288 #. type: tbl table
289 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
290 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
291 #, no-wrap
292 msgid "Thread safety"
293 msgstr "Безвредность в нитях"
294
295 #. type: tbl table
296 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
297 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
298 #, no-wrap
299 msgid "MT-Safe"
300 msgstr "MT-Safe"
301
302 #. type: SH
303 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
304 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
305 #, no-wrap
306 msgid "STANDARDS"
307 msgstr "СТАНДАРТЫ"
308
309 #. type: Plain text
310 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
311 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
312 msgid "POSIX.1-2008."
313 msgstr "POSIX.1-2008."
314
315 #. type: SH
316 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
317 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
318 #, no-wrap
319 msgid "HISTORY"
320 msgstr "ИСТОРИЯ"
321
322 #. type: Plain text
323 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
324 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
325 #, fuzzy
326 #| msgid "Since glibc 2.2.2:"
327 msgid "glibc 2.3.2."
328 msgstr "Начиная с glibc 2.2.2:"
329
330 #. glibc commit 43ffc53a352a67672210c9dd4959f6c6b7407e60
331 #. type: Plain text
332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
333 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
334 msgid ""
335 "On Linux with glibc versions 2.26 and earlier, B<fexecve>() is implemented "
336 "using the B<proc>(5) filesystem, so I</proc> needs to be mounted and "
337 "available at the time of the call. Since glibc 2.27, if the underlying "
338 "kernel supports the B<execveat>(2) system call, then B<fexecve>() is "
339 "implemented using that system call, with the benefit that I</proc> does not "
340 "need to be mounted."
341 msgstr ""
342 "В Linux c glibc с версией 2.26 и старее функция B<fexecve>() реализована с "
343 "использованием файловой системы B<proc>(5), поэтому I</proc> должна быть "
344 "смонтирована и доступна на момент вызова. Начиная с glibc 2.27, если "
345 "используемое ядро поддерживает системный вызов B<execveat>(2), то "
346 "B<fexecve>() реализуется через этот системный вызов и I</proc> монтировать "
347 "уже не нужно."
348
349 #. type: SH
350 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
351 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
352 #, no-wrap
353 msgid "NOTES"
354 msgstr "ПРИМЕЧАНИЯ"
355
356 #. type: Plain text
357 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
358 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
359 msgid ""
360 "The idea behind B<fexecve>() is to allow the caller to verify (checksum) "
361 "the contents of an executable before executing it. Simply opening the file, "
362 "checksumming the contents, and then doing an B<execve>(2) would not "
363 "suffice, since, between the two steps, the filename, or a directory prefix "
364 "of the pathname, could have been exchanged (by, for example, modifying the "
365 "target of a symbolic link). B<fexecve>() does not mitigate the problem "
366 "that the I<contents> of a file could be changed between the checksumming and "
367 "the call to B<fexecve>(); for that, the solution is to ensure that the "
368 "permissions on the file prevent it from being modified by malicious users."
369 msgstr ""
370 "Предназначение B<fexecve>() — позволить вызывающему проверить содержимое "
371 "исполняемого файла (контрольную сумму) до запуска. Простого открытия файла, "
372 "вычисления контрольной суммы содержимого и выполнения B<execve>(2) "
373 "недостаточно, так как между двумя этими шагами может измениться имя файла "
374 "или каталог пути (например, посредством изменения цели символьной ссылки). "
375 "Функция B<fexecve>() не решает проблему возможного изменения I<содержимого> "
376 "файла между проверкой контрольной суммы и вызовом B<fexecve>() — для этого "
377 "есть права на файл, которые должны предотвращать его несанкционированное "
378 "изменение."
379
380 #. type: Plain text
381 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
382 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
383 msgid ""
384 "The natural idiom when using B<fexecve>() is to set the close-on-exec flag "
385 "on I<fd>, so that the file descriptor does not leak through to the program "
386 "that is executed. This approach is natural for two reasons. First, it "
387 "prevents file descriptors being consumed unnecessarily. (The executed "
388 "program normally has no need of a file descriptor that refers to the program "
389 "itself.) Second, if B<fexecve>() is used recursively, employing the close-"
390 "on-exec flag prevents the file descriptor exhaustion that would result from "
391 "the fact that each step in the recursion would cause one more file "
392 "descriptor to be passed to the new program. (But see BUGS.)"
393 msgstr ""
394 "Естественная идиома при использовании B<fexecve>() — установить флаг "
395 "закрытия-при-выполнении на I<fd> для того, чтобы дескриптор файла не утекал "
396 "выполняемой программе. Этот подход естественен по двум причинам. Во-первых, "
397 "это предотвращает трату дескрипторов файлов без надобности (выполняемой "
398 "программе, обычно, не нужен дескриптор файла, который ссылается на саму "
399 "программу). Во-вторых, если B<fexecve>() использовать рекурсивно, то "
400 "применение флага закрытия-при-выполнении предотвращает исчерпание "
401 "дескрипторов файлов, которое произошло бы, так как каждый шаг в рекурсии "
402 "вызывает передачу ещё одного дескриптора файла новой программе (но смотрите "
403 "ДЕФЕКТЫ)."
404
405 #. type: SH
406 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
407 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
408 #, no-wrap
409 msgid "BUGS"
410 msgstr "ПРОГРАММНЫЕ ОШИБКИ"
411
412 #. type: Plain text
413 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
414 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
415 msgid ""
416 "If I<fd> refers to a script (i.e., it is an executable text file that names "
417 "a script interpreter with a first line that begins with the characters I<#!"
418 ">) and the close-on-exec flag has been set for I<fd>, then B<fexecve>() "
419 "fails with the error B<ENOENT>. This error occurs because, by the time the "
420 "script interpreter is executed, I<fd> has already been closed because of the "
421 "close-on-exec flag. Thus, the close-on-exec flag can't be set on I<fd> if "
422 "it refers to a script, leading to the problems described in NOTES."
423 msgstr ""
424 "Если I<fd> ссылается на сценарий (т. е., это исполняемый текстовый файл, у "
425 "которого в первой строке (начинается с I<#!>) указан интерпретатор сценария "
426 "и флаг закрытия-при-выполнении установлен на I<fd>, то B<fexecve>() "
427 "завершается с ошибкой B<ENOENT>. Эта ошибка возникает потому, что на момент "
428 "выполнения интерпретатора сценария I<fd> уже закрыт, так как указан флаг "
429 "закрытия-при-выполнении. Таким образом флаг закрытия-при-выполнении не может "
430 "быть установлен I<fd>, если он указывает на сценарий, так как это приводит к "
431 "проблемам, описанным в ЗАМЕЧАНИЯХ."
432
433 #. type: SH
434 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
435 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
436 #, no-wrap
437 msgid "SEE ALSO"
438 msgstr "СМОТРИТЕ ТАКЖЕ"
439
440 #. type: Plain text
441 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
442 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
443 msgid "B<execve>(2), B<execveat>(2)"
444 msgstr "B<execve>(2), B<execveat>(2)"
445
446 #. type: TH
447 #: debian-trixie
448 #, no-wrap
449 msgid "2024-05-02"
450 msgstr "2 мая 2024 г."
451
452 #. type: TH
453 #: debian-trixie
454 #, no-wrap
455 msgid "Linux man-pages 6.9.1"
456 msgstr "Страницы руководства Linux 6.9.1"
457
458 #. type: Plain text
459 #: debian-trixie
460 msgid "Standard C library (I<libc>, I<-lc>)"
461 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
462
463 #. type: TH
464 #: fedora-44 fedora-rawhide
465 #, no-wrap
466 msgid "2024-07-23"
467 msgstr "23 июля 2024 г."
468
469 #. type: TH
470 #: fedora-44 fedora-rawhide
471 #, no-wrap
472 msgid "Linux man-pages 6.13"
473 msgstr "Страницы руководства Linux 6.13"
474
475 #. type: TH
476 #: mageia-cauldron
477 #, no-wrap
478 msgid "Linux man-pages 6.17"
479 msgstr "Страницы руководства Linux 6.17"
480
481 #. type: TH
482 #: opensuse-leap-16-1 opensuse-tumbleweed
483 #, no-wrap
484 msgid "Linux man-pages (unreleased)"
485 msgstr "Страницы руководства Linux (не выпущены)"