Debian Codegraph @

templates/man2/process_madvise.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:36+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 "process_madvise"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
28 #, no-wrap
29 msgid "2026-02-22"
30 msgstr ""
31
32 #. type: TH
33 #: archlinux debian-unstable
34 #, no-wrap
35 msgid "Linux man-pages 6.18"
36 msgstr ""
37
38 #. type: SH
39 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
40 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
41 #, no-wrap
42 msgid "NAME"
43 msgstr ""
44
45 #. type: Plain text
46 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
47 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
48 msgid "process_madvise - give advice about use of memory to a process"
49 msgstr ""
50
51 #. type: SH
52 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
53 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
54 #, no-wrap
55 msgid "LIBRARY"
56 msgstr ""
57
58 #. type: Plain text
59 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
60 #: opensuse-leap-16-1 opensuse-tumbleweed
61 msgid "Standard C library (I<libc>,\\ I<-lc>)"
62 msgstr ""
63
64 #. type: SH
65 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
66 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
67 #, no-wrap
68 msgid "SYNOPSIS"
69 msgstr ""
70
71 #. type: Plain text
72 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
73 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
74 #, no-wrap
75 msgid "B<#include E<lt>sys/mman.hE<gt>>\n"
76 msgstr ""
77
78 #. type: Plain text
79 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
80 #: opensuse-tumbleweed
81 #, no-wrap
82 msgid ""
83 "B<ssize_t process_madvise(size_t >I<n>B<;>\n"
84 "B< int >I<pidfd>B<, const struct iovec >I<iovec>B<[>I<n>B<],>\n"
85 "B< size_t >I<n>B<, int >I<advice>B<, unsigned int >I<flags>B<);>\n"
86 msgstr ""
87
88 #. type: SH
89 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
90 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
91 #, no-wrap
92 msgid "DESCRIPTION"
93 msgstr ""
94
95 #. type: Plain text
96 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
97 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
98 msgid ""
99 "The B<process_madvise>() system call is used to give advice or directions "
100 "to the kernel about the address ranges of another process or of the calling "
101 "process. It provides the advice for the address ranges described by "
102 "I<iovec> and I<n>. The goal of such advice is to improve system or "
103 "application performance."
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 "The I<pidfd> argument is a PID file descriptor (see B<pidfd_open>(2)) that "
111 "specifies the process to which the advice is to be applied."
112 msgstr ""
113
114 #. type: Plain text
115 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
116 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
117 msgid ""
118 "The pointer I<iovec> points to an array of I<iovec> structures, described in "
119 "B<iovec>(3type)."
120 msgstr ""
121
122 #. type: Plain text
123 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
124 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
125 msgid ""
126 "I<n> specifies the number of elements in the array of I<iovec> structures. "
127 "This value must be less than or equal to B<IOV_MAX> (defined in "
128 "I<E<lt>limits.hE<gt>> or accessible via the call I<sysconf(_SC_IOV_MAX)>)."
129 msgstr ""
130
131 #. type: Plain text
132 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
133 #: opensuse-leap-16-1 opensuse-tumbleweed
134 msgid ""
135 "If manipulating another process, or before Linux 6.13, the I<advice> "
136 "argument is one of the following values:"
137 msgstr ""
138
139 #. type: TP
140 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
141 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
142 #, no-wrap
143 msgid "B<MADV_COLD>"
144 msgstr ""
145
146 #. type: Plain text
147 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
148 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
149 msgid "See B<madvise>(2)."
150 msgstr ""
151
152 #. type: TP
153 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
154 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
155 #, no-wrap
156 msgid "B<MADV_COLLAPSE>"
157 msgstr ""
158
159 #. type: TP
160 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
161 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
162 #, no-wrap
163 msgid "B<MADV_PAGEOUT>"
164 msgstr ""
165
166 #. type: TP
167 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
168 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
169 #, no-wrap
170 msgid "B<MADV_WILLNEED>"
171 msgstr ""
172
173 #. type: Plain text
174 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
175 #: opensuse-leap-16-1 opensuse-tumbleweed
176 msgid ""
177 "Since Linux 6.13, when manipulating the calling process, any advice flag is "
178 "permitted."
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 ""
185 "The I<flags> argument is reserved for future use; currently, this argument "
186 "must be specified as 0."
187 msgstr ""
188
189 #. type: Plain text
190 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
191 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
192 msgid ""
193 "The I<n> and I<iovec> arguments are checked before applying any advice. If "
194 "I<n> is too big, or I<iovec> is invalid, then an error will be returned "
195 "immediately and no advice will be applied."
196 msgstr ""
197
198 #. type: Plain text
199 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
200 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
201 msgid ""
202 "The advice might be applied to only a part of I<iovec> if one of its "
203 "elements points to an invalid memory region in the remote process. No "
204 "further elements will be processed beyond that point. (See the discussion "
205 "regarding partial advice in RETURN VALUE.)"
206 msgstr ""
207
208 #. commit 96cfe2c0fd23ea7c2368d14f769d287e7ae1082e
209 #. type: Plain text
210 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
211 #: opensuse-leap-16-1 opensuse-tumbleweed
212 msgid ""
213 "Since Linux 5.12, permission to apply advice to another process is governed "
214 "by ptrace access mode B<PTRACE_MODE_READ_FSCREDS> check (see B<ptrace>(2)); "
215 "in addition, because of the performance implications of applying the advice, "
216 "the caller must have the B<CAP_SYS_NICE> capability (see B<capabilities>(7))."
217 msgstr ""
218
219 #. type: SH
220 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
221 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
222 #, no-wrap
223 msgid "RETURN VALUE"
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 "On success, B<process_madvise>() returns the number of bytes advised. This "
231 "return value may be less than the total number of requested bytes, if an "
232 "error occurred after some I<iovec> elements were already processed. The "
233 "caller should check the return value to determine whether a partial advice "
234 "occurred."
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 "On error, -1 is returned and I<errno> is set to indicate the error."
241 msgstr ""
242
243 #. type: SH
244 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
245 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
246 #, no-wrap
247 msgid "ERRORS"
248 msgstr ""
249
250 #. type: TP
251 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
252 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
253 #, no-wrap
254 msgid "B<EBADF>"
255 msgstr ""
256
257 #. type: Plain text
258 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
259 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
260 msgid "I<pidfd> is not a valid PID file descriptor."
261 msgstr ""
262
263 #. type: TP
264 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
265 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
266 #, no-wrap
267 msgid "B<EFAULT>"
268 msgstr ""
269
270 #. type: Plain text
271 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
272 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
273 msgid ""
274 "The memory described by I<iovec> is outside the accessible address space of "
275 "the process referred to by I<pidfd>."
276 msgstr ""
277
278 #. type: TP
279 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
280 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
281 #, no-wrap
282 msgid "B<EINVAL>"
283 msgstr ""
284
285 #. type: Plain text
286 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
287 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
288 msgid "I<flags> is not 0."
289 msgstr ""
290
291 #. type: Plain text
292 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
293 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
294 msgid ""
295 "The sum of the I<iov_len> values of I<iovec> overflows a I<ssize_t> value."
296 msgstr ""
297
298 #. type: Plain text
299 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
300 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
301 msgid "I<n> is too large."
302 msgstr ""
303
304 #. type: TP
305 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
306 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
307 #, no-wrap
308 msgid "B<ENOMEM>"
309 msgstr ""
310
311 #. type: Plain text
312 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
313 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
314 msgid ""
315 "Could not allocate memory for internal copies of the I<iovec> structures."
316 msgstr ""
317
318 #. type: TP
319 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
320 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
321 #, no-wrap
322 msgid "B<EPERM>"
323 msgstr ""
324
325 #. type: Plain text
326 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
327 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
328 msgid ""
329 "The caller does not have permission to access the address space of the "
330 "process I<pidfd>."
331 msgstr ""
332
333 #. type: TP
334 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
335 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
336 #, no-wrap
337 msgid "B<ESRCH>"
338 msgstr ""
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 "The target process does not exist (i.e., it has terminated and been waited "
345 "on)."
346 msgstr ""
347
348 #. type: Plain text
349 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
350 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
351 msgid "See B<madvise>(2) for I<advice>-specific errors."
352 msgstr ""
353
354 #. type: SH
355 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
356 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
357 #, no-wrap
358 msgid "STANDARDS"
359 msgstr ""
360
361 #. type: Plain text
362 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
363 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
364 msgid "Linux."
365 msgstr ""
366
367 #. type: SH
368 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
369 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
370 #, no-wrap
371 msgid "HISTORY"
372 msgstr ""
373
374 #. Linux commit ecb8ac8b1f146915aa6b96449b66dd48984caacc
375 #. glibc commit d19ee3473d68ca0e794f3a8b7677a0983ae1342e
376 #. type: Plain text
377 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
378 msgid "Linux 5.10, glibc 2.36."
379 msgstr ""
380
381 #. type: Plain text
382 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
383 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
384 msgid ""
385 "Support for this system call is optional, depending on the setting of the "
386 "B<CONFIG_ADVISE_SYSCALLS> configuration option."
387 msgstr ""
388
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 "When this system call first appeared in Linux 5.10, permission to apply "
394 "advice to another process was entirely governed by ptrace access mode "
395 "B<PTRACE_MODE_ATTACH_FSCREDS> check (see B<ptrace>(2)). This requirement "
396 "was relaxed in Linux 5.12 so that the caller didn't require full control "
397 "over the target process."
398 msgstr ""
399
400 #. type: SH
401 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
402 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
403 #, no-wrap
404 msgid "SEE ALSO"
405 msgstr ""
406
407 #. type: Plain text
408 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
409 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
410 msgid ""
411 "B<madvise>(2), B<pidfd_open>(2), B<process_vm_readv>(2), "
412 "B<process_vm_write>(2)"
413 msgstr ""
414
415 #. type: TH
416 #: debian-trixie
417 #, no-wrap
418 msgid "2024-05-02"
419 msgstr ""
420
421 #. type: TH
422 #: debian-trixie
423 #, no-wrap
424 msgid "Linux man-pages 6.9.1"
425 msgstr ""
426
427 #. type: Plain text
428 #: debian-trixie
429 msgid "Standard C library (I<libc>, I<-lc>)"
430 msgstr ""
431
432 #. type: Plain text
433 #: debian-trixie fedora-44 fedora-rawhide
434 #, no-wrap
435 msgid ""
436 "B<ssize_t process_madvise(int >I<pidfd>B<, const struct iovec >I<iovec>B<[.>I<n>B<],>\n"
437 "B< size_t >I<n>B<, int >I<advice>B<, unsigned int >I<flags>B<);>\n"
438 msgstr ""
439
440 #. type: Plain text
441 #: debian-trixie
442 msgid "The I<advice> argument is one of the following values:"
443 msgstr ""
444
445 #. commit 96cfe2c0fd23ea7c2368d14f769d287e7ae1082e
446 #. type: Plain text
447 #: debian-trixie
448 msgid ""
449 "Starting in Linux 5.12, permission to apply advice to another process is "
450 "governed by ptrace access mode B<PTRACE_MODE_READ_FSCREDS> check (see "
451 "B<ptrace>(2)); in addition, because of the performance implications of "
452 "applying the advice, the caller must have the B<CAP_SYS_NICE> capability "
453 "(see B<capabilities>(7))."
454 msgstr ""
455
456 #. Linux commit ecb8ac8b1f146915aa6b96449b66dd48984caacc
457 #. glibc commit d19ee3473d68ca0e794f3a8b7677a0983ae1342e
458 #. type: Plain text
459 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
460 msgid "Linux 5.10. glibc 2.36."
461 msgstr ""
462
463 #. type: TH
464 #: fedora-44 fedora-rawhide
465 #, no-wrap
466 msgid "2024-12-04"
467 msgstr ""
468
469 #. type: TH
470 #: fedora-44 fedora-rawhide
471 #, no-wrap
472 msgid "Linux man-pages 6.13"
473 msgstr ""
474
475 #. type: TH
476 #: mageia-cauldron
477 #, no-wrap
478 msgid "2026-02-08"
479 msgstr ""
480
481 #. type: TH
482 #: mageia-cauldron
483 #, no-wrap
484 msgid "Linux man-pages 6.17"
485 msgstr ""
486
487 #. type: TH
488 #: opensuse-leap-16-1 opensuse-tumbleweed
489 #, no-wrap
490 msgid "Linux man-pages (unreleased)"
491 msgstr ""