Debian Codegraph @

templates/man2/arch_prctl.2.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:18+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "arch_prctl"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2026-02-08"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr ""
38
39 #. type: SH
40 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
41 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr ""
45
46 #. type: Plain text
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 msgid "arch_prctl - set architecture-specific thread state"
50 msgstr ""
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "LIBRARY"
57 msgstr ""
58
59 #. type: Plain text
60 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
61 #: opensuse-leap-16-1 opensuse-tumbleweed
62 msgid "Standard C library (I<libc>,\\ I<-lc>)"
63 msgstr ""
64
65 #. type: SH
66 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
67 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
68 #, no-wrap
69 msgid "SYNOPSIS"
70 msgstr ""
71
72 #. type: Plain text
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
75 #, no-wrap
76 msgid ""
77 "B<#include E<lt>asm/prctl.hE<gt>> /* Definition of B<ARCH_*> constants */\n"
78 "B<#include E<lt>sys/syscall.hE<gt>> /* Definition of B<SYS_*> constants */\n"
79 "B<#include E<lt>unistd.hE<gt>>\n"
80 msgstr ""
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 #, no-wrap
86 msgid ""
87 "B<int syscall(SYS_arch_prctl, int >I<op>B<, unsigned long >I<addr>B<);>\n"
88 "B<int syscall(SYS_arch_prctl, int >I<op>B<, unsigned long *>I<addr>B<);>\n"
89 msgstr ""
90
91 #. type: Plain text
92 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
93 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
94 msgid ""
95 "I<Note>: glibc provides no wrapper for B<arch_prctl>(), necessitating the "
96 "use of B<syscall>(2)."
97 msgstr ""
98
99 #. type: SH
100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
102 #, no-wrap
103 msgid "DESCRIPTION"
104 msgstr ""
105
106 #. type: Plain text
107 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
108 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
109 msgid ""
110 "B<arch_prctl>() sets architecture-specific process or thread state. I<op> "
111 "selects an operation and passes argument I<addr> to it; I<addr> is "
112 "interpreted as either an I<unsigned long> for the \"set\" operations, or as "
113 "an I<unsigned long\\ *>, for the \"get\" operations."
114 msgstr ""
115
116 #. type: Plain text
117 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
118 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
119 msgid "Subfunctions for both x86 and x86-64 are:"
120 msgstr ""
121
122 #. type: TP
123 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
124 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
125 #, no-wrap
126 msgid "B<ARCH_SET_CPUID> (since Linux 4.12)"
127 msgstr ""
128
129 #. commit e9ea1e7f53b852147cbd568b0568c7ad97ec21a3
130 #. type: Plain text
131 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
132 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
133 msgid ""
134 "Enable (I<addr != 0>) or disable (I<addr == 0>) the I<cpuid> instruction "
135 "for the calling thread. The instruction is enabled by default. If "
136 "disabled, any execution of a I<cpuid> instruction will instead generate a "
137 "B<SIGSEGV> signal. This feature can be used to emulate I<cpuid> results "
138 "that differ from what the underlying hardware would have produced (e.g., in "
139 "a paravirtualization setting)."
140 msgstr ""
141
142 #. type: Plain text
143 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
144 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
145 msgid ""
146 "The B<ARCH_SET_CPUID> setting is preserved across B<fork>(2) and "
147 "B<clone>(2) but reset to the default (i.e., I<cpuid> enabled) on "
148 "B<execve>(2)."
149 msgstr ""
150
151 #. type: TP
152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
154 #, no-wrap
155 msgid "B<ARCH_GET_CPUID> (since Linux 4.12)"
156 msgstr ""
157
158 #. type: Plain text
159 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
160 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
161 msgid ""
162 "Return the setting of the flag manipulated by B<ARCH_SET_CPUID> as the "
163 "result of the system call (1 for enabled, 0 for disabled). I<addr> is "
164 "ignored."
165 msgstr ""
166
167 #. type: TP
168 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
169 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
170 #, no-wrap
171 msgid "Subfunctions for x86-64 only are:"
172 msgstr ""
173
174 #. type: TP
175 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
176 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
177 #, no-wrap
178 msgid "B<ARCH_SET_FS>"
179 msgstr ""
180
181 #. type: Plain text
182 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
183 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
184 msgid "Set the 64-bit base for the I<FS> register to I<addr>."
185 msgstr ""
186
187 #. type: TP
188 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
189 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
190 #, no-wrap
191 msgid "B<ARCH_GET_FS>"
192 msgstr ""
193
194 #. type: Plain text
195 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
196 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
197 msgid ""
198 "Return the 64-bit base value for the I<FS> register of the calling thread in "
199 "the I<unsigned long> pointed to by I<addr>."
200 msgstr ""
201
202 #. type: TP
203 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
204 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
205 #, no-wrap
206 msgid "B<ARCH_SET_GS>"
207 msgstr ""
208
209 #. type: Plain text
210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
212 msgid "Set the 64-bit base for the I<GS> register to I<addr>."
213 msgstr ""
214
215 #. type: TP
216 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
217 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
218 #, no-wrap
219 msgid "B<ARCH_GET_GS>"
220 msgstr ""
221
222 #. type: Plain text
223 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
224 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
225 msgid ""
226 "Return the 64-bit base value for the I<GS> register of the calling thread in "
227 "the I<unsigned long> pointed to by I<addr>."
228 msgstr ""
229
230 #. type: SH
231 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
232 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
233 #, no-wrap
234 msgid "RETURN VALUE"
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 "On success, B<arch_prctl>() returns 0; on error, -1 is returned, and "
242 "I<errno> is set to indicate the error."
243 msgstr ""
244
245 #. type: SH
246 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
247 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
248 #, no-wrap
249 msgid "ERRORS"
250 msgstr ""
251
252 #. type: TP
253 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
254 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
255 #, no-wrap
256 msgid "B<EFAULT>"
257 msgstr ""
258
259 #. type: Plain text
260 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
261 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
262 msgid ""
263 "I<addr> points to an unmapped address or is outside the process address "
264 "space."
265 msgstr ""
266
267 #. type: TP
268 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
269 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
270 #, no-wrap
271 msgid "B<EINVAL>"
272 msgstr ""
273
274 #. type: Plain text
275 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
276 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
277 msgid "I<op> is not a valid operation."
278 msgstr ""
279
280 #. type: TP
281 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
282 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
283 #, no-wrap
284 msgid "B<ENODEV>"
285 msgstr ""
286
287 #. type: Plain text
288 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
289 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
290 msgid ""
291 "B<ARCH_SET_CPUID> was requested, but the underlying hardware does not "
292 "support CPUID faulting."
293 msgstr ""
294
295 #. type: TP
296 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
297 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
298 #, no-wrap
299 msgid "B<EPERM>"
300 msgstr ""
301
302 #. .SH AUTHOR
303 #. Man page written by Andi Kleen.
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 "I<addr> is outside the process address space."
308 msgstr ""
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 "STANDARDS"
315 msgstr ""
316
317 #. type: Plain text
318 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
319 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
320 msgid "Linux/x86-64."
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 "NOTES"
328 msgstr ""
329
330 #. type: Plain text
331 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
332 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
333 msgid ""
334 "B<arch_prctl>() is supported only on Linux/x86-64 for 64-bit programs "
335 "currently."
336 msgstr ""
337
338 #. type: Plain text
339 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
340 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
341 msgid "The 64-bit base changes when a new 32-bit segment selector is loaded."
342 msgstr ""
343
344 #. type: Plain text
345 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
346 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
347 msgid "B<ARCH_SET_GS> is disabled in some kernels."
348 msgstr ""
349
350 #. type: Plain text
351 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
352 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
353 msgid ""
354 "Context switches for 64-bit segment bases are rather expensive. As an "
355 "optimization, if a 32-bit TLS base address is used, B<arch_prctl>() may use "
356 "a real TLS entry as if B<set_thread_area>(2) had been called, instead of "
357 "manipulating the segment base register directly. Memory in the first 2\\ GB "
358 "of address space can be allocated by using B<mmap>(2) with the B<MAP_32BIT> "
359 "flag."
360 msgstr ""
361
362 #. type: Plain text
363 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
364 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
365 msgid ""
366 "Because of the aforementioned optimization, using B<arch_prctl>() and "
367 "B<set_thread_area>(2) in the same thread is dangerous, as they may "
368 "overwrite each other's TLS entries."
369 msgstr ""
370
371 #. type: Plain text
372 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
373 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
374 msgid ""
375 "I<FS> may be already used by the threading library. Programs that use "
376 "B<ARCH_SET_FS> directly are very likely to crash."
377 msgstr ""
378
379 #. type: SH
380 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
381 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
382 #, no-wrap
383 msgid "SEE ALSO"
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 "B<mmap>(2), B<modify_ldt>(2), B<prctl>(2), B<set_thread_area>(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 "AMD X86-64 Programmer's manual"
396 msgstr ""
397
398 #. type: TH
399 #: debian-trixie
400 #, no-wrap
401 msgid "2024-05-02"
402 msgstr ""
403
404 #. type: TH
405 #: debian-trixie
406 #, no-wrap
407 msgid "Linux man-pages 6.9.1"
408 msgstr ""
409
410 #. type: Plain text
411 #: debian-trixie
412 msgid "Standard C library (I<libc>, I<-lc>)"
413 msgstr ""
414
415 #. type: TH
416 #: fedora-44 fedora-rawhide
417 #, no-wrap
418 msgid "2024-07-23"
419 msgstr ""
420
421 #. type: TH
422 #: fedora-44 fedora-rawhide
423 #, no-wrap
424 msgid "Linux man-pages 6.13"
425 msgstr ""
426
427 #. type: TH
428 #: mageia-cauldron
429 #, no-wrap
430 msgid "Linux man-pages 6.17"
431 msgstr ""
432
433 #. type: TH
434 #: opensuse-leap-16-1 opensuse-tumbleweed
435 #, no-wrap
436 msgid "Linux man-pages (unreleased)"
437 msgstr ""