Debian Codegraph @

templates/man2/PR_SET_SYSCALL_USER_DISPATCH.2const.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:37+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 "PR_SET_SYSCALL_USER_DISPATCH"
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 ""
50 "PR_SET_SYSCALL_USER_DISPATCH - set the system-call user dispatch mechanism "
51 "for the calling thread"
52 msgstr ""
53
54 #. type: SH
55 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
56 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
57 #, no-wrap
58 msgid "LIBRARY"
59 msgstr ""
60
61 #. type: Plain text
62 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
63 #: opensuse-leap-16-1 opensuse-tumbleweed
64 msgid "Standard C library (I<libc>,\\ I<-lc>)"
65 msgstr ""
66
67 #. type: SH
68 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
69 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
70 #, no-wrap
71 msgid "SYNOPSIS"
72 msgstr ""
73
74 #. type: Plain text
75 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
76 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
77 #, no-wrap
78 msgid ""
79 "B<#include E<lt>linux/prctl.hE<gt>> /* Definition of B<PR_*> constants */\n"
80 "B<#include E<lt>sys/prctl.hE<gt>>\n"
81 msgstr ""
82
83 #. type: Plain text
84 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
85 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
86 #, no-wrap
87 msgid "B<int prctl(PR_SET_SYSCALL_USER_DISPATCH, long >I<op>B<, ...);>\n"
88 msgstr ""
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 #, no-wrap
94 msgid ""
95 "B<int prctl(PR_SET_SYSCALL_USER_DISPATCH, PR_SYS_DISPATCH_ON,>\n"
96 "B< unsigned long >I<off>B<, unsigned long >I<size>B<, int8_t *>I<switch>B<);>\n"
97 "B<int prctl(PR_SET_SYSCALL_USER_DISPATCH, PR_SYS_DISPATCH_OFF, 0L, 0L, 0L);>\n"
98 msgstr ""
99
100 #. type: SH
101 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
102 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
103 #, no-wrap
104 msgid "DESCRIPTION"
105 msgstr ""
106
107 #. type: Plain text
108 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
109 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
110 msgid ""
111 "Configure the Syscall User Dispatch mechanism for the calling thread. This "
112 "mechanism allows an application to selectively intercept system calls so "
113 "that they can be handled within the application itself. Interception takes "
114 "the form of a thread-directed B<SIGSYS> signal that is delivered to the "
115 "thread when it makes a system call. If intercepted, the system call is not "
116 "executed by the kernel."
117 msgstr ""
118
119 #. type: TP
120 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
121 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
122 #, no-wrap
123 msgid "B<PR_SYS_DISPATCH_ON>"
124 msgstr ""
125
126 #. type: Plain text
127 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
128 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
129 msgid "Enable this mechanism."
130 msgstr ""
131
132 #. type: Plain text
133 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
134 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
135 msgid ""
136 "Once enabled, further system calls will be selectively intercepted, "
137 "depending on a control variable provided by user space. In this case, "
138 "I<off> and I<size> respectively identify the offset and size of a single "
139 "contiguous memory region in the process address space from where system "
140 "calls are always allowed to be executed, regardless of the control "
141 "variable. (Typically, this area would include the area of memory containing "
142 "the C library.)"
143 msgstr ""
144
145 #. type: Plain text
146 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
147 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
148 msgid ""
149 "I<switch> points to a variable that is a fast switch to allow/block system "
150 "call execution without the overhead of doing another system call to re-"
151 "configure Syscall User Dispatch. This control variable can either be set to "
152 "B<SYSCALL_DISPATCH_FILTER_BLOCK> to block system calls from executing or to "
153 "B<SYSCALL_DISPATCH_FILTER_ALLOW> to temporarily allow them to be executed. "
154 "This value is checked by the kernel on every system call entry, and any "
155 "unexpected value will raise an uncatchable B<SIGSYS> at that time, killing "
156 "the application."
157 msgstr ""
158
159 #. type: Plain text
160 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
161 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
162 msgid ""
163 "When a system call is intercepted, the kernel sends a thread-directed "
164 "B<SIGSYS> signal to the triggering thread. Various fields will be set in "
165 "the I<siginfo_t> structure (see B<sigaction>(2)) associated with the signal:"
166 msgstr ""
167
168 #. type: IP
169 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
170 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
171 #, no-wrap
172 msgid "\\[bu]"
173 msgstr ""
174
175 #. type: Plain text
176 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
177 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
178 msgid "I<si_signo> will contain B<SIGSYS>."
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 "I<si_call_addr> will show the address of the system call instruction."
185 msgstr ""
186
187 #. type: Plain text
188 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
189 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
190 msgid ""
191 "I<si_syscall> and I<si_arch> will indicate which system call was attempted."
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 "I<si_code> will contain B<SYS_USER_DISPATCH>."
198 msgstr ""
199
200 #. type: Plain text
201 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
202 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
203 msgid "I<si_errno> will be set to 0."
204 msgstr ""
205
206 #. type: Plain text
207 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
208 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
209 msgid ""
210 "The program counter will be as though the system call happened (i.e., the "
211 "program counter will not point to the system call instruction)."
212 msgstr ""
213
214 #. type: Plain text
215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
217 msgid ""
218 "When the signal handler returns to the kernel, the system call completes "
219 "immediately and returns to the calling thread, without actually being "
220 "executed. If necessary (i.e., when emulating the system call on user "
221 "space.), the signal handler should set the system call return value to a "
222 "sane value, by modifying the register context stored in the I<ucontext> "
223 "argument of the signal handler. See B<sigaction>(2), B<sigreturn>(2), and "
224 "B<getcontext>(3) for more information."
225 msgstr ""
226
227 #. type: TP
228 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
229 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
230 #, no-wrap
231 msgid "B<PR_SYS_DISPATCH_OFF>"
232 msgstr ""
233
234 #. type: Plain text
235 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
236 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
237 msgid "Syscall User Dispatch is disabled for that thread."
238 msgstr ""
239
240 #. type: Plain text
241 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
242 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
243 msgid ""
244 "The setting is not preserved across B<fork>(2), B<clone>(2), or B<execve>(2)."
245 msgstr ""
246
247 #. type: SH
248 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
249 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
250 #, no-wrap
251 msgid "RETURN VALUE"
252 msgstr ""
253
254 #. type: Plain text
255 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
256 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
257 msgid ""
258 "On success, 0 is returned. On error, -1 is returned, and I<errno> is set to "
259 "indicate the error."
260 msgstr ""
261
262 #. type: SH
263 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
264 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
265 #, no-wrap
266 msgid "ERRORS"
267 msgstr ""
268
269 #. type: TP
270 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
271 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
272 #, no-wrap
273 msgid "B<EFAULT>"
274 msgstr ""
275
276 #. type: Plain text
277 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
278 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
279 msgid "I<switch> is an invalid address."
280 msgstr ""
281
282 #. type: TP
283 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
284 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
285 #, no-wrap
286 msgid "B<EINVAL>"
287 msgstr ""
288
289 #. type: Plain text
290 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
291 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
292 msgid ""
293 "I<op> is B<PR_SYS_DISPATCH_ON> and the memory range specified is outside the "
294 "address space of the process."
295 msgstr ""
296
297 #. type: Plain text
298 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
299 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
300 msgid "I<op> is invalid."
301 msgstr ""
302
303 #. type: SH
304 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
305 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
306 #, no-wrap
307 msgid "STANDARDS"
308 msgstr ""
309
310 #. type: Plain text
311 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
312 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
313 msgid "Linux. x86 only."
314 msgstr ""
315
316 #. type: SH
317 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
318 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
319 #, no-wrap
320 msgid "HISTORY"
321 msgstr ""
322
323 #. commit 1446e1df9eb183fdf81c3f0715402f1d7595d4
324 #. type: Plain text
325 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
326 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
327 msgid "Linux 5.11 (x86)."
328 msgstr ""
329
330 #. type: SH
331 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
332 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
333 #, no-wrap
334 msgid "SEE ALSO"
335 msgstr ""
336
337 #. type: Plain text
338 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
339 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
340 msgid "B<prctl>(2)"
341 msgstr ""
342
343 #. type: Plain text
344 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
345 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
346 msgid ""
347 "For more information, see the kernel source file I<Documentation/\\:admin-"
348 "guide/\\:syscall-user-dispatch.rst>"
349 msgstr ""
350
351 #. type: TH
352 #: debian-trixie
353 #, no-wrap
354 msgid "2024-06-01"
355 msgstr ""
356
357 #. type: TH
358 #: debian-trixie
359 #, no-wrap
360 msgid "Linux man-pages 6.9.1"
361 msgstr ""
362
363 #. type: Plain text
364 #: debian-trixie
365 msgid "Standard C library (I<libc>, I<-lc>)"
366 msgstr ""
367
368 #. type: TH
369 #: fedora-44 fedora-rawhide
370 #, no-wrap
371 msgid "2024-07-23"
372 msgstr ""
373
374 #. type: TH
375 #: fedora-44 fedora-rawhide
376 #, no-wrap
377 msgid "Linux man-pages 6.13"
378 msgstr ""
379
380 #. type: TH
381 #: mageia-cauldron
382 #, no-wrap
383 msgid "Linux man-pages 6.17"
384 msgstr ""
385
386 #. type: TH
387 #: opensuse-leap-16-1 opensuse-tumbleweed
388 #, no-wrap
389 msgid "Linux man-pages (unreleased)"
390 msgstr ""