Debian Codegraph @

po/pt_BR/man2/mremap.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:32+0200\n"
10 "PO-Revision-Date: 2001-06-02 19:20-0300\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: 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 "mremap"
26 msgstr "mremap"
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 "mremap - remap a virtual memory address"
53 msgstr "mremap - remapeamento de um endereço de memória virtual"
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 ""
80 "B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n"
81 "B<#include E<lt>sys/mman.hE<gt>>\n"
82 msgstr ""
83 "B<#define _GNU_SOURCE> /* Veja feature_test_macros(7) */\n"
84 "B<#include E<lt>sys/mman.hE<gt>>\n"
85
86 #. type: Plain text
87 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
88 #: opensuse-tumbleweed
89 #, fuzzy, no-wrap
90 #| msgid ""
91 #| "B<void *mremap(void *>I<old_address>B<, size_t >I<old_size>B<,>\n"
92 #| "B< size_t >I<new_size>B<, int >I<flags>B<, ... /* void *>I<new_address>B< */);>\n"
93 msgid ""
94 "B<void *mremap(>size_t old_size;\n"
95 "B< void >I<old_address>B<[>I<old_size>B<], size_t >I<old_size>B<,>\n"
96 "B< size_t >I<new_size>B<, int >I<flags>B<, ... /* void *>I<new_address>B< */);>\n"
97 msgstr ""
98 "B<void *mremap(void *>I<old_address>B<, size_t >I<old_size>B<,>\n"
99 "B< size_t >I<new_size>B<, int >I<flags>B<, ... /* void *>I<new_address>B< */);>\n"
100
101 #. type: SH
102 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
103 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
104 #, no-wrap
105 msgid "DESCRIPTION"
106 msgstr "DESCRIÇÃO"
107
108 #. type: Plain text
109 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
110 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
111 msgid ""
112 "B<mremap>() expands (or shrinks) an existing memory mapping, potentially "
113 "moving it at the same time (controlled by the I<flags> argument and the "
114 "available virtual address space)."
115 msgstr ""
116 "B<mremap>() aumenta (ou diminui) um mapeamento de memória existente, "
117 "potencialmente movendo-a ao mesmo tempo (controlada pelo argumento I<flags> "
118 "e a disponibilidade de espaço de endereços virtuais)."
119
120 #. type: Plain text
121 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
122 #: opensuse-tumbleweed
123 msgid ""
124 "Mappings can also simply be moved (without any resizing) by specifying "
125 "equal I<old_size> and I<new_size> and using the B<MREMAP_FIXED> flag (see "
126 "below). Since Linux 6.17, while I<old_address> must be mapped, I<old_size> "
127 "may span multiple mappings including unmapped areas between them when "
128 "performing a simple move. The B<MREMAP_DONTUNMAP> flag may also be "
129 "specified."
130 msgstr ""
131
132 #. type: Plain text
133 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
134 #: opensuse-tumbleweed
135 msgid ""
136 "Similarly, if the operation performs a shrink, that is, if I<old_size> is "
137 "greater than I<new_size>, then I<old_size> may also span multiple mappings, "
138 "which do not have to be adjacent to one another. If this shrink is "
139 "performed in-place, that is, neither B<MREMAP_FIXED>, nor "
140 "B<MREMAP_DONTUNMAP> are specified, I<new_size> may also span multiple VMAs. "
141 "However, if the range is moved, then I<new_size> must span only a single "
142 "mapping."
143 msgstr ""
144
145 #. type: Plain text
146 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
147 #: opensuse-tumbleweed
148 msgid ""
149 "If the operation is neither a B<MREMAP_FIXED> move nor a shrink, then "
150 "I<old_size> must span only a single mapping."
151 msgstr ""
152
153 #. type: Plain text
154 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
155 #: opensuse-tumbleweed
156 #, fuzzy
157 #| msgid ""
158 #| "I<old_address> is the old address of the virtual memory block that you "
159 #| "want to expand (or shrink). Note that I<old_address> has to be page "
160 #| "aligned. I<old_size> is the old size of the virtual memory block. "
161 #| "I<new_size> is the requested size of the virtual memory block after the "
162 #| "resize."
163 msgid ""
164 "I<old_address> is the old address of the first virtual memory block that you "
165 "want to expand, shrink, and/or move. Note that I<old_address> has to be "
166 "page aligned. I<old_size> is the size of the range containing virtual "
167 "memory blocks to be manipulated. I<new_size> is the requested size of the "
168 "virtual memory blocks after the resize. An optional fifth argument, "
169 "I<new_address>, may be provided; see the description of B<MREMAP_FIXED> "
170 "below."
171 msgstr ""
172 "I<old_address> é o antigo endereço do bloco de memória virtual que você "
173 "deseja aumentar (ou diminuir). Note que I<old_address> tem que ser a página "
174 "à ser alinhada. I<old_size> é o antigo tamanho do bloco de memória virtual. "
175 "I<new_size> é o tamanho requisitado para o bloco de memória virtual depois "
176 "do redimensionamento."
177
178 #. type: Plain text
179 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
180 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
181 msgid ""
182 "If the value of I<old_size> is zero, and I<old_address> refers to a "
183 "shareable mapping (see the description of B<MAP_SHARED> in B<mmap>(2)), then "
184 "B<mremap>() will create a new mapping of the same pages. I<new_size> will "
185 "be the size of the new mapping and the location of the new mapping may be "
186 "specified with I<new_address>; see the description of B<MREMAP_FIXED> "
187 "below. If a new mapping is requested via this method, then the "
188 "B<MREMAP_MAYMOVE> flag must also be specified."
189 msgstr ""
190
191 #. type: Plain text
192 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
193 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
194 #, fuzzy
195 #| msgid "The I<flags> argument is a bitmap of flags."
196 msgid ""
197 "The I<flags> bit-mask argument may be 0, or include the following flags:"
198 msgstr "O argumento I<flags> é um mapa de bits de sinalização."
199
200 #. type: TP
201 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
202 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
203 #, no-wrap
204 msgid "B<MREMAP_MAYMOVE>"
205 msgstr "B<MREMAP_MAYMOVE>"
206
207 #. type: Plain text
208 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
209 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
210 msgid ""
211 "By default, if there is not sufficient space to expand a mapping at its "
212 "current location, then B<mremap>() fails. If this flag is specified, then "
213 "the kernel is permitted to relocate the mapping to a new virtual address, if "
214 "necessary. If the mapping is relocated, then absolute pointers into the old "
215 "mapping location become invalid (offsets relative to the starting address of "
216 "the mapping should be employed)."
217 msgstr ""
218
219 #. type: TP
220 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
221 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
222 #, no-wrap
223 msgid "B<MREMAP_FIXED> (since Linux 2.3.31)"
224 msgstr ""
225
226 #. type: Plain text
227 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
228 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
229 msgid ""
230 "This flag serves a similar purpose to the B<MAP_FIXED> flag of B<mmap>(2). "
231 "If this flag is specified, then B<mremap>() accepts a fifth argument, "
232 "I<void\\ *new_address>, which specifies a page-aligned address to which the "
233 "mapping must be moved. Any previous mapping at the address range specified "
234 "by I<new_address> and I<new_size> is unmapped."
235 msgstr ""
236
237 #. type: Plain text
238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
240 msgid ""
241 "If B<MREMAP_FIXED> is specified, then B<MREMAP_MAYMOVE> must also be "
242 "specified."
243 msgstr ""
244
245 #. type: Plain text
246 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
247 #: opensuse-tumbleweed
248 msgid ""
249 "Since Linux 6.17, if I<old_size> is equal to I<new_size> and B<MREMAP_FIXED> "
250 "is specified, then I<old_size> may span beyond the mapping in which "
251 "I<old_address> resides. In this case, gaps between mappings in the original "
252 "range are maintained in the new range. The whole operation is performed "
253 "atomically unless an error arises, in which case the operation may be "
254 "partially completed, that is, some mappings may be moved and others not."
255 msgstr ""
256
257 #. type: Plain text
258 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
259 #: opensuse-tumbleweed
260 msgid ""
261 "Moving multiple mappings is not permitted if any of those mappings have "
262 "either been registered with B<userfaultfd>(2), or map drivers that specify "
263 "their own custom address mapping logic."
264 msgstr ""
265
266 #. type: TP
267 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
268 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
269 #, no-wrap
270 msgid "B<MREMAP_DONTUNMAP> (since Linux 5.7)"
271 msgstr ""
272
273 #. commit e346b3813067d4b17383f975f197a9aa28a3b077
274 #. type: Plain text
275 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
276 #: opensuse-tumbleweed
277 msgid ""
278 "This flag, which must be used in conjunction with B<MREMAP_MAYMOVE>, remaps "
279 "mappings to a new address but does not unmap them from their original "
280 "address."
281 msgstr ""
282
283 #. type: Plain text
284 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
285 #: opensuse-tumbleweed
286 msgid ""
287 "The B<MREMAP_DONTUNMAP> flag can be used only with mappings that are not "
288 "B<VM_DONTEXPAND> or B<VM_PFNMAP>. Before Linux 5.13, the "
289 "B<MREMAP_DONTUNMAP> flag could be used only with private anonymous mappings "
290 "(see the description of B<MAP_PRIVATE> and B<MAP_ANONYMOUS> in B<mmap>(2))."
291 msgstr ""
292
293 #. type: Plain text
294 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
295 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
296 msgid ""
297 "After completion, any access to the range specified by I<old_address> and "
298 "I<old_size> will result in a page fault. The page fault will be handled by "
299 "a B<userfaultfd>(2) handler if the address is in a range previously "
300 "registered with B<userfaultfd>(2). Otherwise, the kernel allocates a zero-"
301 "filled page to handle the fault."
302 msgstr ""
303
304 #. type: Plain text
305 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
306 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
307 msgid ""
308 "The B<MREMAP_DONTUNMAP> flag may be used to atomically move a mapping while "
309 "leaving the source mapped. See NOTES for some possible applications of "
310 "B<MREMAP_DONTUNMAP>."
311 msgstr ""
312
313 #. type: Plain text
314 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
315 #: opensuse-tumbleweed
316 msgid ""
317 "If the memory segments specified by I<old_address> and I<old_size> are "
318 "locked (using B<mlock>(2) or similar), then this lock is maintained when "
319 "the segments are resized and/or relocated. As a consequence, the amount of "
320 "memory locked by the process may change."
321 msgstr ""
322
323 #. type: SH
324 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
325 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
326 #, no-wrap
327 msgid "RETURN VALUE"
328 msgstr "VALOR DE RETORNO"
329
330 #. type: Plain text
331 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
332 #: opensuse-tumbleweed
333 #, fuzzy
334 #| msgid ""
335 #| "On success B<mremap> returns a pointer to the new virtual memory area. "
336 #| "On error, -1 is returned, and I<errno> is set appropriately."
337 msgid ""
338 "On success B<mremap>() returns a pointer to the new virtual memory area. "
339 "On error, the value B<MAP_FAILED> (that is, I<(void\\ *)\\ -1>) is "
340 "returned, and I<errno> is set to indicate the error."
341 msgstr ""
342 "Em caso de sucesso B<mremap> devolve um ponteiro para a nova área da memória "
343 "virtual. Caso contrário, -1 é devolvido e I<errno> é selecionado "
344 "adequadamente."
345
346 #. type: SH
347 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
348 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
349 #, no-wrap
350 msgid "ERRORS"
351 msgstr "ERROS"
352
353 #. type: TP
354 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
355 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
356 #, no-wrap
357 msgid "B<EAGAIN>"
358 msgstr "B<EAGAIN>"
359
360 #. type: Plain text
361 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
362 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
363 msgid ""
364 "The caller tried to expand a memory segment that is locked, but this was not "
365 "possible without exceeding the B<RLIMIT_MEMLOCK> resource limit."
366 msgstr ""
367
368 #. type: TP
369 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
370 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
371 #, no-wrap
372 msgid "B<EFAULT>"
373 msgstr "B<EFAULT>"
374
375 #. type: Plain text
376 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
377 #: opensuse-tumbleweed
378 #, fuzzy
379 #| msgid ""
380 #| "Some address in the range I<old_address> to I<old_address>+I<old_size> is "
381 #| "an invalid virtual memory address for this process. You can also get "
382 #| "B<EFAULT> even if there exist mappings that cover the whole address space "
383 #| "requested, but those mappings are of different types."
384 msgid ""
385 "Some address in the range I<old_address> to I<old_address>+I<old_size> is an "
386 "invalid virtual memory address for this process. You can also get B<EFAULT> "
387 "even if there exist mappings that cover the whole address space requested, "
388 "but those mappings are of different types, and the B<mremap>() operation "
389 "being performed does not support this."
390 msgstr ""
391 "Alguns endereços no intervalo entre I<old_address> e "
392 "I<old_address>+I<old_size> são endereços inválidos de memória virtual para "
393 "este processo. Você pode também obter B<EFAULT> até mesmo se lá existe "
394 "mapeamentos que cubram o buraco do espaço de endereços requisitado, mas "
395 "estes mapeamentos são de tipos diferentes."
396
397 #. type: TP
398 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
399 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
400 #, no-wrap
401 msgid "B<EINVAL>"
402 msgstr "B<EINVAL>"
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 #, fuzzy
408 #| msgid ""
409 #| "An invalid argument was given. Most likely I<old_address> was not page "
410 #| "aligned."
411 msgid "An invalid argument was given. Possible causes are:"
412 msgstr ""
413 "Um argumento inválido foi fornecido. Provavelmente I<old_address> não é uma "
414 "página alinhada."
415
416 #. type: IP
417 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
418 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
419 #, no-wrap
420 msgid "\\[bu]"
421 msgstr "\\[bu]"
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 "I<old_address> was not page aligned;"
427 msgstr "I<old_address> não é uma página alinhada."
428
429 #. type: Plain text
430 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
431 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
432 msgid ""
433 "a value other than B<MREMAP_MAYMOVE> or B<MREMAP_FIXED> or "
434 "B<MREMAP_DONTUNMAP> was specified in I<flags>;"
435 msgstr ""
436
437 #. type: Plain text
438 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
439 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
440 msgid "I<new_size> was zero;"
441 msgstr ""
442
443 #. type: Plain text
444 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
445 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
446 msgid "I<new_size> or I<new_address> was invalid;"
447 msgstr ""
448
449 #. type: Plain text
450 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
451 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
452 msgid ""
453 "the new address range specified by I<new_address> and I<new_size> overlapped "
454 "the old address range specified by I<old_address> and I<old_size>;"
455 msgstr ""
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 ""
461 "B<MREMAP_FIXED> or B<MREMAP_DONTUNMAP> was specified without also specifying "
462 "B<MREMAP_MAYMOVE>;"
463 msgstr ""
464
465 #. type: Plain text
466 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
467 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
468 msgid ""
469 "B<MREMAP_DONTUNMAP> was specified, but one or more pages in the range "
470 "specified by I<old_address> and I<old_size> were not private anonymous;"
471 msgstr ""
472
473 #. type: Plain text
474 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
475 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
476 msgid ""
477 "B<MREMAP_DONTUNMAP> was specified and I<old_size> was not equal to "
478 "I<new_size>;"
479 msgstr ""
480
481 #. type: Plain text
482 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
483 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
484 msgid ""
485 "I<old_size> was zero and I<old_address> does not refer to a shareable "
486 "mapping (but see BUGS);"
487 msgstr ""
488
489 #. type: Plain text
490 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
491 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
492 msgid "I<old_size> was zero and the B<MREMAP_MAYMOVE> flag was not specified."
493 msgstr ""
494
495 #. type: TP
496 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
497 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
498 #, no-wrap
499 msgid "B<ENOMEM>"
500 msgstr "B<ENOMEM>"
501
502 #. type: Plain text
503 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
504 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
505 msgid ""
506 "Not enough memory was available to complete the operation. Possible causes "
507 "are:"
508 msgstr ""
509
510 #. type: Plain text
511 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
512 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
513 msgid ""
514 "The memory area cannot be expanded at the current virtual address, and the "
515 "B<MREMAP_MAYMOVE> flag is not set in I<flags>. Or, there is not enough "
516 "(virtual) memory available."
517 msgstr ""
518 "A área da memória foi aumentada no endereço virtual atual, e o sinalizador "
519 "B<MREMAP_MAYMOVE> não está selecionado em I<flags>. Ou, não há bastante "
520 "memória (virtual) disponível."
521
522 #. type: Plain text
523 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
524 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
525 msgid ""
526 "B<MREMAP_DONTUNMAP> was used causing a new mapping to be created that would "
527 "exceed the (virtual) memory available. Or, it would exceed the maximum "
528 "number of allowed mappings."
529 msgstr ""
530
531 #. type: SH
532 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
533 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
534 #, no-wrap
535 msgid "STANDARDS"
536 msgstr "PADRÕES"
537
538 #. type: Plain text
539 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
540 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
541 msgid "Linux."
542 msgstr "Linux."
543
544 #. type: SH
545 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
546 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
547 #, no-wrap
548 msgid "HISTORY"
549 msgstr "HISTÓRICO"
550
551 #. 4.2BSD had a (never actually implemented)
552 #. .BR mremap (2)
553 #. call with completely different semantics.
554 #. .P
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 "Prior to glibc 2.4, glibc did not expose the definition of B<MREMAP_FIXED>, "
560 "and the prototype for B<mremap>() did not allow for the I<new_address> "
561 "argument."
562 msgstr ""
563
564 #. type: SH
565 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
566 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
567 #, no-wrap
568 msgid "NOTES"
569 msgstr "NOTAS"
570
571 #. type: Plain text
572 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
573 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
574 msgid ""
575 "B<mremap>() changes the mapping between virtual addresses and memory "
576 "pages. This can be used to implement a very efficient B<realloc>(3)."
577 msgstr ""
578 "B<mremap>() alterar o mapeamento entre endereços virtuais e páginas de "
579 "memória. Isto pode ser usado para implementar um B<realloc>(3) muito "
580 "eficiente."
581
582 #. type: Plain text
583 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
584 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
585 #, fuzzy
586 #| msgid ""
587 #| "In Linux the memory is divided into pages. A user process has (one or) "
588 #| "several linear virtual memory segments. Each virtual memory segment has "
589 #| "one or more mappings to real memory pages (in the page table). Each "
590 #| "virtual memory segment has its own protection (access rights), which may "
591 #| "cause a segmentation violation if the memory is accessed incorrectly "
592 #| "(e.g., writing to a read-only segment). Accessing virtual memory outside "
593 #| "of the segments will also cause a segmentation violation."
594 msgid ""
595 "In Linux, memory is divided into pages. A process has (one or) several "
596 "linear virtual memory segments. Each virtual memory segment has one or more "
597 "mappings to real memory pages (in the page table). Each virtual memory "
598 "segment has its own protection (access rights), which may cause a "
599 "segmentation violation (B<SIGSEGV>) if the memory is accessed incorrectly "
600 "(e.g., writing to a read-only segment). Accessing virtual memory outside of "
601 "the segments will also cause a segmentation violation."
602 msgstr ""
603 "No Linux a memória é dividida em páginas. Um processo de usuário tem (um ou) "
604 "vários segmentos de memória virtual lineares. Cada segmento tem um ou mais "
605 "mapeamentos para páginas de memória real (na tabela de páginas). Cada "
606 "segmento tem sua própria proteção (direito de acesso), que pode provocar uma "
607 "violação de segmentação se a memória é acessada incorretamente (por exemplo, "
608 "escrever para um segmento apenas de leitura). Acessar memória virtual fora "
609 "do segmento também provocará uma violação de segmentação."
610
611 #. type: Plain text
612 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
613 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
614 msgid ""
615 "If B<mremap>() is used to move or expand an area locked with B<mlock>(2) "
616 "or equivalent, the B<mremap>() call will make a best effort to populate the "
617 "new area but will not fail with B<ENOMEM> if the area cannot be populated."
618 msgstr ""
619
620 #. type: SS
621 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
622 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
623 #, no-wrap
624 msgid "MREMAP_DONTUNMAP use cases"
625 msgstr ""
626
627 #. type: Plain text
628 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
629 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
630 msgid "Possible applications for B<MREMAP_DONTUNMAP> include:"
631 msgstr ""
632
633 #. type: Plain text
634 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
635 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
636 msgid ""
637 "Non-cooperative B<userfaultfd>(2): an application can yank out a virtual "
638 "address range using B<MREMAP_DONTUNMAP> and then employ a B<userfaultfd>(2) "
639 "handler to handle the page faults that subsequently occur as other threads "
640 "in the process touch pages in the yanked range."
641 msgstr ""
642
643 #. type: Plain text
644 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
645 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
646 msgid ""
647 "Garbage collection: B<MREMAP_DONTUNMAP> can be used in conjunction with "
648 "B<userfaultfd>(2) to implement garbage collection algorithms (e.g., in a "
649 "Java virtual machine). Such an implementation can be cheaper (and simpler) "
650 "than conventional garbage collection techniques that involve marking pages "
651 "with protection B<PROT_NONE> in conjunction with the use of a B<SIGSEGV> "
652 "handler to catch accesses to those pages."
653 msgstr ""
654
655 #. type: SH
656 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
657 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
658 #, no-wrap
659 msgid "BUGS"
660 msgstr "BUGS"
661
662 #. commit dba58d3b8c5045ad89c1c95d33d01451e3964db7
663 #. type: Plain text
664 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
665 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
666 msgid ""
667 "Before Linux 4.14, if I<old_size> was zero and the mapping referred to by "
668 "I<old_address> was a private mapping (see the description of B<MAP_PRIVATE> "
669 "in B<mmap>(2)), B<mremap>() created a new private mapping unrelated to the "
670 "original mapping. This behavior was unintended and probably unexpected in "
671 "user-space applications (since the intention of B<mremap>() is to create a "
672 "new mapping based on the original mapping). Since Linux 4.14, B<mremap>() "
673 "fails with the error B<EINVAL> in this scenario."
674 msgstr ""
675
676 #. type: SH
677 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
678 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
679 #, no-wrap
680 msgid "SEE ALSO"
681 msgstr "VEJA TAMBÉM"
682
683 #. type: Plain text
684 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
685 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
686 msgid ""
687 "B<brk>(2), B<getpagesize>(2), B<getrlimit>(2), B<mlock>(2), B<mmap>(2), "
688 "B<sbrk>(2), B<malloc>(3), B<realloc>(3)"
689 msgstr ""
690 "B<brk>(2), B<getpagesize>(2), B<getrlimit>(2), B<mlock>(2), B<mmap>(2), "
691 "B<sbrk>(2), B<malloc>(3), B<realloc>(3)"
692
693 #. type: Plain text
694 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
695 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
696 #, fuzzy
697 #| msgid ""
698 #| "Your favorite OS text book for more information on paged memory. "
699 #| "(I<Modern Operating Systems> by Andrew S. Tannenbaum, I<Inside Linux> by "
700 #| "Randolf Bentson, I<The Design of the UNIX Operating System> by Maurice J. "
701 #| "Bach.)"
702 msgid ""
703 "Your favorite text book on operating systems for more information on paged "
704 "memory (e.g., I<Modern Operating Systems> by Andrew S.\\& Tanenbaum, "
705 "I<Inside Linux> by Randolph Bentson, I<The Design of the UNIX Operating "
706 "System> by Maurice J.\\& Bach)"
707 msgstr ""
708 "O livro texto do seu OS favorito para mais informações sobre memória "
709 "paginada. (I<Modern Operating Systems> por Andrew S. Tannenbaum, I<Inside "
710 "Linux> por Randolf Bentson, I<The Design of the UNIX Operating System> por "
711 "Maurice J. Bach.)"
712
713 #. type: TH
714 #: debian-trixie
715 #, no-wrap
716 msgid "2024-05-02"
717 msgstr "2 maio 2024"
718
719 #. type: TH
720 #: debian-trixie
721 #, no-wrap
722 msgid "Linux man-pages 6.9.1"
723 msgstr "Linux man-pages 6.9.1"
724
725 #. type: Plain text
726 #: debian-trixie
727 msgid "Standard C library (I<libc>, I<-lc>)"
728 msgstr "Biblioteca C Padrão (I<libc>, I<-lc>)"
729
730 #. type: Plain text
731 #: debian-trixie fedora-44 fedora-rawhide
732 #, fuzzy, no-wrap
733 #| msgid ""
734 #| "B<void *mremap(void *>I<old_address>B<, size_t >I<old_size>B<,>\n"
735 #| "B< size_t >I<new_size>B<, int >I<flags>B<, ... /* void *>I<new_address>B< */);>\n"
736 msgid ""
737 "B<void *mremap(void >I<old_address>B<[.>I<old_size>B<], size_t >I<old_size>B<,>\n"
738 "B< size_t >I<new_size>B<, int >I<flags>B<, ... /* void *>I<new_address>B< */);>\n"
739 msgstr ""
740 "B<void *mremap(void *>I<old_address>B<, size_t >I<old_size>B<,>\n"
741 "B< size_t >I<new_size>B<, int >I<flags>B<, ... /* void *>I<new_address>B< */);>\n"
742
743 #. type: Plain text
744 #: debian-trixie fedora-44 fedora-rawhide
745 #, fuzzy
746 #| msgid ""
747 #| "I<old_address> is the old address of the virtual memory block that you "
748 #| "want to expand (or shrink). Note that I<old_address> has to be page "
749 #| "aligned. I<old_size> is the old size of the virtual memory block. "
750 #| "I<new_size> is the requested size of the virtual memory block after the "
751 #| "resize."
752 msgid ""
753 "I<old_address> is the old address of the virtual memory block that you want "
754 "to expand (or shrink). Note that I<old_address> has to be page aligned. "
755 "I<old_size> is the old size of the virtual memory block. I<new_size> is the "
756 "requested size of the virtual memory block after the resize. An optional "
757 "fifth argument, I<new_address>, may be provided; see the description of "
758 "B<MREMAP_FIXED> below."
759 msgstr ""
760 "I<old_address> é o antigo endereço do bloco de memória virtual que você "
761 "deseja aumentar (ou diminuir). Note que I<old_address> tem que ser a página "
762 "à ser alinhada. I<old_size> é o antigo tamanho do bloco de memória virtual. "
763 "I<new_size> é o tamanho requisitado para o bloco de memória virtual depois "
764 "do redimensionamento."
765
766 #. commit e346b3813067d4b17383f975f197a9aa28a3b077
767 #. type: Plain text
768 #: debian-trixie fedora-44 fedora-rawhide
769 msgid ""
770 "This flag, which must be used in conjunction with B<MREMAP_MAYMOVE>, remaps "
771 "a mapping to a new address but does not unmap the mapping at I<old_address>."
772 msgstr ""
773
774 #. type: Plain text
775 #: debian-trixie
776 msgid ""
777 "The B<MREMAP_DONTUNMAP> flag can be used only with private anonymous "
778 "mappings (see the description of B<MAP_PRIVATE> and B<MAP_ANONYMOUS> in "
779 "B<mmap>(2))."
780 msgstr ""
781
782 #. type: Plain text
783 #: debian-trixie fedora-44 fedora-rawhide
784 msgid ""
785 "If the memory segment specified by I<old_address> and I<old_size> is locked "
786 "(using B<mlock>(2) or similar), then this lock is maintained when the "
787 "segment is resized and/or relocated. As a consequence, the amount of memory "
788 "locked by the process may change."
789 msgstr ""
790
791 #. type: Plain text
792 #: debian-trixie fedora-44 fedora-rawhide
793 #, fuzzy
794 #| msgid ""
795 #| "On success B<mremap> returns a pointer to the new virtual memory area. "
796 #| "On error, -1 is returned, and I<errno> is set appropriately."
797 msgid ""
798 "On success B<mremap>() returns a pointer to the new virtual memory area. "
799 "On error, the value B<MAP_FAILED> (that is, I<(void\\ *)\\ -1>) is returned, "
800 "and I<errno> is set to indicate the error."
801 msgstr ""
802 "Em caso de sucesso B<mremap> devolve um ponteiro para a nova área da memória "
803 "virtual. Caso contrário, -1 é devolvido e I<errno> é selecionado "
804 "adequadamente."
805
806 #. type: Plain text
807 #: debian-trixie fedora-44 fedora-rawhide
808 msgid ""
809 "Some address in the range I<old_address> to I<old_address>+I<old_size> is an "
810 "invalid virtual memory address for this process. You can also get B<EFAULT> "
811 "even if there exist mappings that cover the whole address space requested, "
812 "but those mappings are of different types."
813 msgstr ""
814 "Alguns endereços no intervalo entre I<old_address> e "
815 "I<old_address>+I<old_size> são endereços inválidos de memória virtual para "
816 "este processo. Você pode também obter B<EFAULT> até mesmo se lá existe "
817 "mapeamentos que cubram o buraco do espaço de endereços requisitado, mas "
818 "estes mapeamentos são de tipos diferentes."
819
820 #. type: TH
821 #: fedora-44 fedora-rawhide
822 #, no-wrap
823 msgid "2024-11-13"
824 msgstr "13 novembro 2024"
825
826 #. type: TH
827 #: fedora-44 fedora-rawhide
828 #, no-wrap
829 msgid "Linux man-pages 6.13"
830 msgstr "Linux man-pages 6.13"
831
832 #. type: Plain text
833 #: fedora-44 fedora-rawhide
834 msgid ""
835 "The B<MREMAP_DONTUNMAP> flag can be used only with mappings that are not "
836 "B<VM_DONTEXPAND> or B<VM_MIXEDMAP>. Before Linux 5.13, the "
837 "B<MREMAP_DONTUNMAP> flag could be used only with private anonymous mappings "
838 "(see the description of B<MAP_PRIVATE> and B<MAP_ANONYMOUS> in B<mmap>(2))."
839 msgstr ""
840
841 #. type: TH
842 #: mageia-cauldron
843 #, no-wrap
844 msgid "Linux man-pages 6.17"
845 msgstr "Linux man-pages 6.17"
846
847 #. type: TH
848 #: opensuse-leap-16-1 opensuse-tumbleweed
849 #, no-wrap
850 msgid "Linux man-pages (unreleased)"
851 msgstr "Linux man-pages (não lançado)"