Debian Codegraph @

po/pt_BR/man2/execve.2.po

raw
1 # Brazilian Portuguese translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # André Luiz Fassone <[email protected]>, 2001.
5 # Ricardo C.O.Freitas <[email protected]>, 2001.
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: manpages-l10n\n"
9 "POT-Creation-Date: 2026-06-05 06:23+0200\n"
10 "PO-Revision-Date: 2001-05-31 16:26+0200\n"
11 "Last-Translator: Ricardo C.O.Freitas <[email protected]>\n"
12 "Language-Team: Brazilian Portuguese <debian-l10n-"
13 "[email protected]>\n"
14 "Language: pt_BR\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=2; plural=(n > 1);\n"
19 "X-Generator: Lokalize 20.04.1\n"
20
21 #. type: TH
22 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
23 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
24 #, no-wrap
25 msgid "execve"
26 msgstr "execve"
27
28 #. type: TH
29 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
30 #: opensuse-tumbleweed
31 #, no-wrap
32 msgid "2026-02-08"
33 msgstr "8 fevereiro 2026"
34
35 #. type: TH
36 #: archlinux debian-unstable
37 #, fuzzy, no-wrap
38 #| msgid "Linux man-pages 6.17"
39 msgid "Linux man-pages 6.18"
40 msgstr "Linux man-pages 6.17"
41
42 #. type: SH
43 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
44 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
45 #, no-wrap
46 msgid "NAME"
47 msgstr "NOME"
48
49 #. type: Plain text
50 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
51 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
52 msgid "execve - execute program"
53 msgstr "execve - executa programa"
54
55 #. type: SH
56 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
57 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
58 #, no-wrap
59 msgid "LIBRARY"
60 msgstr "BIBLIOTECA"
61
62 #. type: Plain text
63 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
64 #: opensuse-leap-16-1 opensuse-tumbleweed
65 msgid "Standard C library (I<libc>,\\ I<-lc>)"
66 msgstr "Biblioteca C Padrão (I<libc>,\\ I<-lc>)"
67
68 #. type: SH
69 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
70 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
71 #, no-wrap
72 msgid "SYNOPSIS"
73 msgstr "SINOPSE"
74
75 #. type: Plain text
76 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
77 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
78 #, no-wrap
79 msgid "B<#include E<lt>unistd.hE<gt>>\n"
80 msgstr "B<#include E<lt>unistd.hE<gt>>\n"
81
82 #. type: Plain text
83 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
84 #: opensuse-tumbleweed
85 #, fuzzy, no-wrap
86 #| msgid "B<int execve(const char *>I<pathname>B<, char *const >I<argv>B<[], >"
87 msgid ""
88 "B<int execve(const char *>I<path>B<, char *const _Nullable >I<argv>B<[],>\n"
89 "B< char *const _Nullable >I<envp>B<[]);>\n"
90 msgstr "B<int execve(const char *>I<pathname>B<, char *const >I<argv>B<[], >"
91
92 #. type: SH
93 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
94 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
95 #, no-wrap
96 msgid "DESCRIPTION"
97 msgstr "DESCRIÇÃO"
98
99 #. type: Plain text
100 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
101 #: opensuse-tumbleweed
102 msgid ""
103 "B<execve>() executes the program referred to by I<path>. This causes the "
104 "program that is currently being run by the calling process to be replaced "
105 "with a new program, with newly initialized stack, heap, and (initialized and "
106 "uninitialized) data segments."
107 msgstr ""
108
109 #. type: Plain text
110 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
111 #: opensuse-tumbleweed
112 msgid ""
113 "I<path> must be either a binary executable, or a script starting with a line "
114 "of the form:"
115 msgstr ""
116
117 #. type: SY
118 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
119 #: opensuse-tumbleweed
120 #, no-wrap
121 msgid "#!\\f[I]interpreter\\fR"
122 msgstr ""
123
124 #. type: Plain text
125 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
126 #: opensuse-tumbleweed
127 #, fuzzy, no-wrap
128 #| msgid "B<#!>I<interpreter >[optional-arg]\n"
129 msgid "[I<optional-arg>]\n"
130 msgstr "B<#!>I<interpreter >[optional-arg]\n"
131
132 #. type: Plain text
133 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
134 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
135 msgid "For details of the latter case, see \"Interpreter scripts\" below."
136 msgstr ""
137
138 #. type: Plain text
139 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
140 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
141 #, fuzzy
142 #| msgid ""
143 #| "I<argv> is an array of argument strings passed to the new program. "
144 #| "I<envp> is an array of strings, conventionally of the form B<key=value>, "
145 #| "which are passed as environment to the new program. Both, I<argv> and "
146 #| "I<envp> must be terminated by a null pointer. The argument vector and "
147 #| "environment can be accessed by the called program's main function, when "
148 #| "it is defined as B<int main(int argc, char *argv[], char *envp[])>."
149 msgid ""
150 "I<argv> is an array of pointers to strings passed to the new program as its "
151 "command-line arguments. By convention, the first of these strings (i.e., "
152 "I<argv[0]>) should contain the filename associated with the file being "
153 "executed. The I<argv> array must be terminated by a null pointer. (Thus, "
154 "in the new program, I<argv[argc]> will be a null pointer.)"
155 msgstr ""
156 "I<argv> é um lista de argumentos passados para o novo programa. I<envp> é um "
157 "lista de palavras, convencionalmente da forma B<key=value>, as quais são "
158 "passados como ambiente para o novo programa. Ambas, I<argv> e I<envp> devem "
159 "ser terminadas por um ponteiro nulo. As listas de argumento e ambiente podem "
160 "ser acessados através da função principal do programa chamado, então ela é "
161 "definida como B<int main(int argc, char *argv[], char *envp[])>."
162
163 #. type: Plain text
164 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
165 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
166 msgid ""
167 "I<envp> is an array of pointers to strings, conventionally of the form "
168 "B<key=value>, which are passed as the environment of the new program. The "
169 "I<envp> array must be terminated by a null pointer."
170 msgstr ""
171
172 #. type: Plain text
173 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
174 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
175 msgid ""
176 "This manual page describes the Linux system call in detail; for an overview "
177 "of the nomenclature and the many, often preferable, standardised variants of "
178 "this function provided by libc, including ones that search the B<PATH> "
179 "environment variable, see B<exec>(3)."
180 msgstr ""
181
182 #. type: Plain text
183 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
184 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
185 msgid ""
186 "The argument vector and environment can be accessed by the new program's "
187 "main function, when it is defined as:"
188 msgstr ""
189
190 #. type: Plain text
191 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
192 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
193 #, no-wrap
194 msgid "int main(int argc, char *argv[], char *envp[])\n"
195 msgstr "int main(int argc, char *argv[], char *envp[])\n"
196
197 #. type: Plain text
198 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
199 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
200 msgid ""
201 "Note, however, that the use of a third argument to the main function is not "
202 "specified in POSIX.1; according to POSIX.1, the environment should be "
203 "accessed via the external variable B<environ>(7)."
204 msgstr ""
205
206 #. type: Plain text
207 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
208 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
209 msgid ""
210 "B<execve>() does not return on success, and the text, initialized data, "
211 "uninitialized data (bss), and stack of the calling process are overwritten "
212 "according to the contents of the newly loaded program."
213 msgstr ""
214
215 #. type: Plain text
216 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
217 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
218 #, fuzzy
219 #| msgid ""
220 #| "If the current program is being ptraced, a B<SIGTRAP> is sent to it after "
221 #| "a successful B<execve()>."
222 msgid ""
223 "If the current program is being ptraced, a B<SIGTRAP> signal is sent to it "
224 "after a successful B<execve>()."
225 msgstr ""
226 "Se o programa está sendo 'ptraced', um B<SIGTRAP> é enviado para ele depois "
227 "de B<execve()> ser bem sucedido."
228
229 #. type: Plain text
230 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
231 #: opensuse-tumbleweed
232 #, fuzzy
233 #| msgid ""
234 #| "If the set-uid bit is set on the program file pointed to by I<filename> "
235 #| "the effective user ID of the calling process is changed to that of the "
236 #| "owner of the program file. Similarly, when the set-gid bit of the "
237 #| "program file is set the effective group ID of the calling process is set "
238 #| "to the group of the program file."
239 msgid ""
240 "If the set-user-ID bit is set on the program file referred to by I<path>, "
241 "then the effective user ID of the calling process is changed to that of the "
242 "owner of the program file. Similarly, if the set-group-ID bit is set on the "
243 "program file, then the effective group ID of the calling process is set to "
244 "the group of the program file."
245 msgstr ""
246 "Se o bit SUID é selecionado no programa apontado por I<nomearquivo> a UID "
247 "efetiva do processo solicitante é alterada para aquela do proprietário do "
248 "arquivo. Similarmente, quando o bit SGID de um programa é selecionada a GID "
249 "efetiva de um processo solicitante é selecionado para o grupo de programa."
250
251 #. type: Plain text
252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
254 msgid ""
255 "The aforementioned transformations of the effective IDs are I<not> performed "
256 "(i.e., the set-user-ID and set-group-ID bits are ignored) if any of the "
257 "following is true:"
258 msgstr ""
259
260 #. type: IP
261 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
262 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
263 #, no-wrap
264 msgid "\\[bu]"
265 msgstr "\\[bu]"
266
267 #. type: Plain text
268 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
269 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
270 msgid ""
271 "the I<no_new_privs> attribute is set for the calling thread (see "
272 "B<prctl>(2));"
273 msgstr ""
274
275 #. type: Plain text
276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
278 msgid ""
279 "the underlying filesystem is mounted I<nosuid> (the B<MS_NOSUID> flag for "
280 "B<mount>(2)); or"
281 msgstr ""
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 "the calling process is being ptraced."
287 msgstr ""
288
289 #. type: Plain text
290 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
291 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
292 msgid ""
293 "The capabilities of the program file (see B<capabilities>(7)) are also "
294 "ignored if any of the above are true."
295 msgstr ""
296
297 #. type: Plain text
298 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
299 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
300 msgid ""
301 "The effective user ID of the process is copied to the saved set-user-ID; "
302 "similarly, the effective group ID is copied to the saved set-group-ID. This "
303 "copying takes place after any effective ID changes that occur because of the "
304 "set-user-ID and set-group-ID mode bits."
305 msgstr ""
306
307 #. type: Plain text
308 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
309 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
310 msgid ""
311 "The process's real UID and real GID, as well as its supplementary group IDs, "
312 "are unchanged by a call to B<execve>()."
313 msgstr ""
314
315 #. type: Plain text
316 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
317 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
318 #, fuzzy
319 #| msgid ""
320 #| "If the executable is an a.out dynamically-linked binary executable "
321 #| "containing shared-library stubs, the Linux dynamic linker B<ld.so>(8) is "
322 #| "called at the start of execution to bring needed shared libraries into "
323 #| "core and link the executable with them."
324 msgid ""
325 "If the executable is an a.out dynamically linked binary executable "
326 "containing shared-library stubs, the Linux dynamic linker B<ld.so>(8) is "
327 "called at the start of execution to bring needed shared objects into memory "
328 "and link the executable with them."
329 msgstr ""
330 "Se o executável é do tipo a.out ligado dinamicamente contendo pedaços de "
331 "bibliotecas compartilhadas, o ligador dinâmico B<ld.so>(8) é chamado ao "
332 "começo da execução para trazer as bibliotecas compartilhadas necessárias e "
333 "unir os executáveis com elas."
334
335 #. type: Plain text
336 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
337 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
338 #, fuzzy
339 #| msgid ""
340 #| "If the executable is a dynamically-linked ELF executable, the interpreter "
341 #| "named in the PT_INTERP segment is used to load the needed shared "
342 #| "libraries. This interpreter is typically I</lib/ld-linux.so.1> for "
343 #| "binaries linked with the Linux libc version 5, or I</lib/ld-linux.so.2> "
344 #| "for binaries linked with the GNU libc version 2."
345 msgid ""
346 "If the executable is a dynamically linked ELF executable, the interpreter "
347 "named in the PT_INTERP segment is used to load the needed shared objects. "
348 "This interpreter is typically I</lib/ld-linux.so.2> for binaries linked with "
349 "glibc (see B<ld-linux.so>(8))."
350 msgstr ""
351 "Se o executável é do tipo ELF ligado dinamicamente, o interpretador nomeada "
352 "no segmento PT_INTERP é usado para carregar as bibliotecas compartilhadas "
353 "necessárias. Este interpretador é normalmente I</lib/ld-linux.so.1> para os "
354 "binários ligados com a libc 5 do Linux, ou o I</lib/ld-linux.so.2> para os "
355 "binários ligados com a GNU libc 2."
356
357 #. type: SS
358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
359 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
360 #, no-wrap
361 msgid "Effect on process attributes"
362 msgstr ""
363
364 #. type: Plain text
365 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
366 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
367 msgid ""
368 "All process attributes are preserved during an B<execve>(), except the "
369 "following:"
370 msgstr ""
371
372 #. type: Plain text
373 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
374 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
375 msgid ""
376 "The dispositions of any signals that are being caught are reset to the "
377 "default (B<signal>(7))."
378 msgstr ""
379
380 #. type: Plain text
381 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
382 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
383 msgid "Any alternate signal stack is not preserved (B<sigaltstack>(2))."
384 msgstr ""
385
386 #. type: Plain text
387 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
388 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
389 msgid "Memory mappings are not preserved (B<mmap>(2))."
390 msgstr ""
391
392 #. type: Plain text
393 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
394 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
395 msgid "Attached System\\ V shared memory segments are detached (B<shmat>(2))."
396 msgstr ""
397
398 #. type: Plain text
399 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
400 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
401 msgid "POSIX shared memory regions are unmapped (B<shm_open>(3))."
402 msgstr ""
403
404 #. type: Plain text
405 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
406 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
407 msgid "Open POSIX message queue descriptors are closed (B<mq_overview>(7))."
408 msgstr ""
409
410 #. type: Plain text
411 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
412 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
413 msgid "Any open POSIX named semaphores are closed (B<sem_overview>(7))."
414 msgstr ""
415
416 #. type: Plain text
417 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
418 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
419 msgid "POSIX timers are not preserved (B<timer_create>(2))."
420 msgstr ""
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 open directory streams are closed (B<opendir>(3))."
426 msgstr ""
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 locks are not preserved (B<mlock>(2), B<mlockall>(2))."
432 msgstr ""
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 "Exit handlers are not preserved (B<atexit>(3), B<on_exit>(3))."
438 msgstr ""
439
440 #. type: Plain text
441 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
442 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
443 msgid ""
444 "The floating-point environment is reset to the default (see B<fenv>(3))."
445 msgstr ""
446
447 #. type: Plain text
448 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
449 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
450 msgid ""
451 "The process attributes in the preceding list are all specified in POSIX.1. "
452 "The following Linux-specific process attributes are also not preserved "
453 "during an B<execve>():"
454 msgstr ""
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 ""
460 "The process's \"dumpable\" attribute is set to the value 1, unless a set-"
461 "user-ID program, a set-group-ID program, or a program with capabilities is "
462 "being executed, in which case the dumpable flag may instead be reset to the "
463 "value in I</proc/sys/fs/suid_dumpable>, in the circumstances described under "
464 "B<PR_SET_DUMPABLE> in B<prctl>(2). Note that changes to the \"dumpable\" "
465 "attribute may cause ownership of files in the process's I</proc/>pid "
466 "directory to change to I<root:root>, as described in B<proc>(5)."
467 msgstr ""
468
469 #. type: Plain text
470 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
471 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
472 msgid "The B<prctl>(2) B<PR_SET_KEEPCAPS> flag is cleared."
473 msgstr ""
474
475 #. type: Plain text
476 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
477 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
478 msgid ""
479 "(Since Linux 2.4.36 / 2.6.23) If a set-user-ID or set-group-ID program is "
480 "being executed, then the parent death signal set by B<prctl>(2) "
481 "B<PR_SET_PDEATHSIG> flag is cleared."
482 msgstr ""
483
484 #. type: Plain text
485 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
486 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
487 msgid ""
488 "The process name, as set by B<prctl>(2) B<PR_SET_NAME> (and displayed by "
489 "I<ps\\ -o comm>), is reset to the name of the new executable file."
490 msgstr ""
491
492 #. type: Plain text
493 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
494 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
495 msgid ""
496 "The B<SECBIT_KEEP_CAPS> I<securebits> flag is cleared. See "
497 "B<capabilities>(7)."
498 msgstr ""
499
500 #. type: Plain text
501 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
502 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
503 msgid "The termination signal is reset to B<SIGCHLD> (see B<clone>(2))."
504 msgstr ""
505
506 #. type: Plain text
507 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
508 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
509 msgid ""
510 "The file descriptor table is unshared, undoing the effect of the "
511 "B<CLONE_FILES> flag of B<clone>(2)."
512 msgstr ""
513
514 #. type: Plain text
515 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
516 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
517 msgid "Note the following further points:"
518 msgstr ""
519
520 #. type: Plain text
521 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
522 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
523 msgid ""
524 "All threads other than the calling thread are destroyed during an "
525 "B<execve>(). Mutexes, condition variables, and other pthreads objects are "
526 "not preserved."
527 msgstr ""
528
529 #. type: Plain text
530 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
531 #: opensuse-tumbleweed
532 msgid ""
533 "The equivalent of I<setlocale(LC_ALL,\\ \\[dq]C\\[dq])> is executed at "
534 "program start-up."
535 msgstr ""
536
537 #. type: Plain text
538 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
539 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
540 msgid ""
541 "POSIX.1 specifies that the dispositions of any signals that are ignored or "
542 "set to the default are left unchanged. POSIX.1 specifies one exception: if "
543 "B<SIGCHLD> is being ignored, then an implementation may leave the "
544 "disposition unchanged or reset it to the default; Linux does the former."
545 msgstr ""
546
547 #. type: Plain text
548 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
549 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
550 msgid ""
551 "Any outstanding asynchronous I/O operations are canceled (B<aio_read>(3), "
552 "B<aio_write>(3))."
553 msgstr ""
554
555 #. type: Plain text
556 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
557 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
558 msgid ""
559 "For the handling of capabilities during B<execve>(), see B<capabilities>(7)."
560 msgstr ""
561
562 #. #-#-#-#-# archlinux: execve.2.pot (PACKAGE VERSION) #-#-#-#-#
563 #. On Linux it appears that these file descriptors are
564 #. always open after an execve(), and it looks like
565 #. Solaris 8 and FreeBSD 6.1 are the same. -- mtk, 30 Apr 2007
566 #. type: Plain text
567 #. #-#-#-#-# debian-trixie: execve.2.pot (PACKAGE VERSION) #-#-#-#-#
568 #. On Linux it appears that these file descriptors are
569 #. always open after an execve(), and it looks like
570 #. Solaris 8 and FreeBSD 6.1 are the same. -- mtk, 30 Apr 2007
571 #. type: Plain text
572 #. #-#-#-#-# debian-unstable: execve.2.pot (PACKAGE VERSION) #-#-#-#-#
573 #. On Linux it appears that these file descriptors are
574 #. always open after an execve(), and it looks like
575 #. Solaris 8 and FreeBSD 6.1 are the same. -- mtk, 30 Apr 2007
576 #. type: Plain text
577 #. #-#-#-#-# fedora-44: execve.2.pot (PACKAGE VERSION) #-#-#-#-#
578 #. On Linux it appears that these file descriptors are
579 #. always open after an execve(), and it looks like
580 #. Solaris 8 and FreeBSD 6.1 are the same. -- mtk, 30 Apr 2007
581 #. type: Plain text
582 #. #-#-#-#-# fedora-rawhide: execve.2.pot (PACKAGE VERSION) #-#-#-#-#
583 #. On Linux it appears that these file descriptors are
584 #. always open after an execve(), and it looks like
585 #. Solaris 8 and FreeBSD 6.1 are the same. -- mtk, 30 Apr 2007
586 #. type: Plain text
587 #. #-#-#-#-# mageia-cauldron: execve.2.pot (PACKAGE VERSION) #-#-#-#-#
588 #. On Linux it appears that these file descriptors are
589 #. always open after an execve(), and it looks like
590 #. Solaris 8 and FreeBSD 6.1 are the same. -- mtk, 30 Apr 2007
591 #. type: Plain text
592 #. #-#-#-#-# opensuse-leap-16-1: execve.2.pot (PACKAGE VERSION) #-#-#-#-#
593 #. On Linux it appears that these file descriptors are
594 #. always open after an execve(), and it looks like
595 #. Solaris 8 and FreeBSD 6.1 are the same. -- mtk, 30 Apr 2007
596 #. type: Plain text
597 #. #-#-#-#-# opensuse-tumbleweed: execve.2.pot (PACKAGE VERSION) #-#-#-#-#
598 #. On Linux it appears that these file descriptors are
599 #. always open after an execve(), and it looks like
600 #. Solaris 8 and FreeBSD 6.1 are the same. -- mtk, 30 Apr 2007
601 #. type: Plain text
602 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
603 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
604 msgid ""
605 "By default, file descriptors remain open across an B<execve>(). File "
606 "descriptors that are marked close-on-exec are closed; see the description of "
607 "B<FD_CLOEXEC> in B<fcntl>(2). (If a file descriptor is closed, this will "
608 "cause the release of all record locks obtained on the underlying file by "
609 "this process. See B<fcntl>(2) for details.) POSIX.1 says that if file "
610 "descriptors 0, 1, and 2 would otherwise be closed after a successful "
611 "B<execve>(), and the process would gain privilege because the set-user-ID or "
612 "set-group-ID mode bit was set on the executed file, then the system may open "
613 "an unspecified file for each of these file descriptors. As a general "
614 "principle, no portable program, whether privileged or not, can assume that "
615 "these three file descriptors will remain closed across an B<execve>()."
616 msgstr ""
617
618 #. type: SS
619 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
620 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
621 #, no-wrap
622 msgid "Interpreter scripts"
623 msgstr ""
624
625 #. type: Plain text
626 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
627 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
628 msgid ""
629 "An interpreter script is a text file that has execute permission enabled and "
630 "whose first line is of the form:"
631 msgstr ""
632
633 #. type: Plain text
634 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
635 #: opensuse-tumbleweed
636 msgid "[I<optional-arg>]"
637 msgstr ""
638
639 #. type: Plain text
640 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
641 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
642 msgid "The I<interpreter> must be a valid pathname for an executable file."
643 msgstr ""
644
645 #. type: Plain text
646 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
647 #: opensuse-tumbleweed
648 msgid "I<interpreter> will be invoked with the following arguments:"
649 msgstr ""
650
651 #. type: SY
652 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
653 #: opensuse-tumbleweed
654 #, no-wrap
655 msgid "\\f[I]interpreter\\fR"
656 msgstr ""
657
658 #. type: Plain text
659 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
660 #: opensuse-tumbleweed
661 msgid "[I<optional-arg>] I<path> I<arg>..."
662 msgstr ""
663
664 #. See the P - preserve-argv[0] option.
665 #. Documentation/admin-guide/binfmt-misc.rst
666 #. https://www.kernel.org/doc/html/latest/admin-guide/binfmt-misc.html
667 #. type: Plain text
668 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
669 #: opensuse-tumbleweed
670 msgid ""
671 "where I<arg...> is the series of words pointed to by the I<argv> argument of "
672 "B<execve>(), starting at I<argv[1]>. Note that there is no way to get the "
673 "I<argv[0]> that was passed to the B<execve>() call."
674 msgstr ""
675
676 #. type: Plain text
677 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
678 #: opensuse-leap-16-1 opensuse-tumbleweed
679 msgid ""
680 "For portable use, I<optional-arg> should either be absent, or be specified "
681 "as a single word (i.e., it should not contain white space); see VERSIONS "
682 "below."
683 msgstr ""
684
685 #. commit bf2a9a39639b8b51377905397a5005f444e9a892
686 #. type: Plain text
687 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
688 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
689 msgid ""
690 "Since Linux 2.6.28, the kernel permits the interpreter of a script to itself "
691 "be a script. This permission is recursive, up to a limit of four "
692 "recursions, so that the interpreter may be a script which is interpreted by "
693 "a script, and so on."
694 msgstr ""
695
696 #. type: SS
697 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
698 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
699 #, no-wrap
700 msgid "Limits on size of arguments and environment"
701 msgstr ""
702
703 #. type: Plain text
704 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
705 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
706 msgid ""
707 "Most UNIX implementations impose some limit on the total size of the command-"
708 "line argument (I<argv>) and environment (I<envp>) strings that may be "
709 "passed to a new program. POSIX.1 allows an implementation to advertise this "
710 "limit using the B<ARG_MAX> constant (either defined in I<E<lt>limits.hE<gt>> "
711 "or available at run time using the call I<sysconf(_SC_ARG_MAX)>)."
712 msgstr ""
713
714 #. type: Plain text
715 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
716 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
717 msgid ""
718 "Before Linux 2.6.23, the memory used to store the environment and argument "
719 "strings was limited to 32 pages (defined by the kernel constant "
720 "B<MAX_ARG_PAGES>). On architectures with a 4-kB page size, this yields a "
721 "maximum size of 128\\ kB."
722 msgstr ""
723
724 #. For some background on the changes to ARG_MAX in Linux 2.6.23 and
725 #. Linux 2.6.25, see:
726 #. http://sourceware.org/bugzilla/show_bug.cgi?id=5786
727 #. http://bugzilla.kernel.org/show_bug.cgi?id=10095
728 #. http://thread.gmane.org/gmane.linux.kernel/646709/focus=648101,
729 #. checked into Linux 2.6.25 as commit a64e715fc74b1a7dcc5944f848acc38b2c4d4ee2.
730 #. Ollie: That doesn't include the lists of pointers, though,
731 #. so the actual usage is a bit higher (1 pointer per argument).
732 #. type: Plain text
733 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
734 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
735 msgid ""
736 "On Linux 2.6.23 and later, most architectures support a size limit derived "
737 "from the soft B<RLIMIT_STACK> resource limit (see B<getrlimit>(2)) that is "
738 "in force at the time of the B<execve>() call. (Architectures with no "
739 "memory management unit are excepted: they maintain the limit that was in "
740 "effect before Linux 2.6.23.) This change allows programs to have a much "
741 "larger argument and/or environment list. For these architectures, the total "
742 "size is limited to 1/4 of the allowed stack size. (Imposing the 1/4-limit "
743 "ensures that the new program always has some stack space.) Additionally, "
744 "the total size is limited to 3/4 of the value of the kernel constant "
745 "B<_STK_LIM> (8 MiB). Since Linux 2.6.25, the kernel also places a floor of "
746 "32 pages on this size limit, so that, even when B<RLIMIT_STACK> is set very "
747 "low, applications are guaranteed to have at least as much argument and "
748 "environment space as was provided by Linux 2.6.22 and earlier. (This "
749 "guarantee was not provided in Linux 2.6.23 and 2.6.24.) Additionally, the "
750 "limit per string is 32 pages (the kernel constant B<MAX_ARG_STRLEN>), and "
751 "the maximum number of strings is 0x7FFFFFFF."
752 msgstr ""
753
754 #. type: SH
755 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
756 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
757 #, no-wrap
758 msgid "RETURN VALUE"
759 msgstr "VALOR DE RETORNO"
760
761 #. type: Plain text
762 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
763 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
764 #, fuzzy
765 #| msgid ""
766 #| "On success, B<execve>() does not return, on error -1 is returned, and "
767 #| "I<errno> is set appropriately."
768 msgid ""
769 "On success, B<execve>() does not return, on error -1 is returned, and "
770 "I<errno> is set to indicate the error."
771 msgstr ""
772 "Em caso de successo, B<execve>() não retorna, caso contrário, -1 é devolvido "
773 "e I<errno> é selecionado adequadamente."
774
775 #. type: SH
776 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
777 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
778 #, no-wrap
779 msgid "ERRORS"
780 msgstr "ERROS"
781
782 #. type: TP
783 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
784 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
785 #, no-wrap
786 msgid "B<E2BIG>"
787 msgstr "B<E2BIG>"
788
789 #. type: Plain text
790 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
791 #: opensuse-tumbleweed
792 msgid ""
793 "The total number of bytes in the environment (I<envp>) and argument list "
794 "(I<argv>) is too large, an argument or environment string is too long, or "
795 "the full I<path> of the executable is too long. The terminating null byte "
796 "is counted as part of the string length."
797 msgstr ""
798
799 #. type: TP
800 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
801 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
802 #, no-wrap
803 msgid "B<EACCES>"
804 msgstr "B<EACCES>"
805
806 #. type: Plain text
807 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
808 #: opensuse-tumbleweed
809 #, fuzzy
810 #| msgid ""
811 #| "Search permission is denied on a component of the path prefix of "
812 #| "I<filename> or the name of a script interpreter."
813 msgid ""
814 "Search permission is denied on a component of the path prefix of I<path> or "
815 "the name of a script interpreter. (See also B<path_resolution>(7).)"
816 msgstr ""
817 "Permissão de busca é negada em um componente do caminho do I<nomearquivo> ou "
818 "no nome do interpretador de 'script'."
819
820 #. type: Plain text
821 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
822 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
823 msgid "The file or a script interpreter is not a regular file."
824 msgstr "O arquivo ou um interpretador de 'script' não são arquivos regulares."
825
826 #. type: Plain text
827 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
828 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
829 msgid ""
830 "Execute permission is denied for the file or a script or ELF interpreter."
831 msgstr ""
832 "Permissão de execução é negada para o arquivo, 'script' ou interpretador ELF."
833
834 #. type: Plain text
835 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
836 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
837 msgid "The filesystem is mounted I<noexec>."
838 msgstr "O sistema de arquivos está montado I<sem premissão de execução>."
839
840 #. type: TP
841 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
842 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
843 #, no-wrap
844 msgid "B<EAGAIN> (since Linux 3.1)"
845 msgstr ""
846
847 #. commit 72fa59970f8698023045ab0713d66f3f4f96945c
848 #. type: Plain text
849 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
850 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
851 msgid ""
852 "Having changed its real UID using one of the B<set*uid>() calls, the caller "
853 "was\\[em]and is now still\\[em]above its B<RLIMIT_NPROC> resource limit (see "
854 "B<setrlimit>(2)). For a more detailed explanation of this error, see NOTES."
855 msgstr ""
856
857 #. type: TP
858 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
859 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
860 #, no-wrap
861 msgid "B<EFAULT>"
862 msgstr "B<EFAULT>"
863
864 #. type: Plain text
865 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
866 #: opensuse-tumbleweed
867 #, fuzzy
868 #| msgid "I<filename> points outside your accessible address space."
869 msgid ""
870 "I<path> or one of the pointers in the vectors I<argv> or I<envp> points "
871 "outside your accessible address space."
872 msgstr "I<nomearquivo> aponta para fora do seu espaço de endereços acessível."
873
874 #. type: TP
875 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
876 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
877 #, no-wrap
878 msgid "B<EINVAL>"
879 msgstr "B<EINVAL>"
880
881 #. type: Plain text
882 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
883 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
884 msgid ""
885 "An ELF executable had more than one PT_INTERP segment (i.e., tried to name "
886 "more than one interpreter)."
887 msgstr ""
888 "Um executável ELF tem mais que um segmento PT_INTERP (por exemplo, tentado "
889 "nomear mais de um interpretador)."
890
891 #. type: TP
892 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
893 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
894 #, no-wrap
895 msgid "B<EIO>"
896 msgstr "B<EIO>"
897
898 #. type: Plain text
899 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
900 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
901 msgid "An I/O error occurred."
902 msgstr "Ocorreu um erro de E/S."
903
904 #. type: TP
905 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
906 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
907 #, no-wrap
908 msgid "B<EISDIR>"
909 msgstr "B<EISDIR>"
910
911 #. type: Plain text
912 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
913 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
914 msgid "An ELF interpreter was a directory."
915 msgstr "Um interpretador ELF é um diretório."
916
917 #. type: TP
918 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
919 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
920 #, no-wrap
921 msgid "B<ELIBBAD>"
922 msgstr "B<ELIBBAD>"
923
924 #. type: Plain text
925 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
926 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
927 msgid "An ELF interpreter was not in a recognized format."
928 msgstr "O interpretador ELF não estava em um formato reconhecido."
929
930 #. type: TP
931 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
932 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
933 #, no-wrap
934 msgid "B<ELOOP>"
935 msgstr "B<ELOOP>"
936
937 #. type: Plain text
938 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
939 #: opensuse-tumbleweed
940 #, fuzzy
941 #| msgid ""
942 #| "Too many symbolic links were encountered in resolving I<filename> or the "
943 #| "name of a script or ELF interpreter."
944 msgid ""
945 "Too many symbolic links were encountered in resolving I<path> or the name of "
946 "a script or ELF interpreter."
947 msgstr ""
948 "Muitas ligações simbólica foram encontradas na resolução do I<nomearquivo>, "
949 "no nome do 'script' ou interpretador ELF."
950
951 #. commit d740269867021faf4ce38a449353d2b986c34a67
952 #. type: Plain text
953 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
954 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
955 msgid ""
956 "The maximum recursion limit was reached during recursive script "
957 "interpretation (see \"Interpreter scripts\", above). Before Linux 3.8, the "
958 "error produced for this case was B<ENOEXEC>."
959 msgstr ""
960
961 #. type: TP
962 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
963 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
964 #, no-wrap
965 msgid "B<EMFILE>"
966 msgstr "B<EMFILE>"
967
968 #. type: Plain text
969 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
970 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
971 msgid ""
972 "The per-process limit on the number of open file descriptors has been "
973 "reached."
974 msgstr ""
975 "O limite por processo no número de descritores de arquivo abertos foi "
976 "alcançado."
977
978 #. type: TP
979 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
980 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
981 #, no-wrap
982 msgid "B<ENAMETOOLONG>"
983 msgstr "B<ENAMETOOLONG>"
984
985 #. type: Plain text
986 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
987 #: opensuse-tumbleweed
988 msgid "I<path> is too long."
989 msgstr "I<caminho> é muito longo."
990
991 #. type: TP
992 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
993 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
994 #, no-wrap
995 msgid "B<ENFILE>"
996 msgstr "B<ENFILE>"
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 "The system-wide limit on the total number of open files has been reached."
1003 msgstr ""
1004 "O limite para todo o sistema no número total de arquivos abertos foi "
1005 "alcançado."
1006
1007 #. type: TP
1008 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1009 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1010 #, no-wrap
1011 msgid "B<ENOENT>"
1012 msgstr "B<ENOENT>"
1013
1014 #. type: Plain text
1015 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1016 #: opensuse-tumbleweed
1017 #, fuzzy
1018 #| msgid "The file or a script interpreter is not a regular file."
1019 msgid "I<path> or a script or ELF interpreter does not exist."
1020 msgstr "O arquivo ou um interpretador de 'script' não são arquivos regulares."
1021
1022 #. type: TP
1023 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1024 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1025 #, no-wrap
1026 msgid "B<ENOEXEC>"
1027 msgstr "B<ENOEXEC>"
1028
1029 #. type: Plain text
1030 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1031 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1032 msgid ""
1033 "An executable is not in a recognized format, is for the wrong architecture, "
1034 "or has some other format error that means it cannot be executed."
1035 msgstr ""
1036 "Um executável não tem o formato reconhecido, é para a arquitetura errada, ou "
1037 "tem algum outro erro de formato que significa que ele não pode ser executado."
1038
1039 #. type: TP
1040 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1041 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1042 #, no-wrap
1043 msgid "B<ENOMEM>"
1044 msgstr "B<ENOMEM>"
1045
1046 #. type: Plain text
1047 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1048 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1049 msgid "Insufficient kernel memory was available."
1050 msgstr "A memória do kernel disponível foi insuficiente."
1051
1052 #. type: TP
1053 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1054 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1055 #, no-wrap
1056 msgid "B<ENOTDIR>"
1057 msgstr "B<ENOTDIR>"
1058
1059 #. type: Plain text
1060 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1061 #: opensuse-tumbleweed
1062 #, fuzzy
1063 #| msgid ""
1064 #| "A component of the path prefix of I<filename> or a script or ELF "
1065 #| "interpreter is not a directory."
1066 msgid ""
1067 "A component of the path prefix of I<path> or a script or ELF interpreter is "
1068 "not a directory."
1069 msgstr ""
1070 "Um componente do caminho de busca do I<nomearquivo>, ou um 'script', ou "
1071 "intrpretador ELF não é um diretório."
1072
1073 #. type: TP
1074 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1075 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1076 #, no-wrap
1077 msgid "B<EPERM>"
1078 msgstr "B<EPERM>"
1079
1080 #. type: Plain text
1081 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1082 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1083 #, fuzzy
1084 #| msgid ""
1085 #| "The file system is mounted I<nosuid>, the user is not the superuser, and "
1086 #| "the file has an SUID or SGID bit set."
1087 msgid ""
1088 "The filesystem is mounted I<nosuid>, the user is not the superuser, and the "
1089 "file has the set-user-ID or set-group-ID bit set."
1090 msgstr ""
1091 "O sistema de arquivos está montado I<sem o bit SUID estar ativado>, o "
1092 "usuário não é o superusuário, e o arquivo tem os bits SUID ou SGID "
1093 "selecionados."
1094
1095 #. type: Plain text
1096 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1097 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1098 #, fuzzy
1099 #| msgid ""
1100 #| "The process is being traced, the user is not the superuser and the file "
1101 #| "has an SUID or SGID bit set."
1102 msgid ""
1103 "The process is being traced, the user is not the superuser and the file has "
1104 "the set-user-ID or set-group-ID bit set."
1105 msgstr ""
1106 "O processo está sendo traced, o usuário não é o superusuário e o arquivo tem "
1107 "os bits SUID ou SGID selecionados."
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 ""
1113 "A \"capability-dumb\" applications would not obtain the full set of "
1114 "permitted capabilities granted by the executable file. See "
1115 "B<capabilities>(7)."
1116 msgstr ""
1117
1118 #. type: TP
1119 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1120 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1121 #, no-wrap
1122 msgid "B<ETXTBSY>"
1123 msgstr "B<ETXTBSY>"
1124
1125 #. type: Plain text
1126 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1127 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1128 #, fuzzy
1129 #| msgid "Executable was open for writing by one or more processes."
1130 msgid "The specified executable was open for writing by one or more processes."
1131 msgstr "O executável foi aberto para escrita por um ou mais processos."
1132
1133 #. type: SH
1134 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1135 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1136 #, no-wrap
1137 msgid "VERSIONS"
1138 msgstr "VERSÕES"
1139
1140 #. type: Plain text
1141 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1142 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1143 msgid ""
1144 "POSIX does not document the #! behavior, but it exists (with some "
1145 "variations) on other UNIX systems."
1146 msgstr ""
1147
1148 #. e.g., EFAULT on Solaris 8 and FreeBSD 6.1; but
1149 #. HP-UX 11 is like Linux -- mtk, Apr 2007
1150 #. Bug filed 30 Apr 2007: http://bugzilla.kernel.org/show_bug.cgi?id=8408
1151 #. Bug rejected (because fix would constitute an ABI change).
1152 #. type: Plain text
1153 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1154 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1155 msgid ""
1156 "On Linux, I<argv> and I<envp> can be specified as NULL. In both cases, this "
1157 "has the same effect as specifying the argument as a pointer to a list "
1158 "containing a single null pointer. B<Do not take advantage of this "
1159 "nonstandard and nonportable misfeature!> On many other UNIX systems, "
1160 "specifying I<argv> as NULL will result in an error (B<EFAULT>). I<Some> "
1161 "other UNIX systems treat the I<envp==NULL> case the same as Linux."
1162 msgstr ""
1163
1164 #. type: Plain text
1165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1167 msgid ""
1168 "POSIX.1 says that values returned by B<sysconf>(3) should be invariant over "
1169 "the lifetime of a process. However, since Linux 2.6.23, if the "
1170 "B<RLIMIT_STACK> resource limit changes, then the value reported by "
1171 "B<_SC_ARG_MAX> will also change, to reflect the fact that the limit on space "
1172 "for holding command-line arguments and environment variables has changed."
1173 msgstr ""
1174
1175 #. commit 6eb3c3d0a52dca337e327ae8868ca1f44a712e02
1176 #. type: Plain text
1177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1179 msgid ""
1180 "The kernel imposes a maximum length on the text that follows the \"#!\" "
1181 "characters at the start of a script; characters beyond the limit are "
1182 "ignored. Before Linux 5.1, the limit is 127 characters. Since Linux 5.1, "
1183 "the limit is 255 characters."
1184 msgstr ""
1185
1186 #. e.g., Solaris 8
1187 #. e.g., FreeBSD before 6.0, but not FreeBSD 6.0 onward
1188 #. type: Plain text
1189 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1190 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1191 msgid ""
1192 "The semantics of the I<optional-arg> argument of an interpreter script vary "
1193 "across implementations. On Linux, the entire string following the "
1194 "I<interpreter> name is passed as a single argument to the interpreter, and "
1195 "this string can include white space. However, behavior differs on some "
1196 "other systems. Some systems use the first white space to terminate "
1197 "I<optional-arg>. On some systems, an interpreter script can have multiple "
1198 "arguments, and white spaces in I<optional-arg> are used to delimit the "
1199 "arguments."
1200 msgstr ""
1201
1202 #
1203 #. type: Plain text
1204 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1205 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1206 msgid ""
1207 "Linux (like most other modern UNIX systems) ignores the set-user-ID and set-"
1208 "group-ID bits on scripts."
1209 msgstr ""
1210
1211 #. type: SH
1212 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1213 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1214 #, no-wrap
1215 msgid "STANDARDS"
1216 msgstr "PADRÕES"
1217
1218 #. type: Plain text
1219 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1220 #: opensuse-tumbleweed
1221 msgid "POSIX.1-2024."
1222 msgstr "POSIX.1-2024."
1223
1224 #. type: SH
1225 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1226 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1227 #, no-wrap
1228 msgid "HISTORY"
1229 msgstr "HISTÓRICO"
1230
1231 #. SVr4 documents additional error
1232 #. conditions EAGAIN, EINTR, ELIBACC, ENOLINK, EMULTIHOP; POSIX does not
1233 #. document ETXTBSY, EPERM, EFAULT, ELOOP, EIO, ENFILE, EMFILE, EINVAL,
1234 #. EISDIR or ELIBBAD error conditions.
1235 #. type: Plain text
1236 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1237 #: opensuse-tumbleweed
1238 msgid "4.3BSD, SVr4, POSIX.1-1988."
1239 msgstr "4.3BSD, SVr4, POSIX.1-1988."
1240
1241 #
1242 #. type: Plain text
1243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1244 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1245 msgid ""
1246 "With UNIX\\ V6, the argument list of an B<exec>() call was ended by 0, "
1247 "while the argument list of I<main> was ended by -1. Thus, this argument "
1248 "list was not directly usable in a further B<exec>() call. Since UNIX\\ V7, "
1249 "both are NULL."
1250 msgstr ""
1251
1252 #. type: SH
1253 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1254 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1255 #, no-wrap
1256 msgid "NOTES"
1257 msgstr "NOTAS"
1258
1259 #. type: Plain text
1260 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1261 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1262 msgid ""
1263 "One sometimes sees B<execve>() (and the related functions described in "
1264 "B<exec>(3)) described as \"executing a I<new> process\" (or similar). This "
1265 "is a highly misleading description: there is no new process; many attributes "
1266 "of the calling process remain unchanged (in particular, its PID). All that "
1267 "B<execve>() does is arrange for an existing process (the calling process) "
1268 "to execute a new program."
1269 msgstr ""
1270
1271 #. type: Plain text
1272 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1273 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1274 #, fuzzy
1275 #| msgid "SUID and SGID processes can not be B<ptrace()>d."
1276 msgid "Set-user-ID and set-group-ID processes can not be B<ptrace>(2)d."
1277 msgstr "Processos SUID e SGID não podem ter B<ptrace()> SUID ou SGID."
1278
1279 #. type: Plain text
1280 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1281 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1282 #, fuzzy
1283 #| msgid ""
1284 #| "The result of mounting a filesystem I<nosuid> vary between Linux kernel "
1285 #| "versions: some will refuse execution of SUID/SGID executables when this "
1286 #| "would give the user powers she did not have already (and return EPERM), "
1287 #| "some will just ignore the SUID/SGID bits and exec successfully."
1288 msgid ""
1289 "The result of mounting a filesystem I<nosuid> varies across Linux kernel "
1290 "versions: some will refuse execution of set-user-ID and set-group-ID "
1291 "executables when this would give the user powers they did not have already "
1292 "(and return B<EPERM>), some will just ignore the set-user-ID and set-group-"
1293 "ID bits and B<exec>() successfully."
1294 msgstr ""
1295 "O resultado da montagem de um sistema de arquivos I<nosuid> varia enter "
1296 "versões do Kernel Linux: algumas irão recusar execução de executáveis SUID/"
1297 "SGID quando isto for fornecer poder ao usuário, não deve ser feito (e "
1298 "devolve EPERM), outras irão ignorar os bits SUID/SGID e executar sem "
1299 "problemas."
1300
1301 #. commit 19d860a140beac48a1377f179e693abe86a9dac9
1302 #. type: Plain text
1303 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1304 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1305 msgid ""
1306 "In most cases where B<execve>() fails, control returns to the original "
1307 "executable image, and the caller of B<execve>() can then handle the error. "
1308 "However, in (rare) cases (typically caused by resource exhaustion), failure "
1309 "may occur past the point of no return: the original executable image has "
1310 "been torn down, but the new image could not be completely built. In such "
1311 "cases, the kernel kills the process with a B<SIGSEGV> (B<SIGKILL> until "
1312 "Linux 3.17) signal."
1313 msgstr ""
1314
1315 #. type: SS
1316 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1317 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1318 #, no-wrap
1319 msgid "execve() and EAGAIN"
1320 msgstr "execve() e EAGAIN"
1321
1322 #. type: Plain text
1323 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1324 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1325 msgid ""
1326 "A more detailed explanation of the B<EAGAIN> error that can occur (since "
1327 "Linux 3.1) when calling B<execve>() is as follows."
1328 msgstr ""
1329
1330 #. commit 909cc4ae86f3380152a18e2a3c44523893ee11c4
1331 #. type: Plain text
1332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1333 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1334 msgid ""
1335 "The B<EAGAIN> error can occur when a I<preceding> call to B<setuid>(2), "
1336 "B<setreuid>(2), or B<setresuid>(2) caused the real user ID of the process "
1337 "to change, and that change caused the process to exceed its B<RLIMIT_NPROC> "
1338 "resource limit (i.e., the number of processes belonging to the new real UID "
1339 "exceeds the resource limit). From Linux 2.6.0 to Linux 3.0, this caused the "
1340 "B<set*uid>() call to fail. (Before Linux 2.6, the resource limit was not "
1341 "imposed on processes that changed their user IDs.)"
1342 msgstr ""
1343
1344 #. type: Plain text
1345 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1346 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1347 msgid ""
1348 "Since Linux 3.1, the scenario just described no longer causes the "
1349 "B<set*uid>() call to fail, because it too often led to security holes where "
1350 "buggy applications didn't check the return status and assumed that\\[em]if "
1351 "the caller had root privileges\\[em]the call would always succeed. Instead, "
1352 "the B<set*uid>() calls now successfully change the real UID, but the kernel "
1353 "sets an internal flag, named B<PF_NPROC_EXCEEDED>, to note that the "
1354 "B<RLIMIT_NPROC> resource limit has been exceeded. If the "
1355 "B<PF_NPROC_EXCEEDED> flag is set and the resource limit is still exceeded at "
1356 "the time of a subsequent B<execve>() call, that call fails with the error "
1357 "B<EAGAIN>. This kernel logic ensures that the B<RLIMIT_NPROC> resource "
1358 "limit is still enforced for the common privileged daemon workflow\\"
1359 "[em]namely, B<fork>(2) + B<set*uid>() + B<execve>()."
1360 msgstr ""
1361
1362 #. .SH BUGS
1363 #. Some Linux versions have failed to check permissions on ELF
1364 #. interpreters. This is a security hole, because it allows users to
1365 #. open any file, such as a rewinding tape device, for reading. Some
1366 #. Linux versions have also had other security holes in
1367 #. .BR execve ()
1368 #. that could be exploited for denial of service by a suitably crafted
1369 #. ELF binary. There are no known problems with Linux 2.0.34 or Linux 2.2.15.
1370 #. type: Plain text
1371 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1372 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1373 msgid ""
1374 "If the resource limit was not still exceeded at the time of the B<execve>() "
1375 "call (because other processes belonging to this real UID terminated between "
1376 "the B<set*uid>() call and the B<execve>() call), then the B<execve>() "
1377 "call succeeds and the kernel clears the B<PF_NPROC_EXCEEDED> process flag. "
1378 "The flag is also cleared if a subsequent call to B<fork>(2) by this process "
1379 "succeeds."
1380 msgstr ""
1381
1382 #. type: SH
1383 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1384 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1385 #, no-wrap
1386 msgid "EXAMPLES"
1387 msgstr "EXEMPLOS"
1388
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 following program is designed to be execed by the second program below. "
1394 "It just echoes its command-line arguments, one per line."
1395 msgstr ""
1396
1397 #. type: Plain text
1398 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1399 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1400 #, fuzzy, no-wrap
1401 #| msgid ""
1402 #| " for (j = 0; j E<lt> argc; j++)\n"
1403 #| " printf(\"argv[%d]: %s\\en\", j, argv[j]);\n"
1404 msgid ""
1405 "/* myecho.c */\n"
1406 "\\&\n"
1407 "#include E<lt>stdio.hE<gt>\n"
1408 "#include E<lt>stdlib.hE<gt>\n"
1409 "\\&\n"
1410 "int\n"
1411 "main(int argc, char *argv[])\n"
1412 "{\n"
1413 " for (size_t j = 0; j E<lt> argc; j++)\n"
1414 " printf(\"argv[%zu]: %s\\[rs]n\", j, argv[j]);\n"
1415 "\\&\n"
1416 " exit(EXIT_SUCCESS);\n"
1417 "}\n"
1418 msgstr ""
1419 " for (j = 0; j E<lt> argc; j++)\n"
1420 " printf(\"argv[%d]: %s\\en\", j, argv[j]);\n"
1421
1422 #. type: Plain text
1423 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1424 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1425 msgid ""
1426 "This program can be used to exec the program named in its command-line "
1427 "argument:"
1428 msgstr ""
1429
1430 #. type: Plain text
1431 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1432 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1433 #, no-wrap
1434 msgid ""
1435 "/* execve.c */\n"
1436 "\\&\n"
1437 "#include E<lt>stdio.hE<gt>\n"
1438 "#include E<lt>stdlib.hE<gt>\n"
1439 "#include E<lt>unistd.hE<gt>\n"
1440 "\\&\n"
1441 "int\n"
1442 "main(int argc, char *argv[])\n"
1443 "{\n"
1444 " static char *newargv[] = { NULL, \"hello\", \"world\", NULL };\n"
1445 " static char *newenviron[] = { NULL };\n"
1446 "\\&\n"
1447 " if (argc != 2) {\n"
1448 " fprintf(stderr, \"Usage: %s E<lt>file-to-execE<gt>\\[rs]n\", argv[0]);\n"
1449 " exit(EXIT_FAILURE);\n"
1450 " }\n"
1451 "\\&\n"
1452 " newargv[0] = argv[1];\n"
1453 "\\&\n"
1454 " execve(argv[1], newargv, newenviron);\n"
1455 " perror(\"execve\"); /* execve() returns only on error */\n"
1456 " exit(EXIT_FAILURE);\n"
1457 "}\n"
1458 msgstr ""
1459
1460 #. type: Plain text
1461 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1462 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1463 msgid "We can use the second program to exec the first as follows:"
1464 msgstr ""
1465
1466 #. type: Plain text
1467 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1468 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1469 #, no-wrap
1470 msgid ""
1471 "$B< cc myecho.c -o myecho>\n"
1472 "$B< cc execve.c -o execve>\n"
1473 "$B< ./execve ./myecho>\n"
1474 "argv[0]: ./myecho\n"
1475 "argv[1]: hello\n"
1476 "argv[2]: world\n"
1477 msgstr ""
1478 "$B< cc myecho.c -o myecho>\n"
1479 "$B< cc execve.c -o execve>\n"
1480 "$B< ./execve ./myecho>\n"
1481 "argv[0]: ./myecho\n"
1482 "argv[1]: hello\n"
1483 "argv[2]: world\n"
1484
1485 #. type: Plain text
1486 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1487 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1488 msgid ""
1489 "We can also use these programs to demonstrate the use of a script "
1490 "interpreter. To do this we create a script whose \"interpreter\" is our "
1491 "I<myecho> program:"
1492 msgstr ""
1493
1494 #. type: Plain text
1495 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1496 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1497 #, fuzzy, no-wrap
1498 #| msgid ""
1499 #| "$B< cat E<gt> script>\n"
1500 #| "B<#!./myecho script-arg>\n"
1501 #| "B<^D>\n"
1502 #| "$B< chmod +x script>\n"
1503 msgid ""
1504 "$B< cat E<gt> script>\n"
1505 "B<#!./myecho script-arg>\n"
1506 "B<\\[ha]D>\n"
1507 "$B< chmod +x script>\n"
1508 msgstr ""
1509 "$B< cat E<gt> script>\n"
1510 "B<#!./myecho script-arg>\n"
1511 "B<^D>\n"
1512 "$B< chmod +x script>\n"
1513
1514 #. type: Plain text
1515 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1516 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1517 msgid "We can then use our program to exec the script:"
1518 msgstr ""
1519
1520 #. type: Plain text
1521 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1522 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1523 #, no-wrap
1524 msgid ""
1525 "$B< ./execve ./script>\n"
1526 "argv[0]: ./myecho\n"
1527 "argv[1]: script-arg\n"
1528 "argv[2]: ./script\n"
1529 "argv[3]: hello\n"
1530 "argv[4]: world\n"
1531 msgstr ""
1532 "$B< ./execve ./script>\n"
1533 "argv[0]: ./myecho\n"
1534 "argv[1]: script-arg\n"
1535 "argv[2]: ./script\n"
1536 "argv[3]: hello\n"
1537 "argv[4]: world\n"
1538
1539 #. type: SH
1540 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1541 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1542 #, no-wrap
1543 msgid "SEE ALSO"
1544 msgstr "VEJA TAMBÉM"
1545
1546 #. type: Plain text
1547 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1548 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1549 #, fuzzy
1550 #| msgid ""
1551 #| "B<chmod>(2), B<execveat>(2), B<fork>(2), B<get_robust_list>(2), "
1552 #| "B<ptrace>(2), B<exec>(3), B<fexecve>(3), B<getopt>(3), B<system>(3), "
1553 #| "B<credentials>(7), B<environ>(7), B<path_resolution>(7), B<ld.so>(8)"
1554 msgid ""
1555 "B<chmod>(2), B<execveat>(2), B<fork>(2), B<get_robust_list>(2), "
1556 "B<ptrace>(2), B<exec>(3), B<fexecve>(3), B<getauxval>(3), B<getopt>(3), "
1557 "B<system>(3), B<capabilities>(7), B<credentials>(7), B<environ>(7), "
1558 "B<path_resolution>(7), B<ld.so>(8)"
1559 msgstr ""
1560 "B<chmod>(2), B<execveat>(2), B<fork>(2), B<get_robust_list>(2), "
1561 "B<ptrace>(2), B<exec>(3), B<fexecve>(3), B<getopt>(3), B<system>(3), "
1562 "B<credentials>(7), B<environ>(7), B<path_resolution>(7), B<ld.so>(8)"
1563
1564 #. type: TH
1565 #: debian-trixie
1566 #, no-wrap
1567 msgid "2024-06-15"
1568 msgstr "15 junho 2024"
1569
1570 #. type: TH
1571 #: debian-trixie
1572 #, no-wrap
1573 msgid "Linux man-pages 6.9.1"
1574 msgstr "Linux man-pages 6.9.1"
1575
1576 #. type: Plain text
1577 #: debian-trixie
1578 msgid "Standard C library (I<libc>, I<-lc>)"
1579 msgstr "Biblioteca C Padrão (I<libc>, I<-lc>)"
1580
1581 #. type: Plain text
1582 #: debian-trixie fedora-44 fedora-rawhide
1583 #, fuzzy, no-wrap
1584 #| msgid "B<int execve(const char *>I<pathname>B<, char *const >I<argv>B<[], >"
1585 msgid ""
1586 "B<int execve(const char *>I<pathname>B<, char *const _Nullable >I<argv>B<[],>\n"
1587 "B< char *const _Nullable >I<envp>B<[]);>\n"
1588 msgstr "B<int execve(const char *>I<pathname>B<, char *const >I<argv>B<[], >"
1589
1590 #. type: Plain text
1591 #: debian-trixie fedora-44 fedora-rawhide
1592 msgid ""
1593 "B<execve>() executes the program referred to by I<pathname>. This causes "
1594 "the program that is currently being run by the calling process to be "
1595 "replaced with a new program, with newly initialized stack, heap, and "
1596 "(initialized and uninitialized) data segments."
1597 msgstr ""
1598
1599 #. type: Plain text
1600 #: debian-trixie fedora-44 fedora-rawhide
1601 msgid ""
1602 "I<pathname> must be either a binary executable, or a script starting with a "
1603 "line of the form:"
1604 msgstr ""
1605
1606 #. type: Plain text
1607 #: debian-trixie fedora-44 fedora-rawhide
1608 #, no-wrap
1609 msgid "B<#!>I<interpreter >[optional-arg]\n"
1610 msgstr "B<#!>I<interpreter >[optional-arg]\n"
1611
1612 #. type: Plain text
1613 #: debian-trixie fedora-44 fedora-rawhide
1614 #, fuzzy
1615 #| msgid ""
1616 #| "If the set-uid bit is set on the program file pointed to by I<filename> "
1617 #| "the effective user ID of the calling process is changed to that of the "
1618 #| "owner of the program file. Similarly, when the set-gid bit of the "
1619 #| "program file is set the effective group ID of the calling process is set "
1620 #| "to the group of the program file."
1621 msgid ""
1622 "If the set-user-ID bit is set on the program file referred to by "
1623 "I<pathname>, then the effective user ID of the calling process is changed to "
1624 "that of the owner of the program file. Similarly, if the set-group-ID bit "
1625 "is set on the program file, then the effective group ID of the calling "
1626 "process is set to the group of the program file."
1627 msgstr ""
1628 "Se o bit SUID é selecionado no programa apontado por I<nomearquivo> a UID "
1629 "efetiva do processo solicitante é alterada para aquela do proprietário do "
1630 "arquivo. Similarmente, quando o bit SGID de um programa é selecionada a GID "
1631 "efetiva de um processo solicitante é selecionado para o grupo de programa."
1632
1633 #. type: Plain text
1634 #: debian-trixie fedora-44 fedora-rawhide
1635 msgid ""
1636 "The equivalent of I<setlocale(LC_ALL, \"C\")> is executed at program start-"
1637 "up."
1638 msgstr ""
1639
1640 #. type: Plain text
1641 #: debian-trixie fedora-44 fedora-rawhide
1642 msgid ""
1643 "If the I<pathname> argument of B<execve>() specifies an interpreter script, "
1644 "then I<interpreter> will be invoked with the following arguments:"
1645 msgstr ""
1646
1647 #. type: Plain text
1648 #: debian-trixie fedora-44 fedora-rawhide
1649 #, no-wrap
1650 msgid "I<interpreter> [optional-arg] I<pathname> arg...\n"
1651 msgstr ""
1652
1653 #. See the P - preserve-argv[0] option.
1654 #. Documentation/admin-guide/binfmt-misc.rst
1655 #. https://www.kernel.org/doc/html/latest/admin-guide/binfmt-misc.html
1656 #. type: Plain text
1657 #: debian-trixie fedora-44 fedora-rawhide
1658 msgid ""
1659 "where I<pathname> is the pathname of the file specified as the first "
1660 "argument of B<execve>(), and I<arg...> is the series of words pointed to by "
1661 "the I<argv> argument of B<execve>(), starting at I<argv[1]>. Note that "
1662 "there is no way to get the I<argv[0]> that was passed to the B<execve>() "
1663 "call."
1664 msgstr ""
1665
1666 #. type: Plain text
1667 #: debian-trixie
1668 msgid ""
1669 "For portable use, I<optional-arg> should either be absent, or be specified "
1670 "as a single word (i.e., it should not contain white space); see NOTES below."
1671 msgstr ""
1672
1673 #. type: Plain text
1674 #: debian-trixie fedora-44 fedora-rawhide
1675 msgid ""
1676 "The total number of bytes in the environment (I<envp>) and argument list "
1677 "(I<argv>) is too large, an argument or environment string is too long, or "
1678 "the full I<pathname> of the executable is too long. The terminating null "
1679 "byte is counted as part of the string length."
1680 msgstr ""
1681
1682 #. type: Plain text
1683 #: debian-trixie fedora-44 fedora-rawhide
1684 #, fuzzy
1685 #| msgid ""
1686 #| "Search permission is denied on a component of the path prefix of "
1687 #| "I<filename> or the name of a script interpreter."
1688 msgid ""
1689 "Search permission is denied on a component of the path prefix of I<pathname> "
1690 "or the name of a script interpreter. (See also B<path_resolution>(7).)"
1691 msgstr ""
1692 "Permissão de busca é negada em um componente do caminho do I<nomearquivo> ou "
1693 "no nome do interpretador de 'script'."
1694
1695 #. type: Plain text
1696 #: debian-trixie fedora-44 fedora-rawhide
1697 #, fuzzy
1698 #| msgid "I<filename> points outside your accessible address space."
1699 msgid ""
1700 "I<pathname> or one of the pointers in the vectors I<argv> or I<envp> points "
1701 "outside your accessible address space."
1702 msgstr "I<nomearquivo> aponta para fora do seu espaço de endereços acessível."
1703
1704 #. type: Plain text
1705 #: debian-trixie fedora-44 fedora-rawhide
1706 #, fuzzy
1707 #| msgid ""
1708 #| "Too many symbolic links were encountered in resolving I<filename> or the "
1709 #| "name of a script or ELF interpreter."
1710 msgid ""
1711 "Too many symbolic links were encountered in resolving I<pathname> or the "
1712 "name of a script or ELF interpreter."
1713 msgstr ""
1714 "Muitas ligações simbólica foram encontradas na resolução do I<nomearquivo>, "
1715 "no nome do 'script' ou interpretador ELF."
1716
1717 #. type: Plain text
1718 #: debian-trixie fedora-44 fedora-rawhide
1719 msgid "I<pathname> is too long."
1720 msgstr "I<pathname> é muito longo."
1721
1722 #. type: Plain text
1723 #: debian-trixie fedora-44 fedora-rawhide
1724 #, fuzzy
1725 #| msgid "The file or a script interpreter is not a regular file."
1726 msgid "The file I<pathname> or a script or ELF interpreter does not exist."
1727 msgstr "O arquivo ou um interpretador de 'script' não são arquivos regulares."
1728
1729 #. type: Plain text
1730 #: debian-trixie fedora-44 fedora-rawhide
1731 #, fuzzy
1732 #| msgid ""
1733 #| "A component of the path prefix of I<filename> or a script or ELF "
1734 #| "interpreter is not a directory."
1735 msgid ""
1736 "A component of the path prefix of I<pathname> or a script or ELF interpreter "
1737 "is not a directory."
1738 msgstr ""
1739 "Um componente do caminho de busca do I<nomearquivo>, ou um 'script', ou "
1740 "intrpretador ELF não é um diretório."
1741
1742 #. type: Plain text
1743 #: debian-trixie fedora-44 fedora-rawhide
1744 msgid "POSIX.1-2008."
1745 msgstr "POSIX.1-2008."
1746
1747 #. SVr4 documents additional error
1748 #. conditions EAGAIN, EINTR, ELIBACC, ENOLINK, EMULTIHOP; POSIX does not
1749 #. document ETXTBSY, EPERM, EFAULT, ELOOP, EIO, ENFILE, EMFILE, EINVAL,
1750 #. EISDIR or ELIBBAD error conditions.
1751 #. type: Plain text
1752 #: debian-trixie fedora-44 fedora-rawhide
1753 msgid "POSIX.1-2001, SVr4, 4.3BSD."
1754 msgstr "POSIX.1-2001, SVr4, 4.3BSD."
1755
1756 #. type: TH
1757 #: fedora-44 fedora-rawhide
1758 #, no-wrap
1759 msgid "2024-07-23"
1760 msgstr "23 julho 2024"
1761
1762 #. type: TH
1763 #: fedora-44 fedora-rawhide
1764 #, no-wrap
1765 msgid "Linux man-pages 6.13"
1766 msgstr "Linux man-pages 6.13"
1767
1768 #. type: TH
1769 #: mageia-cauldron
1770 #, no-wrap
1771 msgid "Linux man-pages 6.17"
1772 msgstr "Linux man-pages 6.17"
1773
1774 #. type: TH
1775 #: opensuse-leap-16-1 opensuse-tumbleweed
1776 #, no-wrap
1777 msgid "Linux man-pages (unreleased)"
1778 msgstr "Linux man-pages (não lançado)"