Debian Codegraph @

po/ru/man2/execveat.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 # Azamat Hackimov <[email protected]>, 2012.
5 # Yuri Kozlov <[email protected]>, 2011-2019.
6 # Иван Павлов <[email protected]>, 2017.
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: manpages-l10n\n"
10 "POT-Creation-Date: 2026-06-05 06:23+0200\n"
11 "PO-Revision-Date: 2024-12-21 19:49+0300\n"
12 "Last-Translator: Yuri Kozlov <[email protected]>\n"
13 "Language-Team: Russian <[email protected]>\n"
14 "Language: ru\n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
19 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
20 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
21 "X-Generator: Lokalize 2.0\n"
22
23 #. type: TH
24 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
25 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
26 #, no-wrap
27 msgid "execveat"
28 msgstr "execveat"
29
30 #. type: TH
31 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
32 #: opensuse-tumbleweed
33 #, no-wrap
34 msgid "2026-02-08"
35 msgstr "8 февраля 2026 г."
36
37 #. type: TH
38 #: archlinux debian-unstable
39 #, fuzzy, no-wrap
40 #| msgid "Linux man-pages 6.17"
41 msgid "Linux man-pages 6.18"
42 msgstr "Справочные страницы Linux 6.17"
43
44 #. type: SH
45 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
46 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
47 #, no-wrap
48 msgid "NAME"
49 msgstr "НАИМЕНОВАНИЕ"
50
51 #. type: Plain text
52 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
53 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
54 msgid "execveat - execute program relative to a directory file descriptor"
55 msgstr ""
56 "execveat - выполняет программу, определяемую относительно файлового "
57 "дескриптора каталога"
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 ""
84 "B<#include E<lt>linux/fcntl.hE<gt>> /* Definition of B<AT_*> constants */\n"
85 "B<#include E<lt>unistd.hE<gt>>\n"
86 msgstr ""
87 "B<#include E<lt>linux/fcntl.hE<gt>> /* определения констант B<AT_*> */\n"
88 "B<#include E<lt>unistd.hE<gt>>\n"
89
90 #. type: Plain text
91 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
92 #: opensuse-tumbleweed
93 #, fuzzy, no-wrap
94 #| msgid ""
95 #| "B<int execveat(int >I<dirfd>B<, const char *>I<pathname>B<,>\n"
96 #| "B< char *const _Nullable >I<argv>B<[],>\n"
97 #| "B< char *const _Nullable >I<envp>B<[],>\n"
98 #| "B< int >I<flags>B<);>\n"
99 msgid ""
100 "B<int execveat(int >I<dirfd>B<, const char *>I<path>B<,>\n"
101 "B< char *const _Nullable >I<argv>B<[],>\n"
102 "B< char *const _Nullable >I<envp>B<[],>\n"
103 "B< int >I<flags>B<);>\n"
104 msgstr ""
105 "B<int execveat(int >I<dirfd>B<, const char *>I<pathname>B<,>\n"
106 "B< char *const _Nullable >I<argv>B<[],>\n"
107 "B< char *const _Nullable >I<envp>B<[],>\n"
108 "B< int >I<flags>B<);>\n"
109
110 #. type: SH
111 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
112 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
113 #, no-wrap
114 msgid "DESCRIPTION"
115 msgstr "ОПИСАНИЕ"
116
117 #. commit 51f39a1f0cea1cacf8c787f652f26dfee9611874
118 #. type: Plain text
119 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
120 #: opensuse-tumbleweed
121 #, fuzzy
122 #| msgid ""
123 #| "The B<execveat>() system call executes the program referred to by the "
124 #| "combination of I<dirfd> and I<pathname>. It operates in exactly the same "
125 #| "way as B<execve>(2), except for the differences described in this manual "
126 #| "page."
127 msgid ""
128 "The B<execveat>() system call executes the program referred to by the "
129 "combination of I<dirfd> and I<path>. It operates in exactly the same way as "
130 "B<execve>(2), except for the differences described in this manual page."
131 msgstr ""
132 "Системный вызов B<execveat>() выполняет программу, на которую ссылается "
133 "комбинация I<dirfd> и I<pathname>. Он работает также как системный вызов "
134 "B<execve>(2), за исключением случаев, описанных в данной справочной странице."
135
136 #. type: Plain text
137 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
138 #: opensuse-tumbleweed
139 #, fuzzy
140 #| msgid ""
141 #| "If the pathname given in I<pathname> is relative, then it is interpreted "
142 #| "relative to the directory referred to by the file descriptor I<dirfd> "
143 #| "(rather than relative to the current working directory of the calling "
144 #| "process, as is done by B<execve>(2) for a relative pathname)."
145 msgid ""
146 "If I<path> is relative, then it is interpreted relative to the directory "
147 "referred to by the file descriptor I<dirfd> (rather than relative to the "
148 "current working directory of the calling process, as is done by "
149 "B<execve>(2) for a relative pathname)."
150 msgstr ""
151 "Если в I<pathname> задан относительный путь, то он считается относительно "
152 "каталога, на который ссылается файловый дескриптор I<dirfd> (а не "
153 "относительно текущего рабочего каталога вызывающего процесса, как это "
154 "делается в B<execve>(2))."
155
156 #. type: Plain text
157 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
158 #: opensuse-tumbleweed
159 #, fuzzy
160 #| msgid ""
161 #| "If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, "
162 #| "then I<pathname> is interpreted relative to the current working directory "
163 #| "of the calling process (like B<execve>(2))."
164 msgid ""
165 "If I<path> is relative and I<dirfd> is the special value B<AT_FDCWD>, then "
166 "I<path> is interpreted relative to the current working directory of the "
167 "calling process (like B<execve>(2))."
168 msgstr ""
169 "Если в I<pathname> задан относительный путь и I<dirfd> равно специальному "
170 "значению B<AT_FDCWD>, то I<pathname> рассматривается относительно текущего "
171 "рабочего каталога вызывающего процесса (как B<execve>(2))."
172
173 #. type: Plain text
174 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
175 #: opensuse-tumbleweed
176 #, fuzzy
177 #| msgid "If I<pathname> is absolute, then I<dirfd> is ignored."
178 msgid "If I<path> is absolute, then I<dirfd> is ignored."
179 msgstr "Если в I<pathname> задан абсолютный путь, то I<dirfd> игнорируется."
180
181 #. type: Plain text
182 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
183 #: opensuse-tumbleweed
184 #, fuzzy
185 #| msgid ""
186 #| "If I<pathname> is an empty string and the B<AT_EMPTY_PATH> flag is "
187 #| "specified, then the file descriptor I<dirfd> specifies the file to be "
188 #| "executed (i.e., I<dirfd> refers to an executable file, rather than a "
189 #| "directory)."
190 msgid ""
191 "If I<path> is an empty string and the B<AT_EMPTY_PATH> flag is specified, "
192 "then the file descriptor I<dirfd> specifies the file to be executed (i.e., "
193 "I<dirfd> refers to an executable file, rather than a directory)."
194 msgstr ""
195 "Если I<pathname> — пустая строка и указан флаг B<AT_EMPTY_PATH>, то файловым "
196 "дескриптором I<dirfd> задаётся выполняемый файл (т. е., I<dirfd> ссылается "
197 "на исполняемый файл, а не на каталог)."
198
199 #. type: Plain text
200 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
201 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
202 msgid ""
203 "The I<flags> argument is a bit mask that can include zero or more of the "
204 "following flags:"
205 msgstr ""
206 "Аргумент I<flags> является битовой маской, которая может включать ноль или "
207 "более следующих флагов:"
208
209 #. type: TP
210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
212 #, no-wrap
213 msgid "B<AT_EMPTY_PATH>"
214 msgstr "B<AT_EMPTY_PATH>"
215
216 #. type: Plain text
217 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
218 #: opensuse-tumbleweed
219 #, fuzzy
220 #| msgid ""
221 #| "If I<pathname> is an empty string, operate on the file referred to by "
222 #| "I<dirfd> (which may have been obtained using the B<open>(2) B<O_PATH> "
223 #| "flag)."
224 msgid ""
225 "If I<path> is an empty string, operate on the file referred to by I<dirfd> "
226 "(which may have been obtained using the B<open>(2) B<O_PATH> flag)."
227 msgstr ""
228 "Если значение I<pathname> равно пустой строке, то вызов выполняет действие с "
229 "файлом, на который ссылается I<dirfd> (может быть получен с помощью "
230 "B<open>(2) с флагом B<O_PATH>)."
231
232 #. type: TP
233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
235 #, no-wrap
236 msgid "B<AT_SYMLINK_NOFOLLOW>"
237 msgstr "B<AT_SYMLINK_NOFOLLOW>"
238
239 #. type: Plain text
240 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
241 #: opensuse-tumbleweed
242 #, fuzzy
243 #| msgid ""
244 #| "If the file identified by I<dirfd> and a non-NULL I<pathname> is a "
245 #| "symbolic link, then the call fails with the error B<ELOOP>."
246 msgid ""
247 "If the file identified by I<dirfd> and a non-NULL I<path> is a symbolic "
248 "link, then the call fails with the error B<ELOOP>."
249 msgstr ""
250 "Если файл задаётся I<dirfd> и I<pathname> — символическая ссылка (не NULL), "
251 "то вызов завершается с ошибкой B<ELOOP>."
252
253 #. type: SH
254 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
255 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
256 #, no-wrap
257 msgid "RETURN VALUE"
258 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
259
260 #. type: Plain text
261 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
262 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
263 #, fuzzy
264 #| msgid ""
265 #| "On success, B<execveat>() does not return. On error, -1 is returned, "
266 #| "and I<errno> is set appropriately."
267 msgid ""
268 "On success, B<execveat>() does not return. On error, -1 is returned, and "
269 "I<errno> is set to indicate the error."
270 msgstr ""
271 "При успешном выполнении B<execveat>() не возвращает управление. В случае "
272 "ошибки возвращается -1, а I<errno> устанавливается в соответствующее "
273 "значение."
274
275 #. type: SH
276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
278 #, no-wrap
279 msgid "ERRORS"
280 msgstr "ОШИБКИ"
281
282 #. type: Plain text
283 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
284 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
285 msgid ""
286 "The same errors that occur for B<execve>(2) can also occur for "
287 "B<execveat>(). The following additional errors can occur for B<execveat>():"
288 msgstr ""
289 "В B<execveat>() могут возникнуть те же ошибки, что и в B<execve>(). Также, в "
290 "B<execveat>() могут возникнуть следующие ошибки:"
291
292 #. type: TP
293 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
294 #: opensuse-tumbleweed
295 #, fuzzy, no-wrap
296 #| msgid "I<Path>:"
297 msgid "I<path>"
298 msgstr "I<Path>:"
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 ""
304 "is relative but I<dirfd> is neither B<AT_FDCWD> nor a valid file descriptor."
305 msgstr ""
306 "является относительным, но I<dirfd> не является ни B<AT_FDCWD>, ни "
307 "допустимым файловым дескриптором."
308
309 #. type: TP
310 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
311 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
312 #, no-wrap
313 msgid "B<EINVAL>"
314 msgstr "B<EINVAL>"
315
316 #. type: Plain text
317 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
318 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
319 msgid "Invalid flag specified in I<flags>."
320 msgstr "Указано неверное значение в I<flags>."
321
322 #. type: TP
323 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
324 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
325 #, no-wrap
326 msgid "B<ELOOP>"
327 msgstr "B<ELOOP>"
328
329 #. type: Plain text
330 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
331 #: opensuse-tumbleweed
332 #, fuzzy
333 #| msgid ""
334 #| "I<flags> includes B<AT_SYMLINK_NOFOLLOW> and the file identified by "
335 #| "I<dirfd> and a non-NULL I<pathname> is a symbolic link."
336 msgid ""
337 "I<flags> includes B<AT_SYMLINK_NOFOLLOW> and the file identified by I<dirfd> "
338 "and a non-NULL I<path> is a symbolic link."
339 msgstr ""
340 "Значение I<flags> содержит B<AT_SYMLINK_NOFOLLOW> и файл задаётся I<dirfd>, "
341 "а I<pathname> — символическая ссылка (не NULL)."
342
343 #. type: TP
344 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
345 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
346 #, no-wrap
347 msgid "B<ENOENT>"
348 msgstr "B<ENOENT>"
349
350 #. type: Plain text
351 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
352 #: opensuse-tumbleweed
353 #, fuzzy
354 #| msgid ""
355 #| "The program identified by I<dirfd> and I<pathname> requires the use of an "
356 #| "interpreter program (such as a script starting with \"#!\"), but the file "
357 #| "descriptor I<dirfd> was opened with the B<O_CLOEXEC> flag, with the "
358 #| "result that the program file is inaccessible to the launched "
359 #| "interpreter. See BUGS."
360 msgid ""
361 "The program identified by I<dirfd> and I<path> requires the use of an "
362 "interpreter program (such as a script starting with \"#!\"), but the file "
363 "descriptor I<dirfd> was opened with the B<O_CLOEXEC> flag, with the result "
364 "that the program file is inaccessible to the launched interpreter. See BUGS."
365 msgstr ""
366 "Программа задаётся I<dirfd> и по I<pathname> требуется использовать "
367 "интерпретирующую программу (то есть сценарий, начинающийся с «#!»), но "
368 "файловый дескриптор I<dirfd> открыт с флагом B<O_CLOEXEC>, что приводит к "
369 "недоступности файла программы запускаемому интерпретатору. Смотрите ДЕФЕКТЫ."
370
371 #. type: TP
372 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
373 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
374 #, no-wrap
375 msgid "B<ENOTDIR>"
376 msgstr "B<ENOTDIR>"
377
378 #. type: Plain text
379 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
380 #: opensuse-tumbleweed
381 #, fuzzy
382 #| msgid ""
383 #| "I<pathname> is relative and I<dirfd> is a file descriptor referring to a "
384 #| "file other than a directory."
385 msgid ""
386 "I<path> is relative and I<dirfd> is a file descriptor referring to a file "
387 "other than a directory."
388 msgstr ""
389 "Значение I<pathname> содержит относительный путь и I<dirfd> содержит "
390 "файловый дескриптор, указывающий на файл, а не на каталог."
391
392 #. type: SH
393 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
394 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
395 #, no-wrap
396 msgid "STANDARDS"
397 msgstr "СТАНДАРТЫ"
398
399 #. type: Plain text
400 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
401 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
402 msgid "Linux."
403 msgstr "Linux."
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 "HISTORY"
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 "Linux 3.19, glibc 2.34."
416 msgstr "Linux 3.19, glibc 2.34."
417
418 #. type: SH
419 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
420 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
421 #, no-wrap
422 msgid "NOTES"
423 msgstr "ПРИМЕЧАНИЯ"
424
425 #. type: Plain text
426 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
427 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
428 msgid ""
429 "In addition to the reasons explained in B<openat>(2), the B<execveat>() "
430 "system call is also needed to allow B<fexecve>(3) to be implemented on "
431 "systems that do not have the I</proc> filesystem mounted."
432 msgstr ""
433 "В дополнении к причинам, описанным в B<openat>(2), системному вызову "
434 "B<execveat>() также требуется разрешить B<fexecve>(3) для реализации в "
435 "системах, у которых не смонтированной файловой системы I</proc>."
436
437 #. type: Plain text
438 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
439 #: opensuse-tumbleweed
440 #, fuzzy
441 #| msgid ""
442 #| "When asked to execute a script file, the I<argv[0]> that is passed to the "
443 #| "script interpreter is a string of the form I</dev/fd/N> or I</dev/fd/N/"
444 #| "P>, where I<N> is the number of the file descriptor passed via the "
445 #| "I<dirfd> argument. A string of the first form occurs when "
446 #| "B<AT_EMPTY_PATH> is employed. A string of the second form occurs when "
447 #| "the script is specified via both I<dirfd> and I<pathname>; in this case, "
448 #| "I<P> is the value given in I<pathname>."
449 msgid ""
450 "When asked to execute a script file, the I<argv[0]> that is passed to the "
451 "script interpreter is a string of the form I</dev/fd/N> or I</dev/fd/N/P>, "
452 "where I<N> is the number of the file descriptor passed via the I<dirfd> "
453 "argument. A string of the first form occurs when B<AT_EMPTY_PATH> is "
454 "employed. A string of the second form occurs when the script is specified "
455 "via both I<dirfd> and I<path>; in this case, I<P> is the value given in "
456 "I<path>."
457 msgstr ""
458 "При запросе запуска файла сценария, значение I<argv[0]>, передаваемое в "
459 "интерпретатор сценарий, является строкой в виде I</dev/fd/N> или I</dev/fd/N/"
460 "P>, где I<N> — номер файлового дескриптора, передаваемого через аргумент "
461 "I<dirfd>. Строка в первом формате встречается, когда указан "
462 "B<AT_EMPTY_PATH>. Строка во втором формате встречается, когда сценарий "
463 "задаётся сразу через I<dirfd> и I<pathname>; в этом случае I<P> — это "
464 "значение, указанное в I<pathname>."
465
466 #. type: Plain text
467 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
468 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
469 msgid ""
470 "For the same reasons described in B<fexecve>(3), the natural idiom when "
471 "using B<execveat>() is to set the close-on-exec flag on I<dirfd>. (But see "
472 "BUGS.)"
473 msgstr ""
474 "По причинам, описанным в B<fexecve>(3), естественным подходом является "
475 "использование B<execveat>() с установленным флагом close-on-exec у I<dirfd> "
476 "(но смотрите ДЕФЕКТЫ)."
477
478 #. type: SH
479 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
480 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
481 #, no-wrap
482 msgid "BUGS"
483 msgstr "ПРОГРАММНЫЕ ОШИБКИ"
484
485 #. type: Plain text
486 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
487 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
488 msgid ""
489 "The B<ENOENT> error described above means that it is not possible to set the "
490 "close-on-exec flag on the file descriptor given to a call of the form:"
491 msgstr ""
492 "Ошибка B<ENOENT>, описанная выше, означает, что невозможно установить флаг "
493 "close-on-exec у файлового дескриптора, переданного вызову в виде:"
494
495 #. type: Plain text
496 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
497 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
498 #, no-wrap
499 msgid "execveat(fd, \"\", argv, envp, AT_EMPTY_PATH);\n"
500 msgstr "execveat(fd, \"\", argv, envp, AT_EMPTY_PATH);\n"
501
502 #. For an example, see Michael Kerrisk's 2015-01-10 reply in this LKML
503 #. thread (http://thread.gmane.org/gmane.linux.kernel/1836105/focus=20229):
504 #. Subject: [PATCHv10 man-pages 5/5] execveat.2: initial man page.\" for execveat(2
505 #. Date: Mon, 24 Nov 2014 11:53:59 +0000
506 #. type: Plain text
507 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
508 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
509 msgid ""
510 "However, the inability to set the close-on-exec flag means that a file "
511 "descriptor referring to the script leaks through to the script itself. As "
512 "well as wasting a file descriptor, this leakage can lead to file-descriptor "
513 "exhaustion in scenarios where scripts recursively employ B<execveat>()."
514 msgstr ""
515 "Однако неспособность установить флаг close-on-exec означает утечку файловых "
516 "дескрипторов, через ссылку сценария на самого себя. Помимо траты файлового "
517 "дескриптора, это может привести к исчерпанию файловых дескрипторов, если "
518 "сценарии рекурсивно вызывают B<execveat>()."
519
520 #. type: SH
521 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
522 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
523 #, no-wrap
524 msgid "SEE ALSO"
525 msgstr "СМОТРИТЕ ТАКЖЕ"
526
527 #. type: Plain text
528 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
529 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
530 msgid "B<execve>(2), B<openat>(2), B<fexecve>(3)"
531 msgstr "B<execve>(2), B<openat>(2), B<fexecve>(3)"
532
533 #. type: TH
534 #: debian-trixie
535 #, no-wrap
536 msgid "2024-05-02"
537 msgstr "2 мая 2024 г."
538
539 #. type: TH
540 #: debian-trixie
541 #, no-wrap
542 msgid "Linux man-pages 6.9.1"
543 msgstr "Страницы руководства Linux 6.9.1"
544
545 #. type: Plain text
546 #: debian-trixie
547 msgid "Standard C library (I<libc>, I<-lc>)"
548 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
549
550 #. type: Plain text
551 #: debian-trixie fedora-44 fedora-rawhide
552 #, no-wrap
553 msgid ""
554 "B<int execveat(int >I<dirfd>B<, const char *>I<pathname>B<,>\n"
555 "B< char *const _Nullable >I<argv>B<[],>\n"
556 "B< char *const _Nullable >I<envp>B<[],>\n"
557 "B< int >I<flags>B<);>\n"
558 msgstr ""
559 "B<int execveat(int >I<dirfd>B<, const char *>I<pathname>B<,>\n"
560 "B< char *const _Nullable >I<argv>B<[],>\n"
561 "B< char *const _Nullable >I<envp>B<[],>\n"
562 "B< int >I<flags>B<);>\n"
563
564 #. commit 51f39a1f0cea1cacf8c787f652f26dfee9611874
565 #. type: Plain text
566 #: debian-trixie fedora-44 fedora-rawhide
567 msgid ""
568 "The B<execveat>() system call executes the program referred to by the "
569 "combination of I<dirfd> and I<pathname>. It operates in exactly the same "
570 "way as B<execve>(2), except for the differences described in this manual "
571 "page."
572 msgstr ""
573 "Системный вызов B<execveat>() выполняет программу, на которую ссылается "
574 "комбинация I<dirfd> и I<pathname>. Он работает также как системный вызов "
575 "B<execve>(2), за исключением случаев, описанных в данной справочной странице."
576
577 #. type: Plain text
578 #: debian-trixie fedora-44 fedora-rawhide
579 msgid ""
580 "If the pathname given in I<pathname> is relative, then it is interpreted "
581 "relative to the directory referred to by the file descriptor I<dirfd> "
582 "(rather than relative to the current working directory of the calling "
583 "process, as is done by B<execve>(2) for a relative pathname)."
584 msgstr ""
585 "Если в I<pathname> задан относительный путь, то он считается относительно "
586 "каталога, на который ссылается файловый дескриптор I<dirfd> (а не "
587 "относительно текущего рабочего каталога вызывающего процесса, как это "
588 "делается в B<execve>(2))."
589
590 #. type: Plain text
591 #: debian-trixie fedora-44 fedora-rawhide
592 msgid ""
593 "If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, "
594 "then I<pathname> is interpreted relative to the current working directory of "
595 "the calling process (like B<execve>(2))."
596 msgstr ""
597 "Если в I<pathname> задан относительный путь и I<dirfd> равно специальному "
598 "значению B<AT_FDCWD>, то I<pathname> рассматривается относительно текущего "
599 "рабочего каталога вызывающего процесса (как B<execve>(2))."
600
601 #. type: Plain text
602 #: debian-trixie fedora-44 fedora-rawhide
603 msgid "If I<pathname> is absolute, then I<dirfd> is ignored."
604 msgstr "Если в I<pathname> задан абсолютный путь, то I<dirfd> игнорируется."
605
606 #. type: Plain text
607 #: debian-trixie fedora-44 fedora-rawhide
608 msgid ""
609 "If I<pathname> is an empty string and the B<AT_EMPTY_PATH> flag is "
610 "specified, then the file descriptor I<dirfd> specifies the file to be "
611 "executed (i.e., I<dirfd> refers to an executable file, rather than a "
612 "directory)."
613 msgstr ""
614 "Если I<pathname> — пустая строка и указан флаг B<AT_EMPTY_PATH>, то файловым "
615 "дескриптором I<dirfd> задаётся выполняемый файл (т. е., I<dirfd> ссылается "
616 "на исполняемый файл, а не на каталог)."
617
618 #. type: Plain text
619 #: debian-trixie fedora-44 fedora-rawhide
620 msgid ""
621 "If I<pathname> is an empty string, operate on the file referred to by "
622 "I<dirfd> (which may have been obtained using the B<open>(2) B<O_PATH> flag)."
623 msgstr ""
624 "Если значение I<pathname> равно пустой строке, то вызов выполняет действие с "
625 "файлом, на который ссылается I<dirfd> (может быть получен с помощью "
626 "B<open>(2) с флагом B<O_PATH>)."
627
628 #. type: Plain text
629 #: debian-trixie fedora-44 fedora-rawhide
630 msgid ""
631 "If the file identified by I<dirfd> and a non-NULL I<pathname> is a symbolic "
632 "link, then the call fails with the error B<ELOOP>."
633 msgstr ""
634 "Если файл задаётся I<dirfd> и I<pathname> — символическая ссылка (не NULL), "
635 "то вызов завершается с ошибкой B<ELOOP>."
636
637 #. type: TP
638 #: debian-trixie fedora-44 fedora-rawhide
639 #, no-wrap
640 msgid "I<pathname>"
641 msgstr "I<pathname>"
642
643 #. type: Plain text
644 #: debian-trixie fedora-44 fedora-rawhide
645 msgid ""
646 "I<flags> includes B<AT_SYMLINK_NOFOLLOW> and the file identified by I<dirfd> "
647 "and a non-NULL I<pathname> is a symbolic link."
648 msgstr ""
649 "Значение I<flags> содержит B<AT_SYMLINK_NOFOLLOW> и файл задаётся I<dirfd>, "
650 "а I<pathname> — символическая ссылка (не NULL)."
651
652 #. type: Plain text
653 #: debian-trixie fedora-44 fedora-rawhide
654 msgid ""
655 "The program identified by I<dirfd> and I<pathname> requires the use of an "
656 "interpreter program (such as a script starting with \"#!\"), but the file "
657 "descriptor I<dirfd> was opened with the B<O_CLOEXEC> flag, with the result "
658 "that the program file is inaccessible to the launched interpreter. See BUGS."
659 msgstr ""
660 "Программа задаётся I<dirfd> и по I<pathname> требуется использовать "
661 "интерпретирующую программу (то есть сценарий, начинающийся с «#!»), но "
662 "файловый дескриптор I<dirfd> открыт с флагом B<O_CLOEXEC>, что приводит к "
663 "недоступности файла программы запускаемому интерпретатору. Смотрите ДЕФЕКТЫ."
664
665 #. type: Plain text
666 #: debian-trixie fedora-44 fedora-rawhide
667 msgid ""
668 "I<pathname> is relative and I<dirfd> is a file descriptor referring to a "
669 "file other than a directory."
670 msgstr ""
671 "Значение I<pathname> содержит относительный путь и I<dirfd> содержит "
672 "файловый дескриптор, указывающий на файл, а не на каталог."
673
674 #. type: Plain text
675 #: debian-trixie fedora-44 fedora-rawhide
676 msgid ""
677 "When asked to execute a script file, the I<argv[0]> that is passed to the "
678 "script interpreter is a string of the form I</dev/fd/N> or I</dev/fd/N/P>, "
679 "where I<N> is the number of the file descriptor passed via the I<dirfd> "
680 "argument. A string of the first form occurs when B<AT_EMPTY_PATH> is "
681 "employed. A string of the second form occurs when the script is specified "
682 "via both I<dirfd> and I<pathname>; in this case, I<P> is the value given in "
683 "I<pathname>."
684 msgstr ""
685 "При запросе запуска файла сценария, значение I<argv[0]>, передаваемое в "
686 "интерпретатор сценарий, является строкой в виде I</dev/fd/N> или I</dev/fd/N/"
687 "P>, где I<N> — номер файлового дескриптора, передаваемого через аргумент "
688 "I<dirfd>. Строка в первом формате встречается, когда указан "
689 "B<AT_EMPTY_PATH>. Строка во втором формате встречается, когда сценарий "
690 "задаётся сразу через I<dirfd> и I<pathname>; в этом случае I<P> — это "
691 "значение, указанное в I<pathname>."
692
693 #. type: TH
694 #: fedora-44 fedora-rawhide
695 #, no-wrap
696 msgid "2024-07-23"
697 msgstr "23 июля 2024 г."
698
699 #. type: TH
700 #: fedora-44 fedora-rawhide
701 #, no-wrap
702 msgid "Linux man-pages 6.13"
703 msgstr "Страницы руководства Linux 6.13"
704
705 #. type: TH
706 #: mageia-cauldron
707 #, no-wrap
708 msgid "Linux man-pages 6.17"
709 msgstr "Страницы руководства Linux 6.17"
710
711 #. type: TH
712 #: opensuse-leap-16-1 opensuse-tumbleweed
713 #, no-wrap
714 msgid "Linux man-pages (unreleased)"
715 msgstr "Страницы руководства Linux (не выпущены)"