| 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 |
# Marcelo Pereira da Silva <[email protected]>, 2001. |
| 6 |
msgid "" |
| 7 |
msgstr "" |
| 8 |
"Project-Id-Version: manpages-l10n\n" |
| 9 |
"POT-Creation-Date: 2026-06-05 06:50+0200\n" |
| 10 |
"PO-Revision-Date: 2001-06-02 19:20-0300\n" |
| 11 |
"Last-Translator: Marcelo Pereira da Silva <[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: Virtaal 1.0.0-beta1\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 "vfork" |
| 26 |
msgstr "vfork" |
| 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 "vfork - create a child process and block parent" |
| 53 |
msgstr "vfork - cria um processo filho e bloqueia o processo pai" |
| 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-trixie debian-unstable fedora-44 fedora-rawhide |
| 84 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 85 |
#, fuzzy, no-wrap |
| 86 |
#| msgid "B<pid_t vfork(void);>" |
| 87 |
msgid "B<pid_t vfork(void);>\n" |
| 88 |
msgstr "B<pid_t vfork(void);>" |
| 89 |
|
| 90 |
#. type: Plain text |
| 91 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 92 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 93 |
msgid "" |
| 94 |
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):" |
| 95 |
msgstr "" |
| 96 |
"Requisitos de macro de teste de recursos para o glibc (consulte " |
| 97 |
"B<feature_test_macros>(7)):" |
| 98 |
|
| 99 |
#. type: Plain text |
| 100 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 101 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 102 |
msgid "B<vfork>():" |
| 103 |
msgstr "B<vfork>():" |
| 104 |
|
| 105 |
#. || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED |
| 106 |
#. type: Plain text |
| 107 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 108 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 109 |
#, fuzzy, no-wrap |
| 110 |
#| msgid "" |
| 111 |
#| "_ISOC99_SOURCE || _POSIX_C_SOURCE\\ E<gt>=\\ 200112L\n" |
| 112 |
#| " || /* Since glibc 2.19: */ _DEFAULT_SOURCE\n" |
| 113 |
#| " || /* Glibc versions E<lt>= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n" |
| 114 |
msgid "" |
| 115 |
" Since glibc 2.12:\n" |
| 116 |
" (_XOPEN_SOURCE E<gt>= 500) && ! (_POSIX_C_SOURCE E<gt>= 200809L)\n" |
| 117 |
" || /* Since glibc 2.19: */ _DEFAULT_SOURCE\n" |
| 118 |
" || /* glibc E<lt>= 2.19: */ _BSD_SOURCE\n" |
| 119 |
" Before glibc 2.12:\n" |
| 120 |
" _BSD_SOURCE || _XOPEN_SOURCE E<gt>= 500\n" |
| 121 |
msgstr "" |
| 122 |
"_ISOC99_SOURCE || _POSIX_C_SOURCE\\ E<gt>=\\ 200112L\n" |
| 123 |
" || /* Desde o glibc 2.19: */ _DEFAULT_SOURCE\n" |
| 124 |
" || /* Glibc versões E<lt>= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n" |
| 125 |
|
| 126 |
#. type: SH |
| 127 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 128 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 129 |
#, no-wrap |
| 130 |
msgid "DESCRIPTION" |
| 131 |
msgstr "DESCRIÇÃO" |
| 132 |
|
| 133 |
#. type: SS |
| 134 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 135 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 136 |
#, no-wrap |
| 137 |
msgid "Standard description" |
| 138 |
msgstr "" |
| 139 |
|
| 140 |
#. type: Plain text |
| 141 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 142 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 143 |
#, fuzzy |
| 144 |
#| msgid "" |
| 145 |
#| "(From XPG4 / SUSv2 / POSIX draft.) The I<vfork>() function has the same " |
| 146 |
#| "effect as I<fork>(), except that the behaviour is undefined if the " |
| 147 |
#| "process created by I<vfork>() either modifies any data other than a " |
| 148 |
#| "variable of type pid_t used to store the return value from I<vfork>(), or " |
| 149 |
#| "returns from the function in which I<vfork>() was called, or calls any " |
| 150 |
#| "other function before successfully calling I<_exit>() or one of the " |
| 151 |
#| "I<exec> family of functions." |
| 152 |
msgid "" |
| 153 |
"(From POSIX.1) The B<vfork>() function has the same effect as B<fork>(2), " |
| 154 |
"except that the behavior is undefined if the process created by B<vfork>() " |
| 155 |
"either modifies any data other than a variable of type I<pid_t> used to " |
| 156 |
"store the return value from B<vfork>(), or returns from the function in " |
| 157 |
"which B<vfork>() was called, or calls any other function before " |
| 158 |
"successfully calling B<_exit>(2) or one of the B<exec>(3) family of " |
| 159 |
"functions." |
| 160 |
msgstr "" |
| 161 |
"(A partir de XPG4 / SUSv2 / rascunho da POSIX.) A função I<vfork>() tem o " |
| 162 |
"mesmo efeito de I<fork>(), exceto que o comportamento é indefinido se o " |
| 163 |
"processo criado por I<vfork>() modifica quaisquer dados diferentes de uma " |
| 164 |
"variável do tipo pid_t usadas para armazenar o valor retornado de " |
| 165 |
"I<vfork>(), ou retornos da função na qual I<vfork>() foi chamada, ou chama " |
| 166 |
"qualquer outra função antes de chamar, com sucesso, I<_exit>() ou umas das " |
| 167 |
"famílias de funções I<exec>." |
| 168 |
|
| 169 |
#. type: SS |
| 170 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 171 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 172 |
#, no-wrap |
| 173 |
msgid "Linux description" |
| 174 |
msgstr "" |
| 175 |
|
| 176 |
#. type: Plain text |
| 177 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 178 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 179 |
#, fuzzy |
| 180 |
#| msgid "" |
| 181 |
#| "B<vfork>, just like B<fork>(2), creates a child process of the calling " |
| 182 |
#| "process. For details and return value and errors, see B<fork>(2)." |
| 183 |
msgid "" |
| 184 |
"B<vfork>(), just like B<fork>(2), creates a child process of the calling " |
| 185 |
"process. For details and return value and errors, see B<fork>(2)." |
| 186 |
msgstr "" |
| 187 |
"B<vfork>, como B<fork>(2), cria um processo filho do processo solicitante. " |
| 188 |
"Para detalhes, valores devolvidos e erros, veja B<fork>(2)." |
| 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 |
#, fuzzy |
| 194 |
#| msgid "" |
| 195 |
#| "B<vfork()> is a special case of B<clone>(2). It is used to create new " |
| 196 |
#| "processes without copying the page tables of the parent process. It may " |
| 197 |
#| "be useful in performance sensitive applications where a child will be " |
| 198 |
#| "created which then immediately issues an I<execve()>." |
| 199 |
msgid "" |
| 200 |
"B<vfork>() is a special case of B<clone>(2). It is used to create new " |
| 201 |
"processes without copying the page tables of the parent process. It may be " |
| 202 |
"useful in performance-sensitive applications where a child is created which " |
| 203 |
"then immediately issues an B<execve>(2)." |
| 204 |
msgstr "" |
| 205 |
"B<vfork()> é um caso especial de B<clone>(2). Ele é usado para criar um novo " |
| 206 |
"processo sem copiar as tabelas de página do processo pai. Pode ser útil em " |
| 207 |
"aplicações sensíveis quanto ao desempenho, onde um filho será criado, então, " |
| 208 |
"imediatamente emite um I<execve()>." |
| 209 |
|
| 210 |
#. type: Plain text |
| 211 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 212 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 213 |
#, fuzzy |
| 214 |
#| msgid "" |
| 215 |
#| "B<vfork()> differs from fork in that the parent is suspended until the " |
| 216 |
#| "child makes a call to B<execve>(2) or B<_exit>(2). The child shares all " |
| 217 |
#| "memory with its parent, including the stack, until I<execve()> is issued " |
| 218 |
#| "by the child. The child must not return from the current function or " |
| 219 |
#| "call I<exit()>, but may call I<_exit()>." |
| 220 |
msgid "" |
| 221 |
"B<vfork>() differs from B<fork>(2) in that the calling thread is suspended " |
| 222 |
"until the child terminates (either normally, by calling B<_exit>(2), or " |
| 223 |
"abnormally, after delivery of a fatal signal), or it makes a call to " |
| 224 |
"B<execve>(2). Until that point, the child shares all memory with its " |
| 225 |
"parent, including the stack. The child must not return from the current " |
| 226 |
"function or call B<exit>(3) (which would have the effect of calling exit " |
| 227 |
"handlers established by the parent process and flushing the parent's " |
| 228 |
"B<stdio>(3) buffers), but may call B<_exit>(2)." |
| 229 |
msgstr "" |
| 230 |
"B<vfork()>difere do fork em que o pai é suspenso até que o filho faça uma " |
| 231 |
"chamada para B<execve>(2) ou B<_exit>(2). O filho compartilha toda memória " |
| 232 |
"com seu pai, incluindo a pilha, até que I<execve()> seja emitida pelo filho. " |
| 233 |
"O filho não deve retornar a partir da função atual ou chamada I<exit()>, mas " |
| 234 |
"pode chamar I<_exit()>." |
| 235 |
|
| 236 |
#. type: Plain text |
| 237 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 238 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 239 |
msgid "" |
| 240 |
"As with B<fork>(2), the child process created by B<vfork>() inherits copies " |
| 241 |
"of various of the caller's process attributes (e.g., file descriptors, " |
| 242 |
"signal dispositions, and current working directory); the B<vfork>() call " |
| 243 |
"differs only in the treatment of the virtual address space, as described " |
| 244 |
"above." |
| 245 |
msgstr "" |
| 246 |
|
| 247 |
#. type: Plain text |
| 248 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 249 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 250 |
msgid "" |
| 251 |
"Signals sent to the parent arrive after the child releases the parent's " |
| 252 |
"memory (i.e., after the child terminates or calls B<execve>(2))." |
| 253 |
msgstr "" |
| 254 |
|
| 255 |
#. type: SS |
| 256 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 257 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 258 |
#, no-wrap |
| 259 |
msgid "Historic description" |
| 260 |
msgstr "" |
| 261 |
|
| 262 |
#. type: Plain text |
| 263 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 264 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 265 |
#, fuzzy |
| 266 |
#| msgid "" |
| 267 |
#| "Under Linux, I<fork>() is implemented using copy-on-write pages, so the " |
| 268 |
#| "only penalty incurred by I<fork>() is the time and memory required to " |
| 269 |
#| "duplicate the parent's page tables, and to create a unique task structure " |
| 270 |
#| "for the child. However, in the bad old days a I<fork()> would require " |
| 271 |
#| "making a complete copy of the caller's data space, often needlessly, " |
| 272 |
#| "since usually immediately afterwards an I<exec>() is done. Thus, for " |
| 273 |
#| "greater efficiency, BSD introduced the B<vfork> system call, that did not " |
| 274 |
#| "fully copy the address space of the parent process, but borrowed the " |
| 275 |
#| "parent's memory and thread of control until a call to I<execve>() or an " |
| 276 |
#| "exit occurred. The parent process was suspended while the child was using " |
| 277 |
#| "its resources. The use of vfork was tricky - for example, not modifying " |
| 278 |
#| "data in the parent process depended on knowing which variables are held " |
| 279 |
#| "in a register." |
| 280 |
msgid "" |
| 281 |
"Under Linux, B<fork>(2) is implemented using copy-on-write pages, so the " |
| 282 |
"only penalty incurred by B<fork>(2) is the time and memory required to " |
| 283 |
"duplicate the parent's page tables, and to create a unique task structure " |
| 284 |
"for the child. However, in the bad old days a B<fork>(2) would require " |
| 285 |
"making a complete copy of the caller's data space, often needlessly, since " |
| 286 |
"usually immediately afterward an B<exec>(3) is done. Thus, for greater " |
| 287 |
"efficiency, BSD introduced the B<vfork>() system call, which did not fully " |
| 288 |
"copy the address space of the parent process, but borrowed the parent's " |
| 289 |
"memory and thread of control until a call to B<execve>(2) or an exit " |
| 290 |
"occurred. The parent process was suspended while the child was using its " |
| 291 |
"resources. The use of B<vfork>() was tricky: for example, not modifying " |
| 292 |
"data in the parent process depended on knowing which variables were held in " |
| 293 |
"a register." |
| 294 |
msgstr "" |
| 295 |
"No Linux, I<fork>() é implementado usando páginas cópia-na-escrita, assim a " |
| 296 |
"única penalidade incorrida por I<fork>() é o tempo e a memória requerida " |
| 297 |
"para duplicar as tabelas de páginas do pai, e para criar uma única estrutura " |
| 298 |
"de tarefas para o filho. De outra forma, nos velhos e maus dias um " |
| 299 |
"I<<fork()> requeria a cópia completa do espaço de dados do solicitante, " |
| 300 |
"freqüentemente desnecessária, desde então, normalmente, imediatamente depois " |
| 301 |
"que um I<exec>() é acabado. Assim, para alta eficiência, BSD introduziu a " |
| 302 |
"chamada de sistema B<vfork>, ela não copia o espaço de endereço " |
| 303 |
"completamente do processo pai, mas obtém emprestando a memória do pai e a " |
| 304 |
"'thread' de controle até que uma chamada para I<execve>() ou a saída " |
| 305 |
"ocorram. O processo pai foi suspendido enquanto o filho estava usando seus " |
| 306 |
"recursos. O uso de vfork era enganador, por exemplo, não modificando dados " |
| 307 |
"no processo pai dependendo de saber quais variáveis são contidas em um " |
| 308 |
"registro." |
| 309 |
|
| 310 |
#. type: SH |
| 311 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 312 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 313 |
#, no-wrap |
| 314 |
msgid "VERSIONS" |
| 315 |
msgstr "VERSÕES" |
| 316 |
|
| 317 |
#. In AIXv3.1 vfork is equivalent to fork. |
| 318 |
#. type: Plain text |
| 319 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 320 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 321 |
#, fuzzy |
| 322 |
#| msgid "" |
| 323 |
#| "The B<vfork> call may be a bit similar to calls with the same name in " |
| 324 |
#| "other operating systems. The requirements put on B<vfork> by the " |
| 325 |
#| "standards are weaker than those put on B<fork>, so an implementation " |
| 326 |
#| "where the two are synonymous is compliant. In particular, the programmer " |
| 327 |
#| "cannot rely on the parent remaining blocked until a call of I<execve()> " |
| 328 |
#| "or I<_exit()> and cannot rely on any specific behaviour w.r.t. shared " |
| 329 |
#| "memory." |
| 330 |
msgid "" |
| 331 |
"The requirements put on B<vfork>() by the standards are weaker than those " |
| 332 |
"put on B<fork>(2), so an implementation where the two are synonymous is " |
| 333 |
"compliant. In particular, the programmer cannot rely on the parent " |
| 334 |
"remaining blocked until the child either terminates or calls B<execve>(2), " |
| 335 |
"and cannot rely on any specific behavior with respect to shared memory." |
| 336 |
msgstr "" |
| 337 |
"A chamada B<vfork> pode ter um bit semelhante para chamadas que tem o mesmo " |
| 338 |
"nome em outros sistemas operacionais. As exigências colocadas no B<vfork> " |
| 339 |
"pelos padrões são mais fracas que as colocadas no B<fork>, assim uma " |
| 340 |
"implementação onde as duas são sinônimos é compatível. Em particular, o " |
| 341 |
"programador não pode confiar que o processo pai permanece bloqueado até que " |
| 342 |
"uma chamada de I<execve()> ou I<_exit()>, e não pode confiar em um " |
| 343 |
"comportamento w.r.t. específico da memória compartilhada." |
| 344 |
|
| 345 |
#. type: Plain text |
| 346 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 347 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 348 |
#, fuzzy |
| 349 |
#| msgid "" |
| 350 |
#| "It is rather unfortunate that Linux revived this spectre from the past. " |
| 351 |
#| "The BSD manpage states: \"This system call will be eliminated when proper " |
| 352 |
#| "system sharing mechanisms are implemented. Users should not depend on the " |
| 353 |
#| "memory sharing semantics of I<vfork> as it will, in that case, be made " |
| 354 |
#| "synonymous to I<fork>.\"" |
| 355 |
msgid "" |
| 356 |
"Some consider the semantics of B<vfork>() to be an architectural blemish, " |
| 357 |
"and the 4.2BSD man page stated: \\[lq]This system call will be eliminated " |
| 358 |
"when proper system sharing mechanisms are implemented. Users should not " |
| 359 |
"depend on the memory sharing semantics of I<vfork> as it will, in that case, " |
| 360 |
"be made synonymous to I<fork>.\\[rq] However, even though modern memory " |
| 361 |
"management hardware has decreased the performance difference between " |
| 362 |
"B<fork>(2) and B<vfork>(), there are various reasons why Linux and other " |
| 363 |
"systems have retained B<vfork>():" |
| 364 |
msgstr "" |
| 365 |
"É desgraça bastante que o Linux tenha reativado este espectro do passado. O " |
| 366 |
"situação na página de manual do BSD: \"A chamada de sistema será eliminada " |
| 367 |
"quando o sistema que compartilha mecanismos formais são implementados. " |
| 368 |
"Usuários não deveriam depender da semântica de compartilhamento da memória " |
| 369 |
"do I<vfork> como for, neste caso, pode ser feito um sinônimo para I<fork>.\"" |
| 370 |
|
| 371 |
#. type: IP |
| 372 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 373 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 374 |
#, no-wrap |
| 375 |
msgid "\\[bu]" |
| 376 |
msgstr "\\[bu]" |
| 377 |
|
| 378 |
#. type: Plain text |
| 379 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 380 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 381 |
msgid "" |
| 382 |
"Some performance-critical applications require the small performance " |
| 383 |
"advantage conferred by B<vfork>()." |
| 384 |
msgstr "" |
| 385 |
|
| 386 |
#. http://stackoverflow.com/questions/4259629/what-is-the-difference-between-fork-and-vfork |
| 387 |
#. http://developers.sun.com/solaris/articles/subprocess/subprocess.html |
| 388 |
#. http://mailman.uclinux.org/pipermail/uclinux-dev/2009-April/000684.html |
| 389 |
#. type: Plain text |
| 390 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 391 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 392 |
msgid "" |
| 393 |
"B<vfork>() can be implemented on systems that lack a memory-management unit " |
| 394 |
"(MMU), but B<fork>(2) can't be implemented on such systems. (POSIX.1-2008 " |
| 395 |
"removed B<vfork>() from the standard; the POSIX rationale for the " |
| 396 |
"B<posix_spawn>(3) function notes that that function, which provides " |
| 397 |
"functionality equivalent to B<fork>(2)+ B<exec>(3), is designed to be " |
| 398 |
"implementable on systems that lack an MMU.)" |
| 399 |
msgstr "" |
| 400 |
|
| 401 |
#. type: Plain text |
| 402 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 403 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 404 |
msgid "" |
| 405 |
"On systems where memory is constrained, B<vfork>() avoids the need to " |
| 406 |
"temporarily commit memory (see the description of I</proc/sys/vm/" |
| 407 |
"overcommit_memory> in B<proc>(5)) in order to execute a new program. (This " |
| 408 |
"can be especially beneficial where a large parent process wishes to execute " |
| 409 |
"a small helper program in a child process.) By contrast, using B<fork>(2) " |
| 410 |
"in this scenario requires either committing an amount of memory equal to the " |
| 411 |
"size of the parent process (if strict overcommitting is in force) or " |
| 412 |
"overcommitting memory with the risk that a process is terminated by the out-" |
| 413 |
"of-memory (OOM) killer." |
| 414 |
msgstr "" |
| 415 |
|
| 416 |
#. type: SS |
| 417 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 418 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 419 |
#, no-wrap |
| 420 |
msgid "Linux notes" |
| 421 |
msgstr "Notas sobre Linux" |
| 422 |
|
| 423 |
#. type: Plain text |
| 424 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 425 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 426 |
msgid "" |
| 427 |
"Fork handlers established using B<pthread_atfork>(3) are not called when a " |
| 428 |
"multithreaded program employing the NPTL threading library calls " |
| 429 |
"B<vfork>(). Fork handlers are called in this case in a program using the " |
| 430 |
"LinuxThreads threading library. (See B<pthreads>(7) for a description of " |
| 431 |
"Linux threading libraries.)" |
| 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 "" |
| 438 |
"A call to B<vfork>() is equivalent to calling B<clone>(2) with I<flags> " |
| 439 |
"specified as:" |
| 440 |
msgstr "" |
| 441 |
|
| 442 |
#. type: Plain text |
| 443 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 444 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 445 |
#, fuzzy, no-wrap |
| 446 |
#| msgid " CLONE_VM | CLONE_VFORK | SIGCHLD\n" |
| 447 |
msgid " CLONE_VM | CLONE_VFORK | SIGCHLD\n" |
| 448 |
msgstr " CLONE_VM | CLONE_VFORK | SIGCHLD\n" |
| 449 |
|
| 450 |
#. type: SH |
| 451 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 452 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 453 |
#, no-wrap |
| 454 |
msgid "STANDARDS" |
| 455 |
msgstr "PADRÕES" |
| 456 |
|
| 457 |
#. type: Plain text |
| 458 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 459 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 460 |
msgid "None." |
| 461 |
msgstr "" |
| 462 |
|
| 463 |
#. type: SH |
| 464 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 465 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 466 |
#, no-wrap |
| 467 |
msgid "HISTORY" |
| 468 |
msgstr "HISTÓRICO" |
| 469 |
|
| 470 |
#. type: Plain text |
| 471 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 472 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 473 |
msgid "" |
| 474 |
"4.3BSD; POSIX.1-2001 (but marked OBSOLETE). POSIX.1-2008 removes the " |
| 475 |
"specification of B<vfork>()." |
| 476 |
msgstr "" |
| 477 |
|
| 478 |
#. In the release notes for 4.2BSD Sam Leffler wrote: `vfork: Is still |
| 479 |
#. present, but definitely on its way out'. |
| 480 |
#. type: Plain text |
| 481 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 482 |
#: opensuse-tumbleweed |
| 483 |
#, fuzzy |
| 484 |
#| msgid "" |
| 485 |
#| "The I<vfork>() system call appeared in 3.0BSD. In BSD 4.4 it was made " |
| 486 |
#| "synonymous to I<fork>(), but NetBSD introduced it again, cf. http://" |
| 487 |
#| "www.netbsd.org/Documentation/kernel/vfork.html . In Linux, it has been " |
| 488 |
#| "equivalent to I<fork>() until 2.2.0-pre6 or so. Since 2.2.0-pre9 (on " |
| 489 |
#| "i386, somewhat later on other architectures) it is an independent system " |
| 490 |
#| "call. Support was added in glibc 2.0.112." |
| 491 |
msgid "" |
| 492 |
"The B<vfork>() system call appeared in 3.0BSD. In 4.4BSD it was made " |
| 493 |
"synonymous to B<fork>(2) but NetBSD introduced it again; see E<.UR http:" |
| 494 |
"\\://www.netbsd.org\\:/Documentation\\:/kernel\\:/vfork.html> E<.UE .> In " |
| 495 |
"Linux, it has been equivalent to B<fork>(2) until Linux 2.2.0-pre6 or so. " |
| 496 |
"Since Linux 2.2.0-pre9 (on i386, somewhat later on other architectures) it " |
| 497 |
"is an independent system call. Support was added in glibc 2.0.112." |
| 498 |
msgstr "" |
| 499 |
"A chamada de sistema I<vfork>() apareceu no BSD 3.0. No BSD 4.4 e foi feito " |
| 500 |
"um sinônimo para I<fork>(), mas o NetBSD a introduziu novamente, cf. http://" |
| 501 |
"www.netbsd.org/Documentation/kernel/vfork.html>. No Linux, é equivalente " |
| 502 |
"para I<fork>() até o 2.2.0-pre6 ou algo assim. Desde o 2.2.0-pre9 (em i386, " |
| 503 |
"um pouco mais tarde em outra arquiteturas) ela é independente da chamada de " |
| 504 |
"sistema. O suporte foi adicionada na glibc 2.0.112." |
| 505 |
|
| 506 |
#. type: SH |
| 507 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 508 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 509 |
#, no-wrap |
| 510 |
msgid "CAVEATS" |
| 511 |
msgstr "" |
| 512 |
|
| 513 |
#. type: Plain text |
| 514 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 515 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 516 |
msgid "" |
| 517 |
"The child process should take care not to modify the memory in unintended " |
| 518 |
"ways, since such changes will be seen by the parent process once the child " |
| 519 |
"terminates or executes another program. In this regard, signal handlers can " |
| 520 |
"be especially problematic: if a signal handler that is invoked in the child " |
| 521 |
"of B<vfork>() changes memory, those changes may result in an inconsistent " |
| 522 |
"process state from the perspective of the parent process (e.g., memory " |
| 523 |
"changes would be visible in the parent, but changes to the state of open " |
| 524 |
"file descriptors would not be visible)." |
| 525 |
msgstr "" |
| 526 |
|
| 527 |
#. type: Plain text |
| 528 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 529 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 530 |
msgid "" |
| 531 |
"When B<vfork>() is called in a multithreaded process, only the calling " |
| 532 |
"thread is suspended until the child terminates or executes a new program. " |
| 533 |
"This means that the child is sharing an address space with other running " |
| 534 |
"code. This can be dangerous if another thread in the parent process changes " |
| 535 |
"credentials (using B<setuid>(2) or similar), since there are now two " |
| 536 |
"processes with different privilege levels running in the same address " |
| 537 |
"space. As an example of the dangers, suppose that a multithreaded program " |
| 538 |
"running as root creates a child using B<vfork>(). After the B<vfork>(), a " |
| 539 |
"thread in the parent process drops the process to an unprivileged user in " |
| 540 |
"order to run some untrusted code (e.g., perhaps via plug-in opened with " |
| 541 |
"B<dlopen>(3)). In this case, attacks are possible where the parent process " |
| 542 |
"uses B<mmap>(2) to map in code that will be executed by the privileged " |
| 543 |
"child process." |
| 544 |
msgstr "" |
| 545 |
|
| 546 |
#. type: SH |
| 547 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 548 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 549 |
#, no-wrap |
| 550 |
msgid "BUGS" |
| 551 |
msgstr "BUGS" |
| 552 |
|
| 553 |
#. As far as I can tell, the following is not true in Linux 2.6.19: |
| 554 |
#. Currently (Linux 2.3.25), |
| 555 |
#. .BR strace (1) |
| 556 |
#. cannot follow |
| 557 |
#. .BR vfork () |
| 558 |
#. and requires a kernel patch. |
| 559 |
#. type: Plain text |
| 560 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 561 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 562 |
msgid "" |
| 563 |
"Details of the signal handling are obscure and differ between systems. The " |
| 564 |
"BSD man page states: \"To avoid a possible deadlock situation, processes " |
| 565 |
"that are children in the middle of a B<vfork>() are never sent B<SIGTTOU> " |
| 566 |
"or B<SIGTTIN> signals; rather, output or I<ioctl>s are allowed and input " |
| 567 |
"attempts result in an end-of-file indication.\"" |
| 568 |
msgstr "" |
| 569 |
"Detalhes da manipulação de sinais são obscuros e diferem entre sistemas. O " |
| 570 |
"situação na página de manual do BSD: \"Para vitar uma possível situação de " |
| 571 |
"paralisação completa, para processos que são filhos, no meio de um " |
| 572 |
"I<vfork>() nunca devem ser enviados sinais B<SIGTTOU> ou B<SIGTTIN>; saídas " |
| 573 |
"ou I<ioctls> são permitidas e tentativas de entradas resultarão em um " |
| 574 |
"indicação de fim de arquivo.\"" |
| 575 |
|
| 576 |
#. type: SH |
| 577 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 578 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 579 |
#, no-wrap |
| 580 |
msgid "SEE ALSO" |
| 581 |
msgstr "VEJA TAMBÉM" |
| 582 |
|
| 583 |
#. type: Plain text |
| 584 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 585 |
#: opensuse-tumbleweed |
| 586 |
#, fuzzy |
| 587 |
#| msgid "" |
| 588 |
#| "B<clone>(2), B<execve>(2), B<_exit>(2), B<fork>(2), B<unshare>(2), " |
| 589 |
#| "B<wait>(2)" |
| 590 |
msgid "" |
| 591 |
"B<clone>(2), B<execve>(2), B<_exit>(2), B<fork>(2), B<_Fork>(3), " |
| 592 |
"B<unshare>(2), B<wait>(2)" |
| 593 |
msgstr "" |
| 594 |
"B<clone>(2), B<execve>(2), B<_exit>(2), B<fork>(2), B<unshare>(2), B<wait>(2)" |
| 595 |
|
| 596 |
#. type: TH |
| 597 |
#: debian-trixie |
| 598 |
#, no-wrap |
| 599 |
msgid "2024-05-02" |
| 600 |
msgstr "2 maio 2024" |
| 601 |
|
| 602 |
#. type: TH |
| 603 |
#: debian-trixie |
| 604 |
#, no-wrap |
| 605 |
msgid "Linux man-pages 6.9.1" |
| 606 |
msgstr "Linux man-pages 6.9.1" |
| 607 |
|
| 608 |
#. type: Plain text |
| 609 |
#: debian-trixie |
| 610 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 611 |
msgstr "Biblioteca C Padrão (I<libc>, I<-lc>)" |
| 612 |
|
| 613 |
#. In the release notes for 4.2BSD Sam Leffler wrote: `vfork: Is still |
| 614 |
#. present, but definitely on its way out'. |
| 615 |
#. type: Plain text |
| 616 |
#: debian-trixie fedora-44 fedora-rawhide |
| 617 |
#, fuzzy |
| 618 |
#| msgid "" |
| 619 |
#| "The I<vfork>() system call appeared in 3.0BSD. In BSD 4.4 it was made " |
| 620 |
#| "synonymous to I<fork>(), but NetBSD introduced it again, cf. http://" |
| 621 |
#| "www.netbsd.org/Documentation/kernel/vfork.html . In Linux, it has been " |
| 622 |
#| "equivalent to I<fork>() until 2.2.0-pre6 or so. Since 2.2.0-pre9 (on " |
| 623 |
#| "i386, somewhat later on other architectures) it is an independent system " |
| 624 |
#| "call. Support was added in glibc 2.0.112." |
| 625 |
msgid "" |
| 626 |
"The B<vfork>() system call appeared in 3.0BSD. In 4.4BSD it was made " |
| 627 |
"synonymous to B<fork>(2) but NetBSD introduced it again; see E<.UR http://" |
| 628 |
"www.netbsd.org\\:/Documentation\\:/kernel\\:/vfork.html> E<.UE .> In Linux, " |
| 629 |
"it has been equivalent to B<fork>(2) until Linux 2.2.0-pre6 or so. Since " |
| 630 |
"Linux 2.2.0-pre9 (on i386, somewhat later on other architectures) it is an " |
| 631 |
"independent system call. Support was added in glibc 2.0.112." |
| 632 |
msgstr "" |
| 633 |
"A chamada de sistema I<vfork>() apareceu no BSD 3.0. No BSD 4.4 e foi feito " |
| 634 |
"um sinônimo para I<fork>(), mas o NetBSD a introduziu novamente, cf. http://" |
| 635 |
"www.netbsd.org/Documentation/kernel/vfork.html>. No Linux, é equivalente " |
| 636 |
"para I<fork>() até o 2.2.0-pre6 ou algo assim. Desde o 2.2.0-pre9 (em i386, " |
| 637 |
"um pouco mais tarde em outra arquiteturas) ela é independente da chamada de " |
| 638 |
"sistema. O suporte foi adicionada na glibc 2.0.112." |
| 639 |
|
| 640 |
#. type: Plain text |
| 641 |
#: debian-trixie fedora-44 fedora-rawhide |
| 642 |
msgid "" |
| 643 |
"B<clone>(2), B<execve>(2), B<_exit>(2), B<fork>(2), B<unshare>(2), B<wait>(2)" |
| 644 |
msgstr "" |
| 645 |
"B<clone>(2), B<execve>(2), B<_exit>(2), B<fork>(2), B<unshare>(2), B<wait>(2)" |
| 646 |
|
| 647 |
#. type: TH |
| 648 |
#: fedora-44 fedora-rawhide |
| 649 |
#, no-wrap |
| 650 |
msgid "2024-07-23" |
| 651 |
msgstr "23 julho 2024" |
| 652 |
|
| 653 |
#. type: TH |
| 654 |
#: fedora-44 fedora-rawhide |
| 655 |
#, no-wrap |
| 656 |
msgid "Linux man-pages 6.13" |
| 657 |
msgstr "Linux man-pages 6.13" |
| 658 |
|
| 659 |
#. type: TH |
| 660 |
#: mageia-cauldron |
| 661 |
#, no-wrap |
| 662 |
msgid "Linux man-pages 6.17" |
| 663 |
msgstr "Linux man-pages 6.17" |
| 664 |
|
| 665 |
#. type: TH |
| 666 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 667 |
#, no-wrap |
| 668 |
msgid "Linux man-pages (unreleased)" |
| 669 |
msgstr "Linux man-pages (não lançado)" |