Debian Codegraph @

po/ru/man2/execve.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 "execve"
28 msgstr "execve"
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 "execve - execute program"
55 msgstr "execve - выполнить программу"
56
57 #. type: SH
58 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
59 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
60 #, no-wrap
61 msgid "LIBRARY"
62 msgstr "БИБЛИОТЕКА"
63
64 #. type: Plain text
65 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
66 #: opensuse-leap-16-1 opensuse-tumbleweed
67 msgid "Standard C library (I<libc>,\\ I<-lc>)"
68 msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)"
69
70 #. type: SH
71 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
72 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
73 #, no-wrap
74 msgid "SYNOPSIS"
75 msgstr "СИНТАКСИС"
76
77 #. type: Plain text
78 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
79 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
80 #, no-wrap
81 msgid "B<#include E<lt>unistd.hE<gt>>\n"
82 msgstr "B<#include E<lt>unistd.hE<gt>>\n"
83
84 #. type: Plain text
85 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
86 #: opensuse-tumbleweed
87 #, fuzzy, no-wrap
88 #| msgid ""
89 #| "B<int execve(const char *>I<pathname>B<, char *const _Nullable >I<argv>B<[],>\n"
90 #| "B< char *const _Nullable >I<envp>B<[]);>\n"
91 msgid ""
92 "B<int execve(const char *>I<path>B<, char *const _Nullable >I<argv>B<[],>\n"
93 "B< char *const _Nullable >I<envp>B<[]);>\n"
94 msgstr ""
95 "B<int execve(const char *>I<pathname>B<, char *const _Nullable >I<argv>B<[],>\n"
96 "B< char *const _Nullable >I<envp>B<[]);>\n"
97
98 #. type: SH
99 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
100 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
101 #, no-wrap
102 msgid "DESCRIPTION"
103 msgstr "ОПИСАНИЕ"
104
105 #. type: Plain text
106 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
107 #: opensuse-tumbleweed
108 #, fuzzy
109 #| msgid ""
110 #| "B<execve>() executes the program referred to by I<pathname>. This "
111 #| "causes the program that is currently being run by the calling process to "
112 #| "be replaced with a new program, with newly initialized stack, heap, and "
113 #| "(initialized and uninitialized) data segments."
114 msgid ""
115 "B<execve>() executes the program referred to by I<path>. This causes the "
116 "program that is currently being run by the calling process to be replaced "
117 "with a new program, with newly initialized stack, heap, and (initialized and "
118 "uninitialized) data segments."
119 msgstr ""
120 "Вызов B<execve> выполняет программу, задаваемую I<pathname>. При этом "
121 "программа, выполняющаяся вызвавшим процессом, замещается новой программой, "
122 "заново инициализируется стек, куча и сегменты данных (инициализированные и "
123 "не инициализированные)."
124
125 #. type: Plain text
126 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
127 #: opensuse-tumbleweed
128 #, fuzzy
129 #| msgid ""
130 #| "I<pathname> must be either a binary executable, or a script starting with "
131 #| "a line of the form:"
132 msgid ""
133 "I<path> must be either a binary executable, or a script starting with a line "
134 "of the form:"
135 msgstr ""
136 "В I<pathname> должно быть указано имя двоичного исполняемого файла или "
137 "сценарий, начинающийся со строки вида:"
138
139 #. type: SY
140 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
141 #: opensuse-tumbleweed
142 #, no-wrap
143 msgid "#!\\f[I]interpreter\\fR"
144 msgstr ""
145
146 #. type: Plain text
147 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
148 #: opensuse-tumbleweed
149 #, fuzzy, no-wrap
150 #| msgid "B<#!>I<interpreter >[optional-arg]\n"
151 msgid "[I<optional-arg>]\n"
152 msgstr "B<#!>I<интерпретатор >[необязательный параметр]\n"
153
154 #. type: Plain text
155 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
156 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
157 msgid "For details of the latter case, see \"Interpreter scripts\" below."
158 msgstr "Подробней о сценариях написано далее в «Интерпретируемые сценарии»."
159
160 #. type: Plain text
161 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
162 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
163 #, fuzzy
164 #| msgid ""
165 #| "I<argv> is an array of argument strings passed to the new program. By "
166 #| "convention, the first of these strings (i.e., I<argv[0]>) should contain "
167 #| "the filename associated with the file being executed. I<envp> is an "
168 #| "array of strings, conventionally of the form B<key=value>, which are "
169 #| "passed as environment to the new program. The I<argv> and I<envp> arrays "
170 #| "must each include a null pointer at the end of the array."
171 msgid ""
172 "I<argv> is an array of pointers to strings passed to the new program as its "
173 "command-line arguments. By convention, the first of these strings (i.e., "
174 "I<argv[0]>) should contain the filename associated with the file being "
175 "executed. The I<argv> array must be terminated by a null pointer. (Thus, "
176 "in the new program, I<argv[argc]> will be a null pointer.)"
177 msgstr ""
178 "I<argv> — это массив строковых параметров, передаваемых новой программе. По "
179 "соглашению, в первой строке (т. е., I<argv[0]>) должно содержаться имя "
180 "файла, относящееся к запускаемой программе. I<envp> — это массив строк в "
181 "формате B<ключ=значение>, которые передаются новой программе в качестве "
182 "окружения (environment). Оба массива I<argv> и I<envp> завершаются "
183 "указателем null."
184
185 #. type: Plain text
186 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
187 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
188 msgid ""
189 "I<envp> is an array of pointers to strings, conventionally of the form "
190 "B<key=value>, which are passed as the environment of the new program. The "
191 "I<envp> array must be terminated by a null pointer."
192 msgstr ""
193
194 #. type: Plain text
195 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
196 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
197 msgid ""
198 "This manual page describes the Linux system call in detail; for an overview "
199 "of the nomenclature and the many, often preferable, standardised variants of "
200 "this function provided by libc, including ones that search the B<PATH> "
201 "environment variable, see B<exec>(3)."
202 msgstr ""
203
204 #. type: Plain text
205 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
206 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
207 #, fuzzy
208 #| msgid ""
209 #| "The argument vector and environment can be accessed by the called "
210 #| "program's main function, when it is defined as:"
211 msgid ""
212 "The argument vector and environment can be accessed by the new program's "
213 "main function, when it is defined as:"
214 msgstr ""
215 "К массиву параметров и окружению можно обратиться из вызываемой программой "
216 "главной функции, если она определена как:"
217
218 #. type: Plain text
219 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
220 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
221 #, no-wrap
222 msgid "int main(int argc, char *argv[], char *envp[])\n"
223 msgstr "int main(int argc, char *argv[], char *envp[])\n"
224
225 #. type: Plain text
226 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
227 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
228 msgid ""
229 "Note, however, that the use of a third argument to the main function is not "
230 "specified in POSIX.1; according to POSIX.1, the environment should be "
231 "accessed via the external variable B<environ>(7)."
232 msgstr ""
233 "Однако заметим, что использование третьего аргумента главной функции не "
234 "определено в POSIX.1; согласно POSIX.1, окружение должно быть доступно через "
235 "внешнюю переменную B<environ>(7)."
236
237 #. type: Plain text
238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
240 msgid ""
241 "B<execve>() does not return on success, and the text, initialized data, "
242 "uninitialized data (bss), and stack of the calling process are overwritten "
243 "according to the contents of the newly loaded program."
244 msgstr ""
245 "При успешном выполнении B<execve>() управление не возвращается, а код, "
246 "инициализированные данные, неинициализированные данные (bss) и стек "
247 "вызвавшего процесса перезаписываются содержимым загруженной программы."
248
249 #. type: Plain text
250 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
251 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
252 msgid ""
253 "If the current program is being ptraced, a B<SIGTRAP> signal is sent to it "
254 "after a successful B<execve>()."
255 msgstr ""
256 "Если текущая программа выполнялась под управлением ptrace, то после "
257 "успешного вызова B<execve>() ей посылается сигнал B<SIGTRAP>."
258
259 #. type: Plain text
260 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
261 #: opensuse-tumbleweed
262 #, fuzzy
263 #| msgid ""
264 #| "If the set-user-ID bit is set on the program file referred to by "
265 #| "I<pathname>, then the effective user ID of the calling process is changed "
266 #| "to that of the owner of the program file. Similarly, when the set-group-"
267 #| "ID bit of the program file is set the effective group ID of the calling "
268 #| "process is set to the group of the program file."
269 msgid ""
270 "If the set-user-ID bit is set on the program file referred to by I<path>, "
271 "then the effective user ID of the calling process is changed to that of the "
272 "owner of the program file. Similarly, if the set-group-ID bit is set on the "
273 "program file, then the effective group ID of the calling process is set to "
274 "the group of the program file."
275 msgstr ""
276 "Если у файла программы, на который ссылается I<pathname>, установлен бит set-"
277 "user-ID, то фактический идентификатор пользователя вызывающего процесса "
278 "меняется на идентификатор владельца файла программы. Точно также, если на "
279 "файле программы установлен бит set-group-ID, то фактический идентификатор "
280 "группы вызывающего процесса становится равным группе, которой принадлежит "
281 "файл программы."
282
283 #. type: Plain text
284 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
285 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
286 msgid ""
287 "The aforementioned transformations of the effective IDs are I<not> performed "
288 "(i.e., the set-user-ID and set-group-ID bits are ignored) if any of the "
289 "following is true:"
290 msgstr ""
291 "Вышеупомянутые преобразования эффективных IDs I<не> выполняются (т. е., биты "
292 "set-user-ID и set-group-ID игнорируются), если что-либо из следующего "
293 "истинно:"
294
295 #. type: IP
296 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
297 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
298 #, no-wrap
299 msgid "\\[bu]"
300 msgstr "\\[bu]"
301
302 #. type: Plain text
303 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
304 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
305 msgid ""
306 "the I<no_new_privs> attribute is set for the calling thread (see "
307 "B<prctl>(2));"
308 msgstr ""
309 "установлен атрибут I<no_new_privs> для вызывающей нити (смотрите "
310 "B<prctl>(2));"
311
312 #. type: Plain text
313 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
314 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
315 msgid ""
316 "the underlying filesystem is mounted I<nosuid> (the B<MS_NOSUID> flag for "
317 "B<mount>(2)); or"
318 msgstr ""
319 "подлежащая файловая система смонтирована с I<nosuid> (флаг B<MS_NOSUID> для "
320 "B<mount>(2)); или"
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 msgid "the calling process is being ptraced."
326 msgstr "вызывающий процесс выполняется под контролем ptrace."
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 ""
332 "The capabilities of the program file (see B<capabilities>(7)) are also "
333 "ignored if any of the above are true."
334 msgstr ""
335 "Также игнорируются мандаты файла программы (смотрите B<capabilities>(7)), "
336 "если что-то из вышеперечисленного истинно."
337
338 #. type: Plain text
339 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
340 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
341 msgid ""
342 "The effective user ID of the process is copied to the saved set-user-ID; "
343 "similarly, the effective group ID is copied to the saved set-group-ID. This "
344 "copying takes place after any effective ID changes that occur because of the "
345 "set-user-ID and set-group-ID mode bits."
346 msgstr ""
347 "Фактический идентификатор пользователя процесса копируется в сохранённый "
348 "идентификатор пользователя (set-user-ID), также фактический идентификатор "
349 "группы копируется в сохранённый идентификатор группы (set-group-ID). Это "
350 "копирование выполняется после изменения любого фактического идентификатора, "
351 "которое происходит из-за выставленных бит режима set-user-ID и set-group-ID."
352
353 #. type: Plain text
354 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
355 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
356 #, fuzzy
357 #| msgid ""
358 #| "The process's real UID and real GID, as well its supplementary group IDs, "
359 #| "are unchanged by a call to B<execve>()."
360 msgid ""
361 "The process's real UID and real GID, as well as its supplementary group IDs, "
362 "are unchanged by a call to B<execve>()."
363 msgstr ""
364 "Реальные UID и GID процесса, а также его дополнительные ID групп не "
365 "изменяются при вызове B<execve>()."
366
367 #. type: Plain text
368 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
369 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
370 msgid ""
371 "If the executable is an a.out dynamically linked binary executable "
372 "containing shared-library stubs, the Linux dynamic linker B<ld.so>(8) is "
373 "called at the start of execution to bring needed shared objects into memory "
374 "and link the executable with them."
375 msgstr ""
376 "Если исполняемый файл является динамически-скомпонованным файлом в формате "
377 "a.out, содержащим заглушки для динамических библиотек, то в начале "
378 "выполнения этого файла вызывается динамический компоновщик Linux "
379 "B<ld.so>(8), который начинает выполнение с загрузки общих объектов в память "
380 "и компонует их с исполняемым файлом."
381
382 #. type: Plain text
383 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
384 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
385 msgid ""
386 "If the executable is a dynamically linked ELF executable, the interpreter "
387 "named in the PT_INTERP segment is used to load the needed shared objects. "
388 "This interpreter is typically I</lib/ld-linux.so.2> for binaries linked with "
389 "glibc (see B<ld-linux.so>(8))."
390 msgstr ""
391 "Если исполняемый файл является динамически компонуемым файлом в формате ELF, "
392 "то для загрузки необходимых общих объектов используется интерпретатор, "
393 "указанный в сегменте PT_INTERP. Для программ, скомпонованных с glibc, обычно "
394 "это I</lib/ld-linux.so.2> (смотрите B<ld-linux.so>(8))."
395
396 #. type: SS
397 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
398 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
399 #, no-wrap
400 msgid "Effect on process attributes"
401 msgstr "Влияние на атрибуты процесса"
402
403 #. type: Plain text
404 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
405 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
406 msgid ""
407 "All process attributes are preserved during an B<execve>(), except the "
408 "following:"
409 msgstr ""
410 "При вызове B<execve>() сохраняются все свойства процесса, за исключением:"
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 "The dispositions of any signals that are being caught are reset to the "
417 "default (B<signal>(7))."
418 msgstr ""
419 "Значения обработчиков всех захватываемых сигналов сбрасываются в значения по "
420 "умолчанию (B<signal>(7))."
421
422 #. type: Plain text
423 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
424 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
425 msgid "Any alternate signal stack is not preserved (B<sigaltstack>(2))."
426 msgstr "Любой альтернативный стек сигнала не сохраняется (B<sigaltstack>(2))."
427
428 #. type: Plain text
429 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
430 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
431 msgid "Memory mappings are not preserved (B<mmap>(2))."
432 msgstr "Проецирование памяти не сохраняется (B<mmap>(2))."
433
434 #. type: Plain text
435 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
436 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
437 msgid "Attached System\\ V shared memory segments are detached (B<shmat>(2))."
438 msgstr ""
439 "Подключённые общие сегменты памяти System\\ V отключаются (B<shmat>(2))."
440
441 #. type: Plain text
442 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
443 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
444 msgid "POSIX shared memory regions are unmapped (B<shm_open>(3))."
445 msgstr ""
446 "Области общей памяти POSIX становятся неспроецированными (B<shm_open>(3))."
447
448 #. type: Plain text
449 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
450 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
451 msgid "Open POSIX message queue descriptors are closed (B<mq_overview>(7))."
452 msgstr ""
453 "Открытые дескрипторы в очереди сообщений POSIX закрываются "
454 "(B<mq_overview>(7))."
455
456 #. type: Plain text
457 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
458 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
459 msgid "Any open POSIX named semaphores are closed (B<sem_overview>(7))."
460 msgstr "Все открытые именные семафоры POSIX закрываются (B<sem_overview>(7))."
461
462 #. type: Plain text
463 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
464 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
465 msgid "POSIX timers are not preserved (B<timer_create>(2))."
466 msgstr "Таймеры POSIX не сохраняются (B<timer_create>(2))."
467
468 #. type: Plain text
469 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
470 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
471 msgid "Any open directory streams are closed (B<opendir>(3))."
472 msgstr ""
473 "Все открытые потоки каталогов (directory streams) закрываются "
474 "(B<opendir>(3))."
475
476 #. type: Plain text
477 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
478 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
479 msgid "Memory locks are not preserved (B<mlock>(2), B<mlockall>(2))."
480 msgstr "Блокировки памяти не сохраняются (B<mlock>(2), B<mlockall>(2))."
481
482 #. type: Plain text
483 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
484 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
485 msgid "Exit handlers are not preserved (B<atexit>(3), B<on_exit>(3))."
486 msgstr ""
487 "Обработчики завершения работы (exit handlers) не сохраняются (B<atexit>(3), "
488 "B<on_exit>(3))."
489
490 #. type: Plain text
491 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
492 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
493 msgid ""
494 "The floating-point environment is reset to the default (see B<fenv>(3))."
495 msgstr ""
496 "Окружения плавающей точки сбрасываются в настройки по умолчанию (B<fenv>(3))."
497
498 #. type: Plain text
499 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
500 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
501 msgid ""
502 "The process attributes in the preceding list are all specified in POSIX.1. "
503 "The following Linux-specific process attributes are also not preserved "
504 "during an B<execve>():"
505 msgstr ""
506 "В POSIX.1 определён список сохраняемых свойств процесса. Следующие свойства "
507 "процесса, имеющиеся только в Linux, также не сохраняются при B<execve>():"
508
509 #. type: Plain text
510 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
511 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
512 msgid ""
513 "The process's \"dumpable\" attribute is set to the value 1, unless a set-"
514 "user-ID program, a set-group-ID program, or a program with capabilities is "
515 "being executed, in which case the dumpable flag may instead be reset to the "
516 "value in I</proc/sys/fs/suid_dumpable>, in the circumstances described under "
517 "B<PR_SET_DUMPABLE> in B<prctl>(2). Note that changes to the \"dumpable\" "
518 "attribute may cause ownership of files in the process's I</proc/>pid "
519 "directory to change to I<root:root>, as described in B<proc>(5)."
520 msgstr ""
521
522 #. type: Plain text
523 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
524 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
525 msgid "The B<prctl>(2) B<PR_SET_KEEPCAPS> flag is cleared."
526 msgstr "Флаг B<PR_SET_KEEPCAPS> (B<prctl>(2)) очищается."
527
528 #. type: Plain text
529 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
530 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
531 msgid ""
532 "(Since Linux 2.4.36 / 2.6.23) If a set-user-ID or set-group-ID program is "
533 "being executed, then the parent death signal set by B<prctl>(2) "
534 "B<PR_SET_PDEATHSIG> flag is cleared."
535 msgstr ""
536 "(Начиная с Linux 2.4.36 / 2.6.23) Если выполняется программа с установленным "
537 "битом set-user-ID или set-group-ID, то сигнал о смерти родителя, "
538 "установленный B<prctl>(2) с флагом B<PR_SET_PDEATHSIG>, очищается."
539
540 #. type: Plain text
541 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
542 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
543 msgid ""
544 "The process name, as set by B<prctl>(2) B<PR_SET_NAME> (and displayed by "
545 "I<ps\\ -o comm>), is reset to the name of the new executable file."
546 msgstr ""
547 "Имя процесса, установленное через B<prctl>(2) B<PR_SET_NAME> (и отображаемое "
548 "I<ps\\ -o comm>), изменяется на имя нового исполняемого файла."
549
550 #. type: Plain text
551 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
552 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
553 msgid ""
554 "The B<SECBIT_KEEP_CAPS> I<securebits> flag is cleared. See "
555 "B<capabilities>(7)."
556 msgstr ""
557 "Флаг B<SECBIT_KEEP_CAPS> I<securebits> очищается. Смотрите "
558 "B<capabilities>(7)."
559
560 #. type: Plain text
561 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
562 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
563 msgid "The termination signal is reset to B<SIGCHLD> (see B<clone>(2))."
564 msgstr ""
565 "Сигнал завершения (termination signal) устанавливается в B<SIGCHLD> "
566 "(B<clone>(2))."
567
568 #. type: Plain text
569 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
570 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
571 msgid ""
572 "The file descriptor table is unshared, undoing the effect of the "
573 "B<CLONE_FILES> flag of B<clone>(2)."
574 msgstr ""
575 "Таблица файловых дескрипторов не является общей, отменяется действие флага "
576 "B<CLONE_FILES> у B<clone>(2)."
577
578 #. type: Plain text
579 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
580 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
581 msgid "Note the following further points:"
582 msgstr "Также стоит учитывать следующее:"
583
584 #. type: Plain text
585 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
586 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
587 msgid ""
588 "All threads other than the calling thread are destroyed during an "
589 "B<execve>(). Mutexes, condition variables, and other pthreads objects are "
590 "not preserved."
591 msgstr ""
592 "Все нити (threads), отличные от вызывающей, уничтожаются B<execve>(). "
593 "Мьютексы, условные переменные и другие объекты pthreads не сохраняются."
594
595 #. type: Plain text
596 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
597 #: opensuse-tumbleweed
598 #, fuzzy
599 #| msgid ""
600 #| "The equivalent of I<setlocale(LC_ALL, \"C\")> is executed at program "
601 #| "start-up."
602 msgid ""
603 "The equivalent of I<setlocale(LC_ALL,\\ \\[dq]C\\[dq])> is executed at "
604 "program start-up."
605 msgstr ""
606 "При запуске программы выполняется эквивалент I<setlocale(LC_ALL, \"C\")>."
607
608 #. type: Plain text
609 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
610 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
611 msgid ""
612 "POSIX.1 specifies that the dispositions of any signals that are ignored or "
613 "set to the default are left unchanged. POSIX.1 specifies one exception: if "
614 "B<SIGCHLD> is being ignored, then an implementation may leave the "
615 "disposition unchanged or reset it to the default; Linux does the former."
616 msgstr ""
617 "В POSIX.1 указано, что действия по отношению к любым игнорируемым или "
618 "имеющим настройку по умолчанию сигналам, остаются неизменными. В POSIX.1 "
619 "есть одно исключение: если B<SIGCHLD> игнорируется, то реализация может "
620 "оставить обработку сигнала (disposition) неизменной или вернуть настройку по "
621 "умолчанию; в Linux используется первое."
622
623 #. type: Plain text
624 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
625 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
626 msgid ""
627 "Any outstanding asynchronous I/O operations are canceled (B<aio_read>(3), "
628 "B<aio_write>(3))."
629 msgstr ""
630 "Все ожидающие выполнения асинхронные операции ввода-вывод отменяются "
631 "(B<aio_read>(3), B<aio_write>(3))."
632
633 #. type: Plain text
634 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
635 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
636 msgid ""
637 "For the handling of capabilities during B<execve>(), see B<capabilities>(7)."
638 msgstr ""
639 "Как происходит обработка мандатов (capabilities) при вызове B<execve>(), см. "
640 "B<capabilities>(7)."
641
642 #. #-#-#-#-# archlinux: execve.2.pot (PACKAGE VERSION) #-#-#-#-#
643 #. On Linux it appears that these file descriptors are
644 #. always open after an execve(), and it looks like
645 #. Solaris 8 and FreeBSD 6.1 are the same. -- mtk, 30 Apr 2007
646 #. type: Plain text
647 #. #-#-#-#-# debian-trixie: execve.2.pot (PACKAGE VERSION) #-#-#-#-#
648 #. On Linux it appears that these file descriptors are
649 #. always open after an execve(), and it looks like
650 #. Solaris 8 and FreeBSD 6.1 are the same. -- mtk, 30 Apr 2007
651 #. type: Plain text
652 #. #-#-#-#-# debian-unstable: execve.2.pot (PACKAGE VERSION) #-#-#-#-#
653 #. On Linux it appears that these file descriptors are
654 #. always open after an execve(), and it looks like
655 #. Solaris 8 and FreeBSD 6.1 are the same. -- mtk, 30 Apr 2007
656 #. type: Plain text
657 #. #-#-#-#-# fedora-44: execve.2.pot (PACKAGE VERSION) #-#-#-#-#
658 #. On Linux it appears that these file descriptors are
659 #. always open after an execve(), and it looks like
660 #. Solaris 8 and FreeBSD 6.1 are the same. -- mtk, 30 Apr 2007
661 #. type: Plain text
662 #. #-#-#-#-# fedora-rawhide: execve.2.pot (PACKAGE VERSION) #-#-#-#-#
663 #. On Linux it appears that these file descriptors are
664 #. always open after an execve(), and it looks like
665 #. Solaris 8 and FreeBSD 6.1 are the same. -- mtk, 30 Apr 2007
666 #. type: Plain text
667 #. #-#-#-#-# mageia-cauldron: execve.2.pot (PACKAGE VERSION) #-#-#-#-#
668 #. On Linux it appears that these file descriptors are
669 #. always open after an execve(), and it looks like
670 #. Solaris 8 and FreeBSD 6.1 are the same. -- mtk, 30 Apr 2007
671 #. type: Plain text
672 #. #-#-#-#-# opensuse-leap-16-1: execve.2.pot (PACKAGE VERSION) #-#-#-#-#
673 #. On Linux it appears that these file descriptors are
674 #. always open after an execve(), and it looks like
675 #. Solaris 8 and FreeBSD 6.1 are the same. -- mtk, 30 Apr 2007
676 #. type: Plain text
677 #. #-#-#-#-# opensuse-tumbleweed: execve.2.pot (PACKAGE VERSION) #-#-#-#-#
678 #. On Linux it appears that these file descriptors are
679 #. always open after an execve(), and it looks like
680 #. Solaris 8 and FreeBSD 6.1 are the same. -- mtk, 30 Apr 2007
681 #. type: Plain text
682 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
683 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
684 msgid ""
685 "By default, file descriptors remain open across an B<execve>(). File "
686 "descriptors that are marked close-on-exec are closed; see the description of "
687 "B<FD_CLOEXEC> in B<fcntl>(2). (If a file descriptor is closed, this will "
688 "cause the release of all record locks obtained on the underlying file by "
689 "this process. See B<fcntl>(2) for details.) POSIX.1 says that if file "
690 "descriptors 0, 1, and 2 would otherwise be closed after a successful "
691 "B<execve>(), and the process would gain privilege because the set-user-ID or "
692 "set-group-ID mode bit was set on the executed file, then the system may open "
693 "an unspecified file for each of these file descriptors. As a general "
694 "principle, no portable program, whether privileged or not, can assume that "
695 "these three file descriptors will remain closed across an B<execve>()."
696 msgstr ""
697 "По умолчанию, после B<execve>() файловые дескрипторы остаются открытыми. "
698 "Файловые дескрипторы, помеченные как close-on-exec (закрывать при запуске), "
699 "закрываются; смотрите описание B<FD_CLOEXEC> в B<fcntl>(2) (если файловый "
700 "дескриптор закрыт, это приводит к освобождению всех имеющихся блокировок, "
701 "полученных на соответствующий файл данным процессом. Подробней смотрите "
702 "B<fcntl>(2)). В POSIX.1 сказано, что если бы файловые дескрипторы 0, 1 и 2 "
703 "были закрыты после успешного вызова B<execve>(), и процесс получил бы "
704 "привилегии из-за установленных битов режима set-user-ID или set-group-ID на "
705 "исполняемом файле, то система смогла бы открыть произвольный файл для "
706 "каждого из этих дескрипторов. Считается, что переносимая программа, с "
707 "привилегиями или без, не может рассчитывать, что эти три файловых "
708 "дескриптора будут оставаться закрытыми после B<execve>()."
709
710 #. type: SS
711 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
712 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
713 #, no-wrap
714 msgid "Interpreter scripts"
715 msgstr "Интерпретируемые сценарии"
716
717 #. type: Plain text
718 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
719 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
720 msgid ""
721 "An interpreter script is a text file that has execute permission enabled and "
722 "whose first line is of the form:"
723 msgstr ""
724 "Интерпретируемый сценарий \\(em это текстовый файл, у которого установлен "
725 "бит выполнения и первая строка имеет вид:"
726
727 #. type: Plain text
728 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
729 #: opensuse-tumbleweed
730 msgid "[I<optional-arg>]"
731 msgstr ""
732
733 #. type: Plain text
734 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
735 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
736 msgid "The I<interpreter> must be a valid pathname for an executable file."
737 msgstr "В поле I<интерпретатор> должно быть указано имя файла запуска."
738
739 #. type: Plain text
740 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
741 #: opensuse-tumbleweed
742 msgid "I<interpreter> will be invoked with the following arguments:"
743 msgstr ""
744
745 #. type: SY
746 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
747 #: opensuse-tumbleweed
748 #, no-wrap
749 msgid "\\f[I]interpreter\\fR"
750 msgstr ""
751
752 #. type: Plain text
753 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
754 #: opensuse-tumbleweed
755 #, fuzzy
756 #| msgid "I<interpreter> [optional-arg] I<pathname> arg...\n"
757 msgid "[I<optional-arg>] I<path> I<arg>..."
758 msgstr "I<интерпретатор> [необязательный параметр] I<pathname> параметр…\n"
759
760 #. See the P - preserve-argv[0] option.
761 #. Documentation/admin-guide/binfmt-misc.rst
762 #. https://www.kernel.org/doc/html/latest/admin-guide/binfmt-misc.html
763 #. type: Plain text
764 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
765 #: opensuse-tumbleweed
766 #, fuzzy
767 #| msgid ""
768 #| "where I<pathname> is the absolute pathname of the file specified as the "
769 #| "first argument of B<execve>(), and I<arg...> is the series of words "
770 #| "pointed to by the I<argv> argument of B<execve>(), starting at "
771 #| "I<argv>[1]. Note that there is no way to get the I<argv[0]> that was "
772 #| "passed to the B<execve>() call."
773 msgid ""
774 "where I<arg...> is the series of words pointed to by the I<argv> argument of "
775 "B<execve>(), starting at I<argv[1]>. Note that there is no way to get the "
776 "I<argv[0]> that was passed to the B<execve>() call."
777 msgstr ""
778 "где I<pathname> — абсолютный путь к файлу, указанному в первом аргументе "
779 "B<execve>() и I<параметр...> — последовательность слов, указываемых "
780 "аргументом I<argv> в B<execve>() начиная с I<argv>[1]. Заметим, что нельзя "
781 "получить I<argv[0]>, переданный в вызов B<execve>()."
782
783 #. type: Plain text
784 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
785 #: opensuse-leap-16-1 opensuse-tumbleweed
786 #, fuzzy
787 #| msgid ""
788 #| "For portable use, I<optional-arg> should either be absent, or be "
789 #| "specified as a single word (i.e., it should not contain white space); see "
790 #| "NOTES below."
791 msgid ""
792 "For portable use, I<optional-arg> should either be absent, or be specified "
793 "as a single word (i.e., it should not contain white space); see VERSIONS "
794 "below."
795 msgstr ""
796 "В целях переносимости, I<необязательный параметр> должен быть или пустым, "
797 "или задаваться одним словом (т.е., не должен содержать пробельных символов); "
798 "см. ЗАМЕЧАНИЯ далее."
799
800 #. commit bf2a9a39639b8b51377905397a5005f444e9a892
801 #. type: Plain text
802 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
803 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
804 msgid ""
805 "Since Linux 2.6.28, the kernel permits the interpreter of a script to itself "
806 "be a script. This permission is recursive, up to a limit of four "
807 "recursions, so that the interpreter may be a script which is interpreted by "
808 "a script, and so on."
809 msgstr ""
810 "Начиная с Linux 2.6.28 ядро позволяет интерпретатору сценария самому быть "
811 "сценарием. Это разрешение рекурсивно (до четырёх раз), поэтому сценарий "
812 "может быть сценарием, который интерпретируется сценарием и т. д."
813
814 #. type: SS
815 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
816 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
817 #, no-wrap
818 msgid "Limits on size of arguments and environment"
819 msgstr "Ограничения на размер параметров и окружения"
820
821 #. type: Plain text
822 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
823 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
824 msgid ""
825 "Most UNIX implementations impose some limit on the total size of the command-"
826 "line argument (I<argv>) and environment (I<envp>) strings that may be "
827 "passed to a new program. POSIX.1 allows an implementation to advertise this "
828 "limit using the B<ARG_MAX> constant (either defined in I<E<lt>limits.hE<gt>> "
829 "or available at run time using the call I<sysconf(_SC_ARG_MAX)>)."
830 msgstr ""
831 "Большинство реализаций UNIX накладывает некоторые ограничения на полный "
832 "размер параметра командной строки (I<argv>) и окружения (I<envp>), которые "
833 "можно передать новой программе. POSIX.1 позволяет реализации объявить это "
834 "ограничение через константу B<ARG_MAX> (определённую в I<E<lt>limits.hE<gt>> "
835 "или сделать её доступной во время выполнения через вызов "
836 "I<sysconf(_SC_ARG_MAX)>)."
837
838 #. type: Plain text
839 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
840 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
841 #, fuzzy
842 #| msgid ""
843 #| "On Linux prior to kernel 2.6.23, the memory used to store the environment "
844 #| "and argument strings was limited to 32 pages (defined by the kernel "
845 #| "constant B<MAX_ARG_PAGES>). On architectures with a 4-kB page size, this "
846 #| "yields a maximum size of 128\\ kB."
847 msgid ""
848 "Before Linux 2.6.23, the memory used to store the environment and argument "
849 "strings was limited to 32 pages (defined by the kernel constant "
850 "B<MAX_ARG_PAGES>). On architectures with a 4-kB page size, this yields a "
851 "maximum size of 128\\ kB."
852 msgstr ""
853 "В ядре Linux до версии 2.6.23 размер памяти, используемый для хранения "
854 "окружения и строк параметров, был ограничен 32 страницами (определялся "
855 "ядерной константой B<MAX_ARG_PAGES>). На архитектурах с 4-КиБ размером "
856 "страницы это давало максимальный размер в 128\\ КиБ."
857
858 #. For some background on the changes to ARG_MAX in Linux 2.6.23 and
859 #. Linux 2.6.25, see:
860 #. http://sourceware.org/bugzilla/show_bug.cgi?id=5786
861 #. http://bugzilla.kernel.org/show_bug.cgi?id=10095
862 #. http://thread.gmane.org/gmane.linux.kernel/646709/focus=648101,
863 #. checked into Linux 2.6.25 as commit a64e715fc74b1a7dcc5944f848acc38b2c4d4ee2.
864 #. Ollie: That doesn't include the lists of pointers, though,
865 #. so the actual usage is a bit higher (1 pointer per argument).
866 #. type: Plain text
867 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
868 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
869 #, fuzzy
870 #| msgid ""
871 #| "On kernel 2.6.23 and later, most architectures support a size limit "
872 #| "derived from the soft B<RLIMIT_STACK> resource limit (see "
873 #| "B<getrlimit>(2)) that is in force at the time of the B<execve>() call. "
874 #| "(Architectures with no memory management unit are excepted: they maintain "
875 #| "the limit that was in effect before kernel 2.6.23.) This change allows "
876 #| "programs to have a much larger argument and/or environment list. For "
877 #| "these architectures, the total size is limited to 1/4 of the allowed "
878 #| "stack size. (Imposing the 1/4-limit ensures that the new program always "
879 #| "has some stack space.) Additionally, the total size is limited to 3/4 of "
880 #| "the value of the kernel constant B<_STK_LIM> (8 Mibibytes). Since Linux "
881 #| "2.6.25, the kernel also places a floor of 32 pages on this size limit, so "
882 #| "that, even when B<RLIMIT_STACK> is set very low, applications are "
883 #| "guaranteed to have at least as much argument and environment space as was "
884 #| "provided by Linux 2.6.23 and earlier. (This guarantee was not provided "
885 #| "in Linux 2.6.23 and 2.6.24.) Additionally, the limit per string is 32 "
886 #| "pages (the kernel constant B<MAX_ARG_STRLEN>), and the maximum number of "
887 #| "strings is 0x7FFFFFFF."
888 msgid ""
889 "On Linux 2.6.23 and later, most architectures support a size limit derived "
890 "from the soft B<RLIMIT_STACK> resource limit (see B<getrlimit>(2)) that is "
891 "in force at the time of the B<execve>() call. (Architectures with no "
892 "memory management unit are excepted: they maintain the limit that was in "
893 "effect before Linux 2.6.23.) This change allows programs to have a much "
894 "larger argument and/or environment list. For these architectures, the total "
895 "size is limited to 1/4 of the allowed stack size. (Imposing the 1/4-limit "
896 "ensures that the new program always has some stack space.) Additionally, "
897 "the total size is limited to 3/4 of the value of the kernel constant "
898 "B<_STK_LIM> (8 MiB). Since Linux 2.6.25, the kernel also places a floor of "
899 "32 pages on this size limit, so that, even when B<RLIMIT_STACK> is set very "
900 "low, applications are guaranteed to have at least as much argument and "
901 "environment space as was provided by Linux 2.6.22 and earlier. (This "
902 "guarantee was not provided in Linux 2.6.23 and 2.6.24.) Additionally, the "
903 "limit per string is 32 pages (the kernel constant B<MAX_ARG_STRLEN>), and "
904 "the maximum number of strings is 0x7FFFFFFF."
905 msgstr ""
906 "Начиная с ядра версии 2.6.23, большинство архитектур поддерживают предельный "
907 "размер, высчитываемый от мягкого ограничения ресурса B<RLIMIT_STACK> (см. "
908 "B<getrlimit>(2)), который действует во время вызова B<execve>(). (Исключение "
909 "составляют архитектуры без механизма управления памятью: в них ограничение "
910 "рассчитывается как и до версии 2.6.23.) Это изменение позволяет программам "
911 "иметь больший список параметров и/или окружения. Для этих архитектур полный "
912 "размер ограничен до 1/4 разрешённого размера стека. (Накладываемое "
913 "ограничение в 1/4 позволяет новой программе всегда иметь некоторое "
914 "пространство под стек.) Кроме того, полный размер ограничен 3/4 значения "
915 "ядерной константы B<_STK_LIM> (8 мибибайт). Начиная с Linux версии 2.6.25, "
916 "ядро также отводит нижние 32 страницы для этого предельного размера, "
917 "поэтому, даже когда B<RLIMIT_STACK> задан слишком низко, приложения "
918 "гарантированно получат, по крайней мере, столько же пространства под "
919 "параметры и окружение, сколько бы они получили при работе с Linux 2.6.23 и "
920 "ранее. (Это гарантия не обеспечивалась в Linux 2.6.23 и 2.6.24.) Также, "
921 "размер строки ограничен 32 страницами (ядерная константа B<MAX_ARG_STRLEN>), "
922 "а максимальное число строк может быть 0x7FFFFFFF."
923
924 #. type: SH
925 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
926 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
927 #, no-wrap
928 msgid "RETURN VALUE"
929 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
930
931 #. type: Plain text
932 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
933 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
934 #, fuzzy
935 #| msgid ""
936 #| "On success, B<execve>() does not return, on error -1 is returned, and "
937 #| "I<errno> is set appropriately."
938 msgid ""
939 "On success, B<execve>() does not return, on error -1 is returned, and "
940 "I<errno> is set to indicate the error."
941 msgstr ""
942 "При успешном выполнении B<execve>() не возвращает управление. В случае "
943 "ошибки возвращается -1, а I<errno> устанавливается в соответствующее "
944 "значение."
945
946 #. type: SH
947 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
948 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
949 #, no-wrap
950 msgid "ERRORS"
951 msgstr "ОШИБКИ"
952
953 #. type: TP
954 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
955 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
956 #, no-wrap
957 msgid "B<E2BIG>"
958 msgstr "B<E2BIG>"
959
960 #. type: Plain text
961 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
962 #: opensuse-tumbleweed
963 msgid ""
964 "The total number of bytes in the environment (I<envp>) and argument list "
965 "(I<argv>) is too large, an argument or environment string is too long, or "
966 "the full I<path> of the executable is too long. The terminating null byte "
967 "is counted as part of the string length."
968 msgstr ""
969
970 #. type: TP
971 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
972 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
973 #, no-wrap
974 msgid "B<EACCES>"
975 msgstr "B<EACCES>"
976
977 #. type: Plain text
978 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
979 #: opensuse-tumbleweed
980 #, fuzzy
981 #| msgid ""
982 #| "Search permission is denied on a component of the path prefix of "
983 #| "I<pathname> or the name of a script interpreter. (See also "
984 #| "B<path_resolution>(7).)"
985 msgid ""
986 "Search permission is denied on a component of the path prefix of I<path> or "
987 "the name of a script interpreter. (See also B<path_resolution>(7).)"
988 msgstr ""
989 "В одном из каталогов префикса I<pathname> или интерпретатора не разрешён "
990 "поиск (смотрите также B<path_resolution>(7))."
991
992 #. type: Plain text
993 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
994 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
995 msgid "The file or a script interpreter is not a regular file."
996 msgstr "Файл или интерпретатор не являются обычным файлом."
997
998 #. type: Plain text
999 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1000 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1001 msgid ""
1002 "Execute permission is denied for the file or a script or ELF interpreter."
1003 msgstr ""
1004 "Не установлен бит выполнения на файле или сценарии или интерпретаторе ELF."
1005
1006 #. type: Plain text
1007 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1008 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1009 msgid "The filesystem is mounted I<noexec>."
1010 msgstr "Файловая система смонтирована с I<noexec>."
1011
1012 #. type: TP
1013 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1014 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1015 #, no-wrap
1016 msgid "B<EAGAIN> (since Linux 3.1)"
1017 msgstr "B<EAGAIN> (начиная с Linux 3.1)"
1018
1019 #. commit 72fa59970f8698023045ab0713d66f3f4f96945c
1020 #. type: Plain text
1021 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1022 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1023 #, fuzzy
1024 #| msgid ""
1025 #| "Having changed its real UID using one of the B<set*uid>() calls, the "
1026 #| "caller was\\(emand is now still\\(emabove its B<RLIMIT_NPROC> resource "
1027 #| "limit (see B<setrlimit>(2)). For a more detailed explanation of this "
1028 #| "error, see NOTES."
1029 msgid ""
1030 "Having changed its real UID using one of the B<set*uid>() calls, the caller "
1031 "was\\[em]and is now still\\[em]above its B<RLIMIT_NPROC> resource limit (see "
1032 "B<setrlimit>(2)). For a more detailed explanation of this error, see NOTES."
1033 msgstr ""
1034 "Из-за изменения реального UID одним из вызовов B<set*uid>() ранее, "
1035 "вызывающий всё ещё превышает ограничитель ресурса B<RLIMIT_NPROC> (смотрите "
1036 "B<setrlimit>(2)). Подробное объяснение этой ошибки смотрите в ЗАМЕЧАНИЯХ."
1037
1038 #. type: TP
1039 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1040 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1041 #, no-wrap
1042 msgid "B<EFAULT>"
1043 msgstr "B<EFAULT>"
1044
1045 #. type: Plain text
1046 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1047 #: opensuse-tumbleweed
1048 #, fuzzy
1049 #| msgid ""
1050 #| "I<pathname> or one of the pointers in the vectors I<argv> or I<envp> "
1051 #| "points outside your accessible address space."
1052 msgid ""
1053 "I<path> or one of the pointers in the vectors I<argv> or I<envp> points "
1054 "outside your accessible address space."
1055 msgstr ""
1056 "Значение I<pathname> или один из указателей в векторах I<argv> или I<envp> "
1057 "указывает за пределы доступного адресного пространства."
1058
1059 #. type: TP
1060 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1061 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1062 #, no-wrap
1063 msgid "B<EINVAL>"
1064 msgstr "B<EINVAL>"
1065
1066 #. type: Plain text
1067 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1068 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1069 msgid ""
1070 "An ELF executable had more than one PT_INTERP segment (i.e., tried to name "
1071 "more than one interpreter)."
1072 msgstr ""
1073 "Исполняемый ELF-файл содержит более одного сегмента PT_INTERP (т.е., в нём "
1074 "указано более одного интерпретатора)."
1075
1076 #. type: TP
1077 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1078 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1079 #, no-wrap
1080 msgid "B<EIO>"
1081 msgstr "B<EIO>"
1082
1083 #. type: Plain text
1084 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1085 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1086 msgid "An I/O error occurred."
1087 msgstr "Произошла ошибка ввода-вывода."
1088
1089 #. type: TP
1090 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1091 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1092 #, no-wrap
1093 msgid "B<EISDIR>"
1094 msgstr "B<EISDIR>"
1095
1096 #. type: Plain text
1097 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1098 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1099 msgid "An ELF interpreter was a directory."
1100 msgstr "Интерпретатор ELF является каталогом."
1101
1102 #. type: TP
1103 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1104 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1105 #, no-wrap
1106 msgid "B<ELIBBAD>"
1107 msgstr "B<ELIBBAD>"
1108
1109 #. type: Plain text
1110 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1111 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1112 msgid "An ELF interpreter was not in a recognized format."
1113 msgstr "Не распознан формат интерпретатора ELF."
1114
1115 #. type: TP
1116 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1117 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1118 #, no-wrap
1119 msgid "B<ELOOP>"
1120 msgstr "B<ELOOP>"
1121
1122 #. type: Plain text
1123 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1124 #: opensuse-tumbleweed
1125 #, fuzzy
1126 #| msgid ""
1127 #| "Too many symbolic links were encountered in resolving I<pathname> or the "
1128 #| "name of a script or ELF interpreter."
1129 msgid ""
1130 "Too many symbolic links were encountered in resolving I<path> or the name of "
1131 "a script or ELF interpreter."
1132 msgstr ""
1133 "Во время определения I<pathname>, имени сценария или интерпретатора ELF "
1134 "встретилось слишком много символьных ссылок."
1135
1136 #. commit d740269867021faf4ce38a449353d2b986c34a67
1137 #. type: Plain text
1138 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1139 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1140 msgid ""
1141 "The maximum recursion limit was reached during recursive script "
1142 "interpretation (see \"Interpreter scripts\", above). Before Linux 3.8, the "
1143 "error produced for this case was B<ENOEXEC>."
1144 msgstr ""
1145 "Достигнут предел количества рекурсий при интерпретации сценария (смотрите "
1146 "«Интерпретируемые сценарии» выше). До Linux 3.8 для этого случая "
1147 "возвращалась ошибка B<ENOEXEC>."
1148
1149 #. type: TP
1150 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1151 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1152 #, no-wrap
1153 msgid "B<EMFILE>"
1154 msgstr "B<EMFILE>"
1155
1156 #. type: Plain text
1157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1158 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1159 msgid ""
1160 "The per-process limit on the number of open file descriptors has been "
1161 "reached."
1162 msgstr ""
1163 "Было достигнуто ограничение по количеству открытых файловых дескрипторов на "
1164 "процесс."
1165
1166 #. type: TP
1167 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1168 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1169 #, no-wrap
1170 msgid "B<ENAMETOOLONG>"
1171 msgstr "B<ENAMETOOLONG>"
1172
1173 #. type: Plain text
1174 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1175 #: opensuse-tumbleweed
1176 msgid "I<path> is too long."
1177 msgstr "I<path> слишком длинен."
1178
1179 #. type: TP
1180 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1181 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1182 #, no-wrap
1183 msgid "B<ENFILE>"
1184 msgstr "B<ENFILE>"
1185
1186 #. type: Plain text
1187 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1188 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1189 msgid ""
1190 "The system-wide limit on the total number of open files has been reached."
1191 msgstr "Достигнуто максимальное количество открытых файлов в системе."
1192
1193 #. type: TP
1194 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1195 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1196 #, no-wrap
1197 msgid "B<ENOENT>"
1198 msgstr "B<ENOENT>"
1199
1200 #. type: Plain text
1201 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1202 #: opensuse-tumbleweed
1203 #, fuzzy
1204 #| msgid "The file I<pathname> or a script or ELF interpreter does not exist."
1205 msgid "I<path> or a script or ELF interpreter does not exist."
1206 msgstr "Файл I<pathname> или скрипт или интерпретатор ELF не существует."
1207
1208 #. type: TP
1209 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1210 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1211 #, no-wrap
1212 msgid "B<ENOEXEC>"
1213 msgstr "B<ENOEXEC>"
1214
1215 #. type: Plain text
1216 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1217 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1218 msgid ""
1219 "An executable is not in a recognized format, is for the wrong architecture, "
1220 "or has some other format error that means it cannot be executed."
1221 msgstr ""
1222 "Не распознан формат исполняемого файла, он не подходит для архитектуры, или "
1223 "имеет ошибки в формате, из-за чего не может быть выполнен."
1224
1225 #. type: TP
1226 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1227 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1228 #, no-wrap
1229 msgid "B<ENOMEM>"
1230 msgstr "B<ENOMEM>"
1231
1232 #. type: Plain text
1233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1235 msgid "Insufficient kernel memory was available."
1236 msgstr "Недостаточное количество памяти ядра."
1237
1238 #. type: TP
1239 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1240 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1241 #, no-wrap
1242 msgid "B<ENOTDIR>"
1243 msgstr "B<ENOTDIR>"
1244
1245 #. type: Plain text
1246 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1247 #: opensuse-tumbleweed
1248 #, fuzzy
1249 #| msgid ""
1250 #| "A component of the path prefix of I<pathname> or a script or ELF "
1251 #| "interpreter is not a directory."
1252 msgid ""
1253 "A component of the path prefix of I<path> or a script or ELF interpreter is "
1254 "not a directory."
1255 msgstr ""
1256 "Компонент пути в I<pathname>, сценарии или интерпретаторе ELF в "
1257 "действительности не является каталогом."
1258
1259 #. type: TP
1260 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1261 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1262 #, no-wrap
1263 msgid "B<EPERM>"
1264 msgstr "B<EPERM>"
1265
1266 #. type: Plain text
1267 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1268 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1269 msgid ""
1270 "The filesystem is mounted I<nosuid>, the user is not the superuser, and the "
1271 "file has the set-user-ID or set-group-ID bit set."
1272 msgstr ""
1273 "Файловая система смонтирована с I<nosuid>, пользователь не является "
1274 "суперпользователем, а на файле установлен бит set-user-ID или set-group-ID."
1275
1276 #. type: Plain text
1277 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1278 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1279 msgid ""
1280 "The process is being traced, the user is not the superuser and the file has "
1281 "the set-user-ID or set-group-ID bit set."
1282 msgstr ""
1283 "Над процессом выполняется трассировка, пользователь не имеет прав "
1284 "суперпользователя, а у файла установлен бит set-user-ID или set-group-ID."
1285
1286 #. type: Plain text
1287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1288 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1289 msgid ""
1290 "A \"capability-dumb\" applications would not obtain the full set of "
1291 "permitted capabilities granted by the executable file. See "
1292 "B<capabilities>(7)."
1293 msgstr ""
1294 "Приложение «с недоработанными мандатами» (capability-dumb) не получило бы "
1295 "полный набор ограничивающих мандатов, разрешаемых исполняемым файлом. "
1296 "Смотрите B<capabilities>(7)."
1297
1298 #. type: TP
1299 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1300 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1301 #, no-wrap
1302 msgid "B<ETXTBSY>"
1303 msgstr "B<ETXTBSY>"
1304
1305 #. type: Plain text
1306 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1307 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1308 msgid "The specified executable was open for writing by one or more processes."
1309 msgstr ""
1310 "Заданный исполняемый файл был открыт на запись одним или более процессов."
1311
1312 #. type: SH
1313 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1314 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1315 #, no-wrap
1316 msgid "VERSIONS"
1317 msgstr "ВЕРСИИ"
1318
1319 #. type: Plain text
1320 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1321 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1322 #, fuzzy
1323 #| msgid ""
1324 #| "POSIX.1-2001, POSIX.1-2008, SVr4, 4.3BSD. POSIX does not document the #! "
1325 #| "behavior, but it exists (with some variations) on other UNIX systems."
1326 msgid ""
1327 "POSIX does not document the #! behavior, but it exists (with some "
1328 "variations) on other UNIX systems."
1329 msgstr ""
1330 "POSIX.1-2001, POSIX.1-2008, SVr4, 4.3BSD. В POSIX не описано поведение #!, "
1331 "но это существует (в нескольких вариантах) в других системах UNIX."
1332
1333 #. e.g., EFAULT on Solaris 8 and FreeBSD 6.1; but
1334 #. HP-UX 11 is like Linux -- mtk, Apr 2007
1335 #. Bug filed 30 Apr 2007: http://bugzilla.kernel.org/show_bug.cgi?id=8408
1336 #. Bug rejected (because fix would constitute an ABI change).
1337 #. type: Plain text
1338 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1339 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1340 msgid ""
1341 "On Linux, I<argv> and I<envp> can be specified as NULL. In both cases, this "
1342 "has the same effect as specifying the argument as a pointer to a list "
1343 "containing a single null pointer. B<Do not take advantage of this "
1344 "nonstandard and nonportable misfeature!> On many other UNIX systems, "
1345 "specifying I<argv> as NULL will result in an error (B<EFAULT>). I<Some> "
1346 "other UNIX systems treat the I<envp==NULL> case the same as Linux."
1347 msgstr ""
1348 "В Linux значения I<argv> и I<envp> могут быть равны NULL. В обоих случаях, "
1349 "это работает также, как если аргумент бы содержал указатель на список с "
1350 "единственным указателем null. B<Не пользуйтесь преимуществом данной "
1351 "нестандартной и непереносимой возможностью!> В многих других системах UNIX "
1352 "указание I<argv> равным NULL приводит к ошибке (B<EFAULT>). I<Некоторые> "
1353 "другие системы UNIX при I<envp==NULL> работают также как Linux."
1354
1355 #. type: Plain text
1356 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1357 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1358 msgid ""
1359 "POSIX.1 says that values returned by B<sysconf>(3) should be invariant over "
1360 "the lifetime of a process. However, since Linux 2.6.23, if the "
1361 "B<RLIMIT_STACK> resource limit changes, then the value reported by "
1362 "B<_SC_ARG_MAX> will also change, to reflect the fact that the limit on space "
1363 "for holding command-line arguments and environment variables has changed."
1364 msgstr ""
1365 "В POSIX.1 указано, что значения, возвращаемые B<sysconf>(3), должны быть "
1366 "неизменны в течении существования процесса. Однако, начиная с версии Linux "
1367 "2.6.23, если изменяется ограничение ресурса B<RLIMIT_STACK>, то значение, "
1368 "возвращаемое для B<_SC_ARG_MAX>, также будет изменено, чтобы отразить, что "
1369 "ограничение на пространство для хранения параметров командной строки и "
1370 "окружения было изменено."
1371
1372 #. commit 6eb3c3d0a52dca337e327ae8868ca1f44a712e02
1373 #. type: Plain text
1374 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1375 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1376 msgid ""
1377 "The kernel imposes a maximum length on the text that follows the \"#!\" "
1378 "characters at the start of a script; characters beyond the limit are "
1379 "ignored. Before Linux 5.1, the limit is 127 characters. Since Linux 5.1, "
1380 "the limit is 255 characters."
1381 msgstr ""
1382 "Ядро накладывает ограничение на максимальную длину текста после символов "
1383 "«#!» в начале сценария; символы за пределами границ игнорируются. До Linux "
1384 "5.1 было ограничение в 127 символов. Начиная с Linux 5.1 ограничение "
1385 "установлено в 255 символов."
1386
1387 #. e.g., Solaris 8
1388 #. e.g., FreeBSD before 6.0, but not FreeBSD 6.0 onward
1389 #. type: Plain text
1390 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1391 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1392 msgid ""
1393 "The semantics of the I<optional-arg> argument of an interpreter script vary "
1394 "across implementations. On Linux, the entire string following the "
1395 "I<interpreter> name is passed as a single argument to the interpreter, and "
1396 "this string can include white space. However, behavior differs on some "
1397 "other systems. Some systems use the first white space to terminate "
1398 "I<optional-arg>. On some systems, an interpreter script can have multiple "
1399 "arguments, and white spaces in I<optional-arg> are used to delimit the "
1400 "arguments."
1401 msgstr ""
1402 "Семантика I<необязательного параметра> интерпретатора сценариев различна в "
1403 "разных реализациях. В Linux, вся строка после имени I<интерпретатора> "
1404 "передаётся интерпретатору как единый параметр, и эта строка может содержать "
1405 "пробельные символы. Однако, такое поведение отличается от других систем. "
1406 "Некоторые системы используют первый пробел в качестве признака окончания "
1407 "I<необязательного параметра>. В других системах, интерпретатор сценариев "
1408 "может иметь несколько параметров, и пробелы в I<необязательном параметре> "
1409 "используются для их разграничения."
1410
1411 #. type: Plain text
1412 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1413 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1414 msgid ""
1415 "Linux (like most other modern UNIX systems) ignores the set-user-ID and set-"
1416 "group-ID bits on scripts."
1417 msgstr ""
1418 "На файлах со сценариями в Linux (как и большинстве других современных "
1419 "системах UNIX) игнорируются биты set-user-ID и set-group-ID."
1420
1421 #. type: SH
1422 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1423 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1424 #, no-wrap
1425 msgid "STANDARDS"
1426 msgstr "СТАНДАРТЫ"
1427
1428 #. type: Plain text
1429 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1430 #: opensuse-tumbleweed
1431 msgid "POSIX.1-2024."
1432 msgstr "POSIX.1-2024."
1433
1434 #. type: SH
1435 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1436 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1437 #, no-wrap
1438 msgid "HISTORY"
1439 msgstr "ИСТОРИЯ"
1440
1441 #. SVr4 documents additional error
1442 #. conditions EAGAIN, EINTR, ELIBACC, ENOLINK, EMULTIHOP; POSIX does not
1443 #. document ETXTBSY, EPERM, EFAULT, ELOOP, EIO, ENFILE, EMFILE, EINVAL,
1444 #. EISDIR or ELIBBAD error conditions.
1445 #. type: Plain text
1446 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1447 #: opensuse-tumbleweed
1448 #, fuzzy
1449 #| msgid "4.4BSD, SVr4, POSIX.1-2001."
1450 msgid "4.3BSD, SVr4, POSIX.1-1988."
1451 msgstr "4.4BSD, SVr4, POSIX.1-2001."
1452
1453 #. type: Plain text
1454 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1455 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1456 msgid ""
1457 "With UNIX\\ V6, the argument list of an B<exec>() call was ended by 0, "
1458 "while the argument list of I<main> was ended by -1. Thus, this argument "
1459 "list was not directly usable in a further B<exec>() call. Since UNIX\\ V7, "
1460 "both are NULL."
1461 msgstr ""
1462 "В UNIX\\ V6 список аргументов вызова B<exec>() заканчивался 0, а список "
1463 "аргументов I<main> заканчивался -1. Поэтому, этот список аргументов не мог "
1464 "быть использован напрямую в последующем вызове B<exec>(). Начиная с UNIX\\ "
1465 "V7 оба списка стали оканчиваться NULL."
1466
1467 #. type: SH
1468 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1469 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1470 #, no-wrap
1471 msgid "NOTES"
1472 msgstr "ПРИМЕЧАНИЯ"
1473
1474 #. type: Plain text
1475 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1476 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1477 msgid ""
1478 "One sometimes sees B<execve>() (and the related functions described in "
1479 "B<exec>(3)) described as \"executing a I<new> process\" (or similar). This "
1480 "is a highly misleading description: there is no new process; many attributes "
1481 "of the calling process remain unchanged (in particular, its PID). All that "
1482 "B<execve>() does is arrange for an existing process (the calling process) "
1483 "to execute a new program."
1484 msgstr ""
1485 "Иногда, про B<execve>() (и подобные функции, описанные в B<exec>(3)) "
1486 "говорят, что он «выполняет I<новый> процесс». Это крайне некорректная фраза "
1487 "— не появляется нового процесса; много атрибутов вызывающего процесса "
1488 "остаются неизменными (в частности, его PID). Всё, что делает B<execve>(2), "
1489 "это перестраивает существующий процесс (вызывавший процесс) под выполнение "
1490 "новой программы."
1491
1492 #. type: Plain text
1493 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1494 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1495 msgid "Set-user-ID and set-group-ID processes can not be B<ptrace>(2)d."
1496 msgstr ""
1497 "Над процессами с установленными set-user-ID и set-group-ID не может "
1498 "выполняться B<ptrace>(2)."
1499
1500 #. type: Plain text
1501 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1502 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1503 msgid ""
1504 "The result of mounting a filesystem I<nosuid> varies across Linux kernel "
1505 "versions: some will refuse execution of set-user-ID and set-group-ID "
1506 "executables when this would give the user powers they did not have already "
1507 "(and return B<EPERM>), some will just ignore the set-user-ID and set-group-"
1508 "ID bits and B<exec>() successfully."
1509 msgstr ""
1510 "Результат работы при монтировании файловой системы с параметром I<nosuid> "
1511 "различается в разных версиях ядра Linux: некоторые будут отказывать в "
1512 "запуске исполняемых файлов с установленными битами set-user-ID и set-group-"
1513 "ID, если это дало бы пользователю больше прав чем уже есть (и возвращать "
1514 "B<EPERM>), другие просто проигнорируют биты set-user-ID и set-group-ID и "
1515 "успешно выполнят B<exec>()."
1516
1517 #. commit 19d860a140beac48a1377f179e693abe86a9dac9
1518 #. type: Plain text
1519 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1520 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1521 #, fuzzy
1522 #| msgid ""
1523 #| "In most cases where B<execve>() fails, control returns to the original "
1524 #| "executable image, and the caller of B<execve>() can then handle the "
1525 #| "error. However, in (rare) cases (typically caused by resource "
1526 #| "exhaustion), failure may occur past the point of no return: the original "
1527 #| "executable image has been torn down, but the new image could not be "
1528 #| "completely built. In such cases, the kernel kills the process with a "
1529 #| "B<SIGKILL> signal."
1530 msgid ""
1531 "In most cases where B<execve>() fails, control returns to the original "
1532 "executable image, and the caller of B<execve>() can then handle the error. "
1533 "However, in (rare) cases (typically caused by resource exhaustion), failure "
1534 "may occur past the point of no return: the original executable image has "
1535 "been torn down, but the new image could not be completely built. In such "
1536 "cases, the kernel kills the process with a B<SIGSEGV> (B<SIGKILL> until "
1537 "Linux 3.17) signal."
1538 msgstr ""
1539 "В большинстве случаев отказа B<execve>() управление возвращается в "
1540 "первоначально исполняемый образ и вызывающий B<execve>() может обработать "
1541 "ошибку. Однако в (редких) случаях (обычно вызванных отсутствием ресурсов), "
1542 "ошибка может возникнуть после точки невозврата: первоначально исполняемый "
1543 "образ уже разрушен, а новый образ ещё сознан не полностью. В таких случаях "
1544 "ядро убивает процесс сигналом B<SIGKILL>."
1545
1546 #. type: SS
1547 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1548 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1549 #, no-wrap
1550 msgid "execve() and EAGAIN"
1551 msgstr "execve() и EAGAIN"
1552
1553 #. type: Plain text
1554 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1555 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1556 msgid ""
1557 "A more detailed explanation of the B<EAGAIN> error that can occur (since "
1558 "Linux 3.1) when calling B<execve>() is as follows."
1559 msgstr ""
1560 "Это более подробное объяснение ошибки B<EAGAIN>, которая возвращается "
1561 "(начиная с Linux 3.1) при вызове B<execve>()."
1562
1563 #. commit 909cc4ae86f3380152a18e2a3c44523893ee11c4
1564 #. type: Plain text
1565 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1566 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1567 #, fuzzy
1568 #| msgid ""
1569 #| "The B<EAGAIN> error can occur when a I<preceding> call to B<setuid>(2), "
1570 #| "B<setreuid>(2), or B<setresuid>(2) caused the real user ID of the "
1571 #| "process to change, and that change caused the process to exceed its "
1572 #| "B<RLIMIT_NPROC> resource limit (i.e., the number of processes belonging "
1573 #| "to the new real UID exceeds the resource limit). From Linux 2.6.0 to "
1574 #| "3.0, this caused the B<set*uid>() call to fail. (Prior to 2.6, the "
1575 #| "resource limit was not imposed on processes that changed their user IDs.)"
1576 msgid ""
1577 "The B<EAGAIN> error can occur when a I<preceding> call to B<setuid>(2), "
1578 "B<setreuid>(2), or B<setresuid>(2) caused the real user ID of the process "
1579 "to change, and that change caused the process to exceed its B<RLIMIT_NPROC> "
1580 "resource limit (i.e., the number of processes belonging to the new real UID "
1581 "exceeds the resource limit). From Linux 2.6.0 to Linux 3.0, this caused the "
1582 "B<set*uid>() call to fail. (Before Linux 2.6, the resource limit was not "
1583 "imposed on processes that changed their user IDs.)"
1584 msgstr ""
1585 "Ошибка B<EAGAIN> может возникать, когда I<предшествующий> вызов "
1586 "B<setuid>(2), B<setreuid>(2) или B<setresuid>(2) приводит к изменению у "
1587 "процесса реального идентификатора пользователя и это изменение приводит к "
1588 "тому, что процесс превышает свой ограничитель ресурса B<RLIMIT_NPROC> (т. "
1589 "е., количество процессов, принадлежащих новому реальному UID, превышает "
1590 "ограничитель ресурса). В версиях Linux с 2.6.0 по 3.0, это приводит к ошибке "
1591 "вызова B<set*uid>() (до версии 2.6 ограничитель ресурса не учитывался для "
1592 "процессов, которые изменили идентификатор пользователя)."
1593
1594 #. type: Plain text
1595 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1596 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1597 #, fuzzy
1598 #| msgid ""
1599 #| "Since Linux 3.1, the scenario just described no longer causes the "
1600 #| "B<set*uid>() call to fail, because it too often led to security holes "
1601 #| "where buggy applications didn't check the return status and assumed that\\"
1602 #| "(emif the caller had root privileges\\(emthe call would always succeed. "
1603 #| "Instead, the B<set*uid>() calls now successfully change the real UID, "
1604 #| "but the kernel sets an internal flag, named B<PF_NPROC_EXCEEDED>, to note "
1605 #| "that the B<RLIMIT_NPROC> resource limit has been exceeded. If the "
1606 #| "B<PF_NPROC_EXCEEDED> flag is set and the resource limit is still exceeded "
1607 #| "at the time of a subsequent B<execve>() call, that call fails with the "
1608 #| "error B<EAGAIN>. This kernel logic ensures that the B<RLIMIT_NPROC> "
1609 #| "resource limit is still enforced for the common privileged daemon "
1610 #| "workflow\\(emnamely, B<fork>(2) + B<set*uid>() + B<execve>()."
1611 msgid ""
1612 "Since Linux 3.1, the scenario just described no longer causes the "
1613 "B<set*uid>() call to fail, because it too often led to security holes where "
1614 "buggy applications didn't check the return status and assumed that\\[em]if "
1615 "the caller had root privileges\\[em]the call would always succeed. Instead, "
1616 "the B<set*uid>() calls now successfully change the real UID, but the kernel "
1617 "sets an internal flag, named B<PF_NPROC_EXCEEDED>, to note that the "
1618 "B<RLIMIT_NPROC> resource limit has been exceeded. If the "
1619 "B<PF_NPROC_EXCEEDED> flag is set and the resource limit is still exceeded at "
1620 "the time of a subsequent B<execve>() call, that call fails with the error "
1621 "B<EAGAIN>. This kernel logic ensures that the B<RLIMIT_NPROC> resource "
1622 "limit is still enforced for the common privileged daemon workflow\\"
1623 "[em]namely, B<fork>(2) + B<set*uid>() + B<execve>()."
1624 msgstr ""
1625 "Начиная с Linux 3.1, описанный сценарий больше не приводит к ошибке в вызове "
1626 "B<set*uid>(), так как это слишком часто приводило к дырам в безопасности, "
1627 "когда некорректное приложение не проверяет возвращаемое состояние и "
1628 "предполагает, что если вызывающий имеет права root, то вызов всегда "
1629 "выполняется успешно. Вместо этого вызов B<set*uid>() теперь успешно изменяет "
1630 "реальный UID, но ядро устанавливает внутренний флаг с именем "
1631 "B<PF_NPROC_EXCEEDED>, который означает, что был превышен ограничитель "
1632 "ресурса B<RLIMIT_NPROC>. Если флаг B<PF_NPROC_EXCEEDED> установлен и "
1633 "ограничитель ресурса всё ещё превышен на момент последующего вызова "
1634 "B<execve>(), то вызов завершается с ошибкой B<EAGAIN>. Такая логика ядра "
1635 "гарантирует, что ограничитель ресурса B<RLIMIT_NPROC> будет учтён при "
1636 "обычной последовательности действий для привилегированных служб, а именно — "
1637 "B<fork>(2) + B<set*uid>() + B<execve>()."
1638
1639 #. .SH BUGS
1640 #. Some Linux versions have failed to check permissions on ELF
1641 #. interpreters. This is a security hole, because it allows users to
1642 #. open any file, such as a rewinding tape device, for reading. Some
1643 #. Linux versions have also had other security holes in
1644 #. .BR execve ()
1645 #. that could be exploited for denial of service by a suitably crafted
1646 #. ELF binary. There are no known problems with Linux 2.0.34 or Linux 2.2.15.
1647 #. type: Plain text
1648 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1649 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1650 msgid ""
1651 "If the resource limit was not still exceeded at the time of the B<execve>() "
1652 "call (because other processes belonging to this real UID terminated between "
1653 "the B<set*uid>() call and the B<execve>() call), then the B<execve>() "
1654 "call succeeds and the kernel clears the B<PF_NPROC_EXCEEDED> process flag. "
1655 "The flag is also cleared if a subsequent call to B<fork>(2) by this process "
1656 "succeeds."
1657 msgstr ""
1658 "Если ограничитель ресурса был не превышен на момент вызова B<execve>() (так "
1659 "как другие процессы, принадлежащие этому реальному UID завершили работу "
1660 "между вызовом B<set*uid>() и B<execve>()), то вызов B<execve>() выполнится "
1661 "успешно и ядро очистит флаг B<PF_NPROC_EXCEEDED> у процесса. Флаг также "
1662 "очищается, если при успешном выполнении процессом последующего вызова "
1663 "B<fork>(2)."
1664
1665 #. type: SH
1666 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1667 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1668 #, no-wrap
1669 msgid "EXAMPLES"
1670 msgstr "ПРИМЕРЫ"
1671
1672 #. type: Plain text
1673 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1674 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1675 msgid ""
1676 "The following program is designed to be execed by the second program below. "
1677 "It just echoes its command-line arguments, one per line."
1678 msgstr ""
1679 "Данная программа запускается второй программой, представленной ниже. Она "
1680 "просто выводит свои параметры командной строки по одному на строку."
1681
1682 #. type: Plain text
1683 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1684 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1685 #, no-wrap
1686 msgid ""
1687 "/* myecho.c */\n"
1688 "\\&\n"
1689 "#include E<lt>stdio.hE<gt>\n"
1690 "#include E<lt>stdlib.hE<gt>\n"
1691 "\\&\n"
1692 "int\n"
1693 "main(int argc, char *argv[])\n"
1694 "{\n"
1695 " for (size_t j = 0; j E<lt> argc; j++)\n"
1696 " printf(\"argv[%zu]: %s\\[rs]n\", j, argv[j]);\n"
1697 "\\&\n"
1698 " exit(EXIT_SUCCESS);\n"
1699 "}\n"
1700 msgstr ""
1701 "/* myecho.c */\n"
1702 "\\&\n"
1703 "#include E<lt>stdio.hE<gt>\n"
1704 "#include E<lt>stdlib.hE<gt>\n"
1705 "\\&\n"
1706 "int\n"
1707 "main(int argc, char *argv[])\n"
1708 "{\n"
1709 " for (size_t j = 0; j E<lt> argc; j++)\n"
1710 " printf(\"argv[%zu]: %s\\[rs]n\", j, argv[j]);\n"
1711 "\\&\n"
1712 " exit(EXIT_SUCCESS);\n"
1713 "}\n"
1714
1715 #. type: Plain text
1716 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1717 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1718 msgid ""
1719 "This program can be used to exec the program named in its command-line "
1720 "argument:"
1721 msgstr ""
1722 "Эта программа может использоваться для запуска программы, чьё имя указано в "
1723 "параметре командной строки."
1724
1725 #. type: Plain text
1726 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1727 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1728 #, no-wrap
1729 msgid ""
1730 "/* execve.c */\n"
1731 "\\&\n"
1732 "#include E<lt>stdio.hE<gt>\n"
1733 "#include E<lt>stdlib.hE<gt>\n"
1734 "#include E<lt>unistd.hE<gt>\n"
1735 "\\&\n"
1736 "int\n"
1737 "main(int argc, char *argv[])\n"
1738 "{\n"
1739 " static char *newargv[] = { NULL, \"hello\", \"world\", NULL };\n"
1740 " static char *newenviron[] = { NULL };\n"
1741 "\\&\n"
1742 " if (argc != 2) {\n"
1743 " fprintf(stderr, \"Usage: %s E<lt>file-to-execE<gt>\\[rs]n\", argv[0]);\n"
1744 " exit(EXIT_FAILURE);\n"
1745 " }\n"
1746 "\\&\n"
1747 " newargv[0] = argv[1];\n"
1748 "\\&\n"
1749 " execve(argv[1], newargv, newenviron);\n"
1750 " perror(\"execve\"); /* execve() returns only on error */\n"
1751 " exit(EXIT_FAILURE);\n"
1752 "}\n"
1753 msgstr ""
1754
1755 #. type: Plain text
1756 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1757 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1758 msgid "We can use the second program to exec the first as follows:"
1759 msgstr "Мы можем использовать вторую программу для запуска первой:"
1760
1761 #. type: Plain text
1762 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1763 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1764 #, no-wrap
1765 msgid ""
1766 "$B< cc myecho.c -o myecho>\n"
1767 "$B< cc execve.c -o execve>\n"
1768 "$B< ./execve ./myecho>\n"
1769 "argv[0]: ./myecho\n"
1770 "argv[1]: hello\n"
1771 "argv[2]: world\n"
1772 msgstr ""
1773 "$B< cc myecho.c -o myecho>\n"
1774 "$B< cc execve.c -o execve>\n"
1775 "$B< ./execve ./myecho>\n"
1776 "argv[0]: ./myecho\n"
1777 "argv[1]: hello\n"
1778 "argv[2]: world\n"
1779
1780 #. type: Plain text
1781 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1782 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1783 msgid ""
1784 "We can also use these programs to demonstrate the use of a script "
1785 "interpreter. To do this we create a script whose \"interpreter\" is our "
1786 "I<myecho> program:"
1787 msgstr ""
1788 "Также мы можем использовать эти программы для демонстрации использования "
1789 "интерпретатора сценариев. Для этого создадим сценарий, чей \"интерпретатор\" "
1790 "указывает на нашу программу I<myecho>:"
1791
1792 #. type: Plain text
1793 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1794 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1795 #, no-wrap
1796 msgid ""
1797 "$B< cat E<gt> script>\n"
1798 "B<#!./myecho script-arg>\n"
1799 "B<\\[ha]D>\n"
1800 "$B< chmod +x script>\n"
1801 msgstr ""
1802 "$B< cat E<gt> script>\n"
1803 "B<#!./myecho script-arg>\n"
1804 "B<\\[ha]D>\n"
1805 "$B< chmod +x script>\n"
1806
1807 #. type: Plain text
1808 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1809 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1810 msgid "We can then use our program to exec the script:"
1811 msgstr "Теперь мы можем использовать нашу программу для запуска сценария:"
1812
1813 #. type: Plain text
1814 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1815 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1816 #, no-wrap
1817 msgid ""
1818 "$B< ./execve ./script>\n"
1819 "argv[0]: ./myecho\n"
1820 "argv[1]: script-arg\n"
1821 "argv[2]: ./script\n"
1822 "argv[3]: hello\n"
1823 "argv[4]: world\n"
1824 msgstr ""
1825 "$B< ./execve ./script>\n"
1826 "argv[0]: ./myecho\n"
1827 "argv[1]: script-arg\n"
1828 "argv[2]: ./script\n"
1829 "argv[3]: hello\n"
1830 "argv[4]: world\n"
1831
1832 #. type: SH
1833 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1834 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1835 #, no-wrap
1836 msgid "SEE ALSO"
1837 msgstr "СМОТРИТЕ ТАКЖЕ"
1838
1839 #. type: Plain text
1840 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1841 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1842 msgid ""
1843 "B<chmod>(2), B<execveat>(2), B<fork>(2), B<get_robust_list>(2), "
1844 "B<ptrace>(2), B<exec>(3), B<fexecve>(3), B<getauxval>(3), B<getopt>(3), "
1845 "B<system>(3), B<capabilities>(7), B<credentials>(7), B<environ>(7), "
1846 "B<path_resolution>(7), B<ld.so>(8)"
1847 msgstr ""
1848 "B<chmod>(2), B<execveat>(2), B<fork>(2), B<get_robust_list>(2), "
1849 "B<ptrace>(2), B<exec>(3), B<fexecve>(3), B<getauxval>(3), B<getopt>(3), "
1850 "B<system>(3), B<capabilities>(7), B<credentials>(7), B<environ>(7), "
1851 "B<path_resolution>(7), B<ld.so>(8)"
1852
1853 #. type: TH
1854 #: debian-trixie
1855 #, no-wrap
1856 msgid "2024-06-15"
1857 msgstr "15 июня 2024 г."
1858
1859 #. type: TH
1860 #: debian-trixie
1861 #, no-wrap
1862 msgid "Linux man-pages 6.9.1"
1863 msgstr "Страницы руководства Linux 6.9.1"
1864
1865 #. type: Plain text
1866 #: debian-trixie
1867 msgid "Standard C library (I<libc>, I<-lc>)"
1868 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
1869
1870 #. type: Plain text
1871 #: debian-trixie fedora-44 fedora-rawhide
1872 #, no-wrap
1873 msgid ""
1874 "B<int execve(const char *>I<pathname>B<, char *const _Nullable >I<argv>B<[],>\n"
1875 "B< char *const _Nullable >I<envp>B<[]);>\n"
1876 msgstr ""
1877 "B<int execve(const char *>I<pathname>B<, char *const _Nullable >I<argv>B<[],>\n"
1878 "B< char *const _Nullable >I<envp>B<[]);>\n"
1879
1880 #. type: Plain text
1881 #: debian-trixie fedora-44 fedora-rawhide
1882 msgid ""
1883 "B<execve>() executes the program referred to by I<pathname>. This causes "
1884 "the program that is currently being run by the calling process to be "
1885 "replaced with a new program, with newly initialized stack, heap, and "
1886 "(initialized and uninitialized) data segments."
1887 msgstr ""
1888 "Вызов B<execve> выполняет программу, задаваемую I<pathname>. При этом "
1889 "программа, выполняющаяся вызвавшим процессом, замещается новой программой, "
1890 "заново инициализируется стек, куча и сегменты данных (инициализированные и "
1891 "не инициализированные)."
1892
1893 #. type: Plain text
1894 #: debian-trixie fedora-44 fedora-rawhide
1895 msgid ""
1896 "I<pathname> must be either a binary executable, or a script starting with a "
1897 "line of the form:"
1898 msgstr ""
1899 "В I<pathname> должно быть указано имя двоичного исполняемого файла или "
1900 "сценарий, начинающийся со строки вида:"
1901
1902 #. type: Plain text
1903 #: debian-trixie fedora-44 fedora-rawhide
1904 #, no-wrap
1905 msgid "B<#!>I<interpreter >[optional-arg]\n"
1906 msgstr "B<#!>I<интерпретатор >[необязательный параметр]\n"
1907
1908 #. type: Plain text
1909 #: debian-trixie fedora-44 fedora-rawhide
1910 #, fuzzy
1911 #| msgid ""
1912 #| "If the set-user-ID bit is set on the program file referred to by "
1913 #| "I<pathname>, then the effective user ID of the calling process is changed "
1914 #| "to that of the owner of the program file. Similarly, when the set-group-"
1915 #| "ID bit of the program file is set the effective group ID of the calling "
1916 #| "process is set to the group of the program file."
1917 msgid ""
1918 "If the set-user-ID bit is set on the program file referred to by "
1919 "I<pathname>, then the effective user ID of the calling process is changed to "
1920 "that of the owner of the program file. Similarly, if the set-group-ID bit "
1921 "is set on the program file, then the effective group ID of the calling "
1922 "process is set to the group of the program file."
1923 msgstr ""
1924 "Если у файла программы, на который ссылается I<pathname>, установлен бит set-"
1925 "user-ID, то фактический идентификатор пользователя вызывающего процесса "
1926 "меняется на идентификатор владельца файла программы. Точно также, если на "
1927 "файле программы установлен бит set-group-ID, то фактический идентификатор "
1928 "группы вызывающего процесса становится равным группе, которой принадлежит "
1929 "файл программы."
1930
1931 #. type: Plain text
1932 #: debian-trixie fedora-44 fedora-rawhide
1933 msgid ""
1934 "The equivalent of I<setlocale(LC_ALL, \"C\")> is executed at program start-"
1935 "up."
1936 msgstr ""
1937 "При запуске программы выполняется эквивалент I<setlocale(LC_ALL, \"C\")>."
1938
1939 #. type: Plain text
1940 #: debian-trixie fedora-44 fedora-rawhide
1941 msgid ""
1942 "If the I<pathname> argument of B<execve>() specifies an interpreter script, "
1943 "then I<interpreter> will be invoked with the following arguments:"
1944 msgstr ""
1945 "Если в аргументе I<pathname> для B<execve>() указан интерпретируемый "
1946 "сценарий, то I<интерпретатор> будет вызван со следующими параметрами:"
1947
1948 #. type: Plain text
1949 #: debian-trixie fedora-44 fedora-rawhide
1950 #, no-wrap
1951 msgid "I<interpreter> [optional-arg] I<pathname> arg...\n"
1952 msgstr "I<интерпретатор> [необязательный параметр] I<pathname> параметр…\n"
1953
1954 #. See the P - preserve-argv[0] option.
1955 #. Documentation/admin-guide/binfmt-misc.rst
1956 #. https://www.kernel.org/doc/html/latest/admin-guide/binfmt-misc.html
1957 #. type: Plain text
1958 #: debian-trixie fedora-44 fedora-rawhide
1959 #, fuzzy
1960 #| msgid ""
1961 #| "where I<pathname> is the absolute pathname of the file specified as the "
1962 #| "first argument of B<execve>(), and I<arg...> is the series of words "
1963 #| "pointed to by the I<argv> argument of B<execve>(), starting at "
1964 #| "I<argv>[1]. Note that there is no way to get the I<argv[0]> that was "
1965 #| "passed to the B<execve>() call."
1966 msgid ""
1967 "where I<pathname> is the pathname of the file specified as the first "
1968 "argument of B<execve>(), and I<arg...> is the series of words pointed to by "
1969 "the I<argv> argument of B<execve>(), starting at I<argv[1]>. Note that "
1970 "there is no way to get the I<argv[0]> that was passed to the B<execve>() "
1971 "call."
1972 msgstr ""
1973 "где I<pathname> — абсолютный путь к файлу, указанному в первом аргументе "
1974 "B<execve>() и I<параметр...> — последовательность слов, указываемых "
1975 "аргументом I<argv> в B<execve>() начиная с I<argv>[1]. Заметим, что нельзя "
1976 "получить I<argv[0]>, переданный в вызов B<execve>()."
1977
1978 #. type: Plain text
1979 #: debian-trixie
1980 msgid ""
1981 "For portable use, I<optional-arg> should either be absent, or be specified "
1982 "as a single word (i.e., it should not contain white space); see NOTES below."
1983 msgstr ""
1984 "В целях переносимости, I<необязательный параметр> должен быть или пустым, "
1985 "или задаваться одним словом (т.е., не должен содержать пробельных символов); "
1986 "см. ЗАМЕЧАНИЯ далее."
1987
1988 #. type: Plain text
1989 #: debian-trixie fedora-44 fedora-rawhide
1990 msgid ""
1991 "The total number of bytes in the environment (I<envp>) and argument list "
1992 "(I<argv>) is too large, an argument or environment string is too long, or "
1993 "the full I<pathname> of the executable is too long. The terminating null "
1994 "byte is counted as part of the string length."
1995 msgstr ""
1996
1997 #. type: Plain text
1998 #: debian-trixie fedora-44 fedora-rawhide
1999 msgid ""
2000 "Search permission is denied on a component of the path prefix of I<pathname> "
2001 "or the name of a script interpreter. (See also B<path_resolution>(7).)"
2002 msgstr ""
2003 "В одном из каталогов префикса I<pathname> или интерпретатора не разрешён "
2004 "поиск (смотрите также B<path_resolution>(7))."
2005
2006 #. type: Plain text
2007 #: debian-trixie fedora-44 fedora-rawhide
2008 msgid ""
2009 "I<pathname> or one of the pointers in the vectors I<argv> or I<envp> points "
2010 "outside your accessible address space."
2011 msgstr ""
2012 "Значение I<pathname> или один из указателей в векторах I<argv> или I<envp> "
2013 "указывает за пределы доступного адресного пространства."
2014
2015 #. type: Plain text
2016 #: debian-trixie fedora-44 fedora-rawhide
2017 msgid ""
2018 "Too many symbolic links were encountered in resolving I<pathname> or the "
2019 "name of a script or ELF interpreter."
2020 msgstr ""
2021 "Во время определения I<pathname>, имени сценария или интерпретатора ELF "
2022 "встретилось слишком много символьных ссылок."
2023
2024 #. type: Plain text
2025 #: debian-trixie fedora-44 fedora-rawhide
2026 msgid "I<pathname> is too long."
2027 msgstr "Слишком длинное значение аргумента I<pathname>."
2028
2029 #. type: Plain text
2030 #: debian-trixie fedora-44 fedora-rawhide
2031 msgid "The file I<pathname> or a script or ELF interpreter does not exist."
2032 msgstr "Файл I<pathname> или скрипт или интерпретатор ELF не существует."
2033
2034 #. type: Plain text
2035 #: debian-trixie fedora-44 fedora-rawhide
2036 msgid ""
2037 "A component of the path prefix of I<pathname> or a script or ELF interpreter "
2038 "is not a directory."
2039 msgstr ""
2040 "Компонент пути в I<pathname>, сценарии или интерпретаторе ELF в "
2041 "действительности не является каталогом."
2042
2043 #. type: Plain text
2044 #: debian-trixie fedora-44 fedora-rawhide
2045 msgid "POSIX.1-2008."
2046 msgstr "POSIX.1-2008."
2047
2048 #. SVr4 documents additional error
2049 #. conditions EAGAIN, EINTR, ELIBACC, ENOLINK, EMULTIHOP; POSIX does not
2050 #. document ETXTBSY, EPERM, EFAULT, ELOOP, EIO, ENFILE, EMFILE, EINVAL,
2051 #. EISDIR or ELIBBAD error conditions.
2052 #. type: Plain text
2053 #: debian-trixie fedora-44 fedora-rawhide
2054 msgid "POSIX.1-2001, SVr4, 4.3BSD."
2055 msgstr "POSIX.1-2001, SVr4, 4.3BSD."
2056
2057 #. type: TH
2058 #: fedora-44 fedora-rawhide
2059 #, no-wrap
2060 msgid "2024-07-23"
2061 msgstr "23 июля 2024 г."
2062
2063 #. type: TH
2064 #: fedora-44 fedora-rawhide
2065 #, no-wrap
2066 msgid "Linux man-pages 6.13"
2067 msgstr "Страницы руководства Linux 6.13"
2068
2069 #. type: TH
2070 #: mageia-cauldron
2071 #, no-wrap
2072 msgid "Linux man-pages 6.17"
2073 msgstr "Страницы руководства Linux 6.17"
2074
2075 #. type: TH
2076 #: opensuse-leap-16-1 opensuse-tumbleweed
2077 #, no-wrap
2078 msgid "Linux man-pages (unreleased)"
2079 msgstr "Страницы руководства Linux (не выпущены)"