Debian Codegraph @

po/pt_BR/man2/modify_ldt.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]>, 2000.
5 # Ademar de Souza Reis Jr. <[email protected]>, 2000.
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: manpages-l10n\n"
9 "POT-Creation-Date: 2026-06-05 06:31+0200\n"
10 "PO-Revision-Date: 2000-06-02 19:20-0300\n"
11 "Last-Translator: Ademar de Souza Reis Jr. <[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 "modify_ldt"
26 msgstr "modify_ldt"
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 #, fuzzy
53 #| msgid "modify_ldt - get or set ldt"
54 msgid "modify_ldt - get or set a per-process LDT entry"
55 msgstr "modify_ldt - obtém ou seleciona ldt"
56
57 #. type: SH
58 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
59 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
60 #, no-wrap
61 msgid "LIBRARY"
62 msgstr "BIBLIOTECA"
63
64 #. type: Plain text
65 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
66 #: opensuse-leap-16-1 opensuse-tumbleweed
67 msgid "Standard C library (I<libc>,\\ I<-lc>)"
68 msgstr "Biblioteca C Padrão (I<libc>,\\ I<-lc>)"
69
70 #. type: SH
71 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
72 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
73 #, no-wrap
74 msgid "SYNOPSIS"
75 msgstr "SINOPSE"
76
77 #. type: Plain text
78 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
79 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
80 #, no-wrap
81 msgid ""
82 "B<#include E<lt>asm/ldt.hE<gt>> /* Definition of B<struct user_desc> */\n"
83 "B<#include E<lt>sys/syscall.hE<gt>> /* Definition of B<SYS_*> constants */\n"
84 "B<#include E<lt>unistd.hE<gt>>\n"
85 msgstr ""
86
87 #. type: Plain text
88 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
89 #: opensuse-tumbleweed
90 #, fuzzy, no-wrap
91 #| msgid "B<int modify_ldt(int >I<func>B<, void *>I<ptr>B<, unsigned long >I<bytecount>B<);>\n"
92 msgid ""
93 "B<int syscall(>unsigned long bytecount;\n"
94 "B< SYS_modify_ldt, int >I<func>B<, void >I<ptr>B<[>I<bytecount>B<],>\n"
95 "B< unsigned long >I<bytecount>B<);>\n"
96 msgstr "B<int modify_ldt(int >I<func>B<, void *>I<ptr>B<, unsigned long >I<bytecount>B<);>\n"
97
98 #. type: Plain text
99 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
100 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
101 msgid ""
102 "I<Note>: glibc provides no wrapper for B<modify_ldt>(), necessitating the "
103 "use of B<syscall>(2)."
104 msgstr ""
105
106 #. type: SH
107 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
108 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
109 #, no-wrap
110 msgid "DESCRIPTION"
111 msgstr "DESCRIÇÃO"
112
113 #. type: Plain text
114 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
115 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
116 msgid ""
117 "B<modify_ldt>() reads or writes the local descriptor table (LDT) for a "
118 "process. The LDT is an array of segment descriptors that can be referenced "
119 "by user code. Linux allows processes to configure a per-process (actually "
120 "per-mm) LDT. For more information about the LDT, see the Intel Software "
121 "Developer's Manual or the AMD Architecture Programming Manual."
122 msgstr ""
123
124 #. type: Plain text
125 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
126 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
127 #, fuzzy
128 #| msgid ""
129 #| "When I<func> is 0, B<modify_ldt> reads the ldt into the memory pointed to "
130 #| "by I<ptr>. The number of bytes read is the smaller of I<bytecount> and "
131 #| "the actual size of the ldt."
132 msgid ""
133 "When I<func> is 0, B<modify_ldt>() reads the LDT into the memory pointed to "
134 "by I<ptr>. The number of bytes read is the smaller of I<bytecount> and the "
135 "actual size of the LDT, although the kernel may act as though the LDT is "
136 "padded with additional trailing zero bytes. On success, B<modify_ldt>() "
137 "will return the number of bytes read."
138 msgstr ""
139 "Quando I<func> é 0, B<modify_ldt> lê a ldt na memória apontando para o "
140 "I<ptr>. O número de bytes lidos pe o menor de I<bytecount> e o tamanho atual "
141 "da ldt."
142
143 #. type: Plain text
144 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
145 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
146 #, fuzzy
147 #| msgid ""
148 #| "When I<func> is 1, B<modify_ldt> modifies one ldt entry. I<ptr> points "
149 #| "to a I<modify_ldt_ldt_s> structure and I<bytecount> must equal the size "
150 #| "of this structure."
151 msgid ""
152 "When I<func> is 1 or 0x11, B<modify_ldt>() modifies the LDT entry indicated "
153 "by I<ptr-E<gt>entry_number>. I<ptr> points to a I<user_desc> structure and "
154 "I<bytecount> must equal the size of this structure."
155 msgstr ""
156 "Quando I<func> é 1, B<modify_ldt> modifica uma entrada ldt. I<ptr> aponta "
157 "para uma estrutura I<modify_ldt_ldt_s> e I<bytecount> deve ser igual ao "
158 "tamanho desta estrutura."
159
160 #. type: Plain text
161 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
162 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
163 msgid "The I<user_desc> structure is defined in I<E<lt>asm/ldt.hE<gt>> as:"
164 msgstr ""
165
166 #. type: Plain text
167 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
168 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
169 #, no-wrap
170 msgid ""
171 "struct user_desc {\n"
172 " unsigned int entry_number;\n"
173 " unsigned int base_addr;\n"
174 " unsigned int limit;\n"
175 " unsigned int seg_32bit:1;\n"
176 " unsigned int contents:2;\n"
177 " unsigned int read_exec_only:1;\n"
178 " unsigned int limit_in_pages:1;\n"
179 " unsigned int seg_not_present:1;\n"
180 " unsigned int useable:1;\n"
181 "};\n"
182 msgstr ""
183 "struct user_desc {\n"
184 " unsigned int entry_number;\n"
185 " unsigned int base_addr;\n"
186 " unsigned int limit;\n"
187 " unsigned int seg_32bit:1;\n"
188 " unsigned int contents:2;\n"
189 " unsigned int read_exec_only:1;\n"
190 " unsigned int limit_in_pages:1;\n"
191 " unsigned int seg_not_present:1;\n"
192 " unsigned int useable:1;\n"
193 "};\n"
194
195 #. type: Plain text
196 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
197 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
198 msgid "In Linux 2.4 and earlier, this structure was named I<modify_ldt_ldt_s>."
199 msgstr ""
200
201 #. type: Plain text
202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
204 msgid ""
205 "The I<contents> field is the segment type (data, expand-down data, non-"
206 "conforming code, or conforming code). The other fields match their "
207 "descriptions in the CPU manual, although B<modify_ldt>() cannot set the "
208 "hardware-defined \"accessed\" bit described in the CPU manual."
209 msgstr ""
210
211 #. type: Plain text
212 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
213 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
214 msgid ""
215 "A I<user_desc> is considered \"empty\" if I<read_exec_only> and "
216 "I<seg_not_present> are set to 1 and all of the other fields are 0. An LDT "
217 "entry can be cleared by setting it to an \"empty\" I<user_desc> or, if "
218 "I<func> is 1, by setting both I<base> and I<limit> to 0."
219 msgstr ""
220
221 #. type: Plain text
222 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
223 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
224 msgid ""
225 "A conforming code segment (i.e., one with I<contents==3>) will be rejected "
226 "if I<func> is 1 or if I<seg_not_present> is 0."
227 msgstr ""
228
229 #. type: Plain text
230 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
231 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
232 msgid ""
233 "When I<func> is 2, B<modify_ldt>() will read zeros. This appears to be a "
234 "leftover from Linux 2.4."
235 msgstr ""
236
237 #. type: SH
238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
240 #, no-wrap
241 msgid "RETURN VALUE"
242 msgstr "VALOR DE RETORNO"
243
244 #. type: Plain text
245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
247 #, fuzzy
248 #| msgid ""
249 #| "On success, B<modify_ldt> returns either the actual number of bytes read "
250 #| "(for reading) or 0 (for writing). On failure, B<modify_ldt> returns -1 "
251 #| "and sets I<errno>."
252 msgid ""
253 "On success, B<modify_ldt>() returns either the actual number of bytes read "
254 "(for reading) or 0 (for writing). On failure, B<modify_ldt>() returns -1 "
255 "and sets I<errno> to indicate the error."
256 msgstr ""
257 "Em caso de sucesso, B<modify_ldt> retorna ou o número atual de bytes lidos "
258 "(para leitura) ou 0 (para escrita). Caso contrário, B<modify_ldt> devolve -1 "
259 "e seleciona I<errno>."
260
261 #. type: SH
262 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
263 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
264 #, no-wrap
265 msgid "ERRORS"
266 msgstr "ERROS"
267
268 #. type: TP
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 #, no-wrap
272 msgid "B<EFAULT>"
273 msgstr "B<EFAULT>"
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 "I<ptr> points outside the address space."
279 msgstr "I<ptr> aponta para fora do espaço de endereçamento."
280
281 #. type: TP
282 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
283 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
284 #, no-wrap
285 msgid "B<EINVAL>"
286 msgstr "B<EINVAL>"
287
288 #. type: Plain text
289 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
290 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
291 #, fuzzy
292 #| msgid ""
293 #| "I<ptr> is 0, or I<func> is 1 and I<bytecount> is not equal to the size of "
294 #| "the structure I<modify_ldt_ldt_s>, or I<func> is 1 and the new ldt entry "
295 #| "has illegal values."
296 msgid ""
297 "I<ptr> is 0, or I<func> is 1 and I<bytecount> is not equal to the size of "
298 "the structure I<user_desc>, or I<func> is 1 or 0x11 and the new LDT entry "
299 "has invalid values."
300 msgstr ""
301 "I<ptr> é 0, ou I<func> é 1 e I<bytecount> não é igual ao tamanho da "
302 "estrutura I<modify_ldt_ldt_s>, ou I<func> é 1 e a nova entrada ldt possui "
303 "valores ilegais."
304
305 #. type: TP
306 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
307 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
308 #, no-wrap
309 msgid "B<ENOSYS>"
310 msgstr "B<ENOSYS>"
311
312 #. type: Plain text
313 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
314 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
315 #, fuzzy
316 #| msgid "I<func> is neither 0 nor 1."
317 msgid "I<func> is neither 0, 1, 2, nor 0x11."
318 msgstr "I<func> não é nem 0 nem 1."
319
320 #. type: SH
321 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
322 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
323 #, no-wrap
324 msgid "STANDARDS"
325 msgstr "PADRÕES"
326
327 #. type: Plain text
328 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
329 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
330 msgid "Linux."
331 msgstr "Linux."
332
333 #. type: SH
334 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
335 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
336 #, no-wrap
337 msgid "NOTES"
338 msgstr "NOTAS"
339
340 #. type: Plain text
341 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
342 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
343 msgid ""
344 "B<modify_ldt>() should not be used for thread-local storage, as it slows "
345 "down context switches and only supports a limited number of threads. "
346 "Threading libraries should use B<set_thread_area>(2) or B<arch_prctl>(2) "
347 "instead, except on extremely old kernels that do not support those system "
348 "calls."
349 msgstr ""
350
351 #. type: Plain text
352 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
353 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
354 msgid ""
355 "The normal use for B<modify_ldt>() is to run legacy 16-bit or segmented 32-"
356 "bit code. Not all kernels allow 16-bit segments to be installed, however."
357 msgstr ""
358
359 #. type: Plain text
360 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
361 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
362 msgid ""
363 "Even on 64-bit kernels, B<modify_ldt>() cannot be used to create a long "
364 "mode (i.e., 64-bit) code segment. The undocumented field \"lm\" in "
365 "I<user_desc> is not useful, and, despite its name, does not result in a long "
366 "mode segment."
367 msgstr ""
368
369 #. type: SH
370 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
371 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
372 #, no-wrap
373 msgid "BUGS"
374 msgstr "BUGS"
375
376 #. commit e30ab185c490e9a9381385529e0fd32f0a399495
377 #. type: Plain text
378 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
379 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
380 msgid ""
381 "On 64-bit kernels before Linux 3.19, setting the \"lm\" bit in I<user_desc> "
382 "prevents the descriptor from being considered empty. Keep in mind that the "
383 "\"lm\" bit does not exist in the 32-bit headers, but these buggy kernels "
384 "will still notice the bit even when set in a 32-bit process."
385 msgstr ""
386
387 #. type: SH
388 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
389 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
390 #, no-wrap
391 msgid "SEE ALSO"
392 msgstr "VEJA TAMBÉM"
393
394 #. type: Plain text
395 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
396 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
397 msgid "B<arch_prctl>(2), B<set_thread_area>(2), B<vm86>(2)"
398 msgstr "B<arch_prctl>(2), B<set_thread_area>(2), B<vm86>(2)"
399
400 #. type: TH
401 #: debian-trixie
402 #, no-wrap
403 msgid "2024-05-02"
404 msgstr "2 maio 2024"
405
406 #. type: TH
407 #: debian-trixie
408 #, no-wrap
409 msgid "Linux man-pages 6.9.1"
410 msgstr "Linux man-pages 6.9.1"
411
412 #. type: Plain text
413 #: debian-trixie
414 msgid "Standard C library (I<libc>, I<-lc>)"
415 msgstr "Biblioteca C Padrão (I<libc>, I<-lc>)"
416
417 #. type: Plain text
418 #: debian-trixie fedora-44 fedora-rawhide
419 #, fuzzy, no-wrap
420 #| msgid "B<int modify_ldt(int >I<func>B<, void *>I<ptr>B<, unsigned long >I<bytecount>B<);>\n"
421 msgid ""
422 "B<int syscall(SYS_modify_ldt, int >I<func>B<, void >I<ptr>B<[.>I<bytecount>B<],>\n"
423 "B< unsigned long >I<bytecount>B<);>\n"
424 msgstr "B<int modify_ldt(int >I<func>B<, void *>I<ptr>B<, unsigned long >I<bytecount>B<);>\n"
425
426 #. type: TH
427 #: fedora-44 fedora-rawhide
428 #, no-wrap
429 msgid "2024-07-23"
430 msgstr "23 julho 2024"
431
432 #. type: TH
433 #: fedora-44 fedora-rawhide
434 #, no-wrap
435 msgid "Linux man-pages 6.13"
436 msgstr "Linux man-pages 6.13"
437
438 #. type: TH
439 #: mageia-cauldron
440 #, no-wrap
441 msgid "Linux man-pages 6.17"
442 msgstr "Linux man-pages 6.17"
443
444 #. type: TH
445 #: opensuse-leap-16-1 opensuse-tumbleweed
446 #, no-wrap
447 msgid "Linux man-pages (unreleased)"
448 msgstr "Linux man-pages (não lançado)"