| 1 |
# French translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# Christophe Blaess <https://www.blaess.fr/christophe/>, 1996-2003. |
| 5 |
# Stéphan Rafin <[email protected]>, 2002. |
| 6 |
# Thierry Vignaud <[email protected]>, 1999, 2002. |
| 7 |
# François Micaux, 2002. |
| 8 |
# Alain Portal <[email protected]>, 2003-2008. |
| 9 |
# Jean-Philippe Guérard <[email protected]>, 2005-2006. |
| 10 |
# Jean-Luc Coulon (f5ibh) <[email protected]>, 2006-2007. |
| 11 |
# Julien Cristau <[email protected]>, 2006-2007. |
| 12 |
# Thomas Huriaux <[email protected]>, 2006-2008. |
| 13 |
# Nicolas François <[email protected]>, 2006-2008. |
| 14 |
# Florentin Duneau <[email protected]>, 2006-2010. |
| 15 |
# Simon Paillard <[email protected]>, 2006, 2013-2014. |
| 16 |
# Denis Barbier <[email protected]>, 2006, 2010. |
| 17 |
# David Prévot <[email protected]>, 2010-2014. |
| 18 |
# Jean-Philippe MENGUAL <[email protected]>, 2021-2024. |
| 19 |
msgid "" |
| 20 |
msgstr "" |
| 21 |
"Project-Id-Version: manpages-l10n 4.22.0\n" |
| 22 |
"POT-Creation-Date: 2026-06-05 06:38+0200\n" |
| 23 |
"PO-Revision-Date: 2024-05-28 12:12+0200\n" |
| 24 |
"Last-Translator: Jean-Philippe MENGUAL <[email protected]>\n" |
| 25 |
"Language-Team: French <[email protected]>\n" |
| 26 |
"Language: fr\n" |
| 27 |
"MIME-Version: 1.0\n" |
| 28 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 29 |
"Content-Transfer-Encoding: 8bit\n" |
| 30 |
"Plural-Forms: nplurals=2; plural=n > 1;\n" |
| 31 |
"X-Generator: Lokalize 22.12.3\n" |
| 32 |
|
| 33 |
#. type: TH |
| 34 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 35 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 36 |
#, no-wrap |
| 37 |
msgid "ptrace" |
| 38 |
msgstr "ptrace" |
| 39 |
|
| 40 |
#. type: TH |
| 41 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 42 |
#: opensuse-tumbleweed |
| 43 |
#, no-wrap |
| 44 |
msgid "2026-02-10" |
| 45 |
msgstr "10 février 2026" |
| 46 |
|
| 47 |
#. type: TH |
| 48 |
#: archlinux debian-unstable |
| 49 |
#, no-wrap |
| 50 |
msgid "Linux man-pages 6.18" |
| 51 |
msgstr "Pages du manuel de Linux 6.18" |
| 52 |
|
| 53 |
#. type: SH |
| 54 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 55 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 56 |
#, no-wrap |
| 57 |
msgid "NAME" |
| 58 |
msgstr "NOM" |
| 59 |
|
| 60 |
#. type: Plain text |
| 61 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 62 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 63 |
msgid "ptrace - process trace" |
| 64 |
msgstr "ptrace - Suivre un processus" |
| 65 |
|
| 66 |
#. type: SH |
| 67 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 68 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 69 |
#, no-wrap |
| 70 |
msgid "LIBRARY" |
| 71 |
msgstr "BIBLIOTHÈQUE" |
| 72 |
|
| 73 |
#. type: Plain text |
| 74 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 75 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 76 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 77 |
msgstr "Bibliothèque C standard (I<libc>,\\ I<-lc>)" |
| 78 |
|
| 79 |
#. type: SH |
| 80 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 81 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 82 |
#, no-wrap |
| 83 |
msgid "SYNOPSIS" |
| 84 |
msgstr "SYNOPSIS" |
| 85 |
|
| 86 |
#. type: Plain text |
| 87 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 88 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 89 |
#, no-wrap |
| 90 |
msgid "B<#include E<lt>sys/ptrace.hE<gt>>\n" |
| 91 |
msgstr "B<#include E<lt>sys/ptrace.hE<gt>>\n" |
| 92 |
|
| 93 |
#. type: Plain text |
| 94 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 95 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 96 |
#, no-wrap |
| 97 |
msgid "" |
| 98 |
"B<long ptrace(enum __ptrace_request >I<op>B<, pid_t >I<pid>B<,>\n" |
| 99 |
"B< void *>I<addr>B<, void *>I<data>B<);>\n" |
| 100 |
msgstr "" |
| 101 |
"B<long ptrace(enum __ptrace_request >I<op>B<, pid_t >I<pid>B<,>\n" |
| 102 |
"B< void *>I<addr>B<, void *>I<data>B<);>\n" |
| 103 |
|
| 104 |
#. type: SH |
| 105 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 106 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 107 |
#, no-wrap |
| 108 |
msgid "DESCRIPTION" |
| 109 |
msgstr "DESCRIPTION" |
| 110 |
|
| 111 |
#. type: Plain text |
| 112 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 113 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 114 |
msgid "" |
| 115 |
"The B<ptrace>() system call provides a means by which one process (the " |
| 116 |
"\"tracer\") may observe and control the execution of another process (the " |
| 117 |
"\"tracee\"), and examine and change the tracee's memory and registers. It " |
| 118 |
"is primarily used to implement breakpoint debugging and system call tracing." |
| 119 |
msgstr "" |
| 120 |
"L'appel système B<ptrace>() fournit à un processus (l'« observateur ») un " |
| 121 |
"moyen d'observer et de contrôler l'exécution d'un autre processus " |
| 122 |
"(l'« observé »), et d'examiner et éditer la mémoire et les registres de " |
| 123 |
"l'observé. L'utilisation principale de cette fonction est l'implémentation " |
| 124 |
"de points d'arrêt pour le débogage, et pour suivre les appels système." |
| 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 "" |
| 130 |
"A tracee first needs to be attached to the tracer. Attachment and " |
| 131 |
"subsequent commands are per thread: in a multithreaded process, every thread " |
| 132 |
"can be individually attached to a (potentially different) tracer, or left " |
| 133 |
"not attached and thus not debugged. Therefore, \"tracee\" always means " |
| 134 |
"\"(one) thread\", never \"a (possibly multithreaded) process\". Ptrace " |
| 135 |
"commands are always sent to a specific tracee using a call of the form" |
| 136 |
msgstr "" |
| 137 |
"Un observé doit d'abord être attaché à l'observateur. L'attachement et les " |
| 138 |
"commandes suivantes sont par thread : dans un processus multithreadé, chaque " |
| 139 |
"thread peut être attaché individuellement à un observateur (éventuellement " |
| 140 |
"différent), ou être laissé détaché et donc non débogué. Par conséquent, " |
| 141 |
"l'« observé » signifie toujours « (un) thread », jamais « un processus " |
| 142 |
"(éventuellement multithreadé) ». Les commandes ptrace sont toujours envoyées " |
| 143 |
"à un observé spécifique en utilisant un appel de la forme" |
| 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 |
#, no-wrap |
| 149 |
msgid "ptrace(PTRACE_foo, pid, ...)\n" |
| 150 |
msgstr "ptrace(PTRACE_truc, pid, ...)\n" |
| 151 |
|
| 152 |
#. type: Plain text |
| 153 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 154 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 155 |
msgid "where I<pid> is the thread ID of the corresponding Linux thread." |
| 156 |
msgstr "où I<pid> est l'identifiant de thread du thread Linux correspondant." |
| 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 |
"(Note that in this page, a \"multithreaded process\" means a thread group " |
| 163 |
"consisting of threads created using the B<clone>(2) B<CLONE_THREAD> flag.)" |
| 164 |
msgstr "" |
| 165 |
"(Remarquez que dans cette page, un « processus multithreadé » signifie un " |
| 166 |
"groupe de threads constitué de threads créés en utilisant l'attribut " |
| 167 |
"B<CLONE_THREAD> de B<clone>(2).)" |
| 168 |
|
| 169 |
#. type: Plain text |
| 170 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 171 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 172 |
msgid "" |
| 173 |
"A process can initiate a trace by calling B<fork>(2) and having the " |
| 174 |
"resulting child do a B<PTRACE_TRACEME>, followed (typically) by an " |
| 175 |
"B<execve>(2). Alternatively, one process may commence tracing another " |
| 176 |
"process using B<PTRACE_ATTACH> or B<PTRACE_SEIZE>." |
| 177 |
msgstr "" |
| 178 |
"Un processus peut démarrer un suivi en appelant B<fork>(2) et faire en sorte " |
| 179 |
"que l'enfant créé fasse un B<PTRACE_TRACEME>, suivi (en général) par un " |
| 180 |
"B<execve>(2). Autrement, un processus peut commencer à suivre un autre " |
| 181 |
"processus en utilisant B<PTRACE_ATTACH> ou B<PTRACE_SEIZE>." |
| 182 |
|
| 183 |
#. type: Plain text |
| 184 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 185 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 186 |
msgid "" |
| 187 |
"While being traced, the tracee will stop each time a signal is delivered, " |
| 188 |
"even if the signal is being ignored. (An exception is B<SIGKILL>, which has " |
| 189 |
"its usual effect.) The tracer will be notified at its next call to " |
| 190 |
"B<waitpid>(2) (or one of the related \"wait\" system calls); that call will " |
| 191 |
"return a I<status> value containing information that indicates the cause of " |
| 192 |
"the stop in the tracee. While the tracee is stopped, the tracer can use " |
| 193 |
"various ptrace operations to inspect and modify the tracee. The tracer then " |
| 194 |
"causes the tracee to continue, optionally ignoring the delivered signal (or " |
| 195 |
"even delivering a different signal instead)." |
| 196 |
msgstr "" |
| 197 |
"L'observé s'arrêtera à chaque fois qu'un signal lui sera distribué, même si " |
| 198 |
"le signal est ignoré (à l'exception de B<SIGKILL> qui a les effets " |
| 199 |
"habituels). L'observateur sera prévenu à son prochain appel de B<waitpid>(2) " |
| 200 |
"(ou un des appels système liés à « wait ») ; cet appel renverra une valeur " |
| 201 |
"I<status> contenant les renseignements indiquant la raison de l'arrêt de " |
| 202 |
"l'observé. Lorsque l'observé est arrêté, l'observateur peut utiliser " |
| 203 |
"plusieurs opérations ptrace pour inspecter et modifier l'observé. " |
| 204 |
"L'observateur peut également laisser continuer l'exécution de l'observé, en " |
| 205 |
"ignorant éventuellement le signal ayant déclenché l'arrêt, ou même en " |
| 206 |
"envoyant un autre signal." |
| 207 |
|
| 208 |
#. type: Plain text |
| 209 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 210 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 211 |
msgid "" |
| 212 |
"If the B<PTRACE_O_TRACEEXEC> option is not in effect, all successful calls " |
| 213 |
"to B<execve>(2) by the traced process will cause it to be sent a B<SIGTRAP> " |
| 214 |
"signal, giving the parent a chance to gain control before the new program " |
| 215 |
"begins execution." |
| 216 |
msgstr "" |
| 217 |
"Si l'option B<PTRACE_O_TRACEEXEC> n'est pas effective, tous les appels " |
| 218 |
"réussis d'B<execve>(2) par le processus suivi déclencheront l'envoi d'un " |
| 219 |
"signal B<SIGTRAP>, ce qui permet au parent de reprendre le contrôle avant " |
| 220 |
"que le nouveau programme commence son exécution." |
| 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 |
"When the tracer is finished tracing, it can cause the tracee to continue " |
| 227 |
"executing in a normal, untraced mode via B<PTRACE_DETACH>." |
| 228 |
msgstr "" |
| 229 |
"Quand l'observateur a fini le suivi, il peut forcer l'observé à continuer " |
| 230 |
"normalement, en mode non suivi, avec B<PTRACE_DETACH>." |
| 231 |
|
| 232 |
#. type: Plain text |
| 233 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 234 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 235 |
msgid "The value of I<op> determines the operation to be performed:" |
| 236 |
msgstr "" |
| 237 |
"La valeur de l'argument I<op> indique précisément l'opération à entreprendre." |
| 238 |
|
| 239 |
#. type: TP |
| 240 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 241 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 242 |
#, no-wrap |
| 243 |
msgid "B<PTRACE_TRACEME>" |
| 244 |
msgstr "B<PTRACE_TRACEME>" |
| 245 |
|
| 246 |
#. type: Plain text |
| 247 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 248 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 249 |
msgid "" |
| 250 |
"Indicate that this process is to be traced by its parent. A process " |
| 251 |
"probably shouldn't make this operation if its parent isn't expecting to " |
| 252 |
"trace it. (I<pid>, I<addr>, and I<data> are ignored.)" |
| 253 |
msgstr "" |
| 254 |
"Le processus en cours va être suivi par son parent. Un processus ne devrait " |
| 255 |
"sans doute pas envoyer cette opération si son parent n'est pas prêt à le " |
| 256 |
"suivre. Dans cette requête I<pid>, I<addr>, et I<data> sont ignorés." |
| 257 |
|
| 258 |
#. type: Plain text |
| 259 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 260 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 261 |
msgid "" |
| 262 |
"The B<PTRACE_TRACEME> operation is used only by the tracee; the remaining " |
| 263 |
"operations are used only by the tracer. In the following operations, I<pid> " |
| 264 |
"specifies the thread ID of the tracee to be acted on. For operations other " |
| 265 |
"than B<PTRACE_ATTACH>, B<PTRACE_SEIZE>, B<PTRACE_INTERRUPT>, and " |
| 266 |
"B<PTRACE_KILL>, the tracee must be stopped." |
| 267 |
msgstr "" |
| 268 |
"L'opération B<PTRACE_TRACEME> ne sert qu'à l'observé. Les opérations " |
| 269 |
"restantes ne servent qu'à l'observateur. Dans les observations suivantes, " |
| 270 |
"I<pid> précise l'identifiant de thread de l'observé sur lequel agir. Pour " |
| 271 |
"d'autres opérations que B<PTRACE_ATTACH>, B<PTRACE_SEIZE>, " |
| 272 |
"B<PTRACE_INTERRUPT> et B<PTRACE_KILL>, l'observé doit être arrêté." |
| 273 |
|
| 274 |
#. type: TP |
| 275 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 276 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 277 |
#, no-wrap |
| 278 |
msgid "B<PTRACE_PEEKTEXT>" |
| 279 |
msgstr "B<PTRACE_PEEKTEXT>" |
| 280 |
|
| 281 |
#. type: TQ |
| 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<PTRACE_PEEKDATA>" |
| 286 |
msgstr "B<PTRACE_PEEKDATA>" |
| 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 |
msgid "" |
| 292 |
"Read a word at the address I<addr> in the tracee's memory, returning the " |
| 293 |
"word as the result of the B<ptrace>() call. Linux does not have separate " |
| 294 |
"text and data address spaces, so these two operations are currently " |
| 295 |
"equivalent. (I<data> is ignored; but see NOTES.)" |
| 296 |
msgstr "" |
| 297 |
"Lire un mot à l'adresse I<addr> dans l'espace mémoire de l'observé et le " |
| 298 |
"renvoyer en résultat de l'appel B<ptrace>(). Linux ne sépare pas les espaces " |
| 299 |
"d'adressage de code et de données, donc ces deux opérations sont " |
| 300 |
"équivalentes (I<data> est ignoré, consultez la section NOTES)." |
| 301 |
|
| 302 |
#. type: TP |
| 303 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 304 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 305 |
#, no-wrap |
| 306 |
msgid "B<PTRACE_PEEKUSER>" |
| 307 |
msgstr "B<PTRACE_PEEKUSER>" |
| 308 |
|
| 309 |
#. PTRACE_PEEKUSR in kernel source, but glibc uses PTRACE_PEEKUSER, |
| 310 |
#. and that is the name that seems common on other systems. |
| 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 |
"Read a word at offset I<addr> in the tracee's USER area, which holds the " |
| 316 |
"registers and other information about the process (see I<E<lt>sys/" |
| 317 |
"user.hE<gt>>). The word is returned as the result of the B<ptrace>() " |
| 318 |
"call. Typically, the offset must be word-aligned, though this might vary by " |
| 319 |
"architecture. See NOTES. (I<data> is ignored; but see NOTES.)" |
| 320 |
msgstr "" |
| 321 |
"Lire un mot à la position I<addr> dans l'espace USER de l'observé, qui " |
| 322 |
"contient les registres et divers renseignements sur le processus (voir " |
| 323 |
"I<E<lt>sys/user.hE<gt>>). Le mot est renvoyée en résultat de B<ptrace>(). En " |
| 324 |
"principe, l'adresse doit être alignée sur une frontière de mots, bien que " |
| 325 |
"cela varie selon les architectures. Consultez la section B<NOTES>. (I<data> " |
| 326 |
"est ignoré, consultez la section B<NOTES>)." |
| 327 |
|
| 328 |
#. type: TP |
| 329 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 330 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 331 |
#, no-wrap |
| 332 |
msgid "B<PTRACE_POKETEXT>" |
| 333 |
msgstr "B<PTRACE_POKETEXT>" |
| 334 |
|
| 335 |
#. type: TQ |
| 336 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 337 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 338 |
#, no-wrap |
| 339 |
msgid "B<PTRACE_POKEDATA>" |
| 340 |
msgstr "B<PTRACE_POKEDATA>" |
| 341 |
|
| 342 |
#. type: Plain text |
| 343 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 344 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 345 |
msgid "" |
| 346 |
"Copy the word I<data> to the address I<addr> in the tracee's memory. As for " |
| 347 |
"B<PTRACE_PEEKTEXT> and B<PTRACE_PEEKDATA>, these two operations are " |
| 348 |
"currently equivalent." |
| 349 |
msgstr "" |
| 350 |
"Copier le mot I<data> vers l'adresse I<addr> de la mémoire de l'observé. " |
| 351 |
"Comme pour B<PTRACE_PEEKTEXT> et B<PTRACE_PEEKDATA>, ces deux opérations " |
| 352 |
"sont équivalentes." |
| 353 |
|
| 354 |
#. type: TP |
| 355 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 356 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 357 |
#, no-wrap |
| 358 |
msgid "B<PTRACE_POKEUSER>" |
| 359 |
msgstr "B<PTRACE_POKEUSER>" |
| 360 |
|
| 361 |
#. PTRACE_POKEUSR in kernel source, but glibc uses PTRACE_POKEUSER, |
| 362 |
#. and that is the name that seems common on other systems. |
| 363 |
#. FIXME In the preceding sentence, which modifications are disallowed, |
| 364 |
#. and when they are disallowed, how does user space discover that fact? |
| 365 |
#. type: Plain text |
| 366 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 367 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 368 |
msgid "" |
| 369 |
"Copy the word I<data> to offset I<addr> in the tracee's USER area. As for " |
| 370 |
"B<PTRACE_PEEKUSER>, the offset must typically be word-aligned. In order to " |
| 371 |
"maintain the integrity of the kernel, some modifications to the USER area " |
| 372 |
"are disallowed." |
| 373 |
msgstr "" |
| 374 |
"Copier le mot I<data> vers l'adresse I<addr> dans l'espace USER de " |
| 375 |
"l'observé. Comme pour B<PTRACE_PEEKUSER>, les emplacements doivent être " |
| 376 |
"alignés sur une frontière de mot. Pour maintenir l'intégrité du noyau, " |
| 377 |
"certaines modifications de la zone USER sont interdites." |
| 378 |
|
| 379 |
#. type: TP |
| 380 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 381 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 382 |
#, no-wrap |
| 383 |
msgid "B<PTRACE_GETREGS>" |
| 384 |
msgstr "B<PTRACE_GETREGS>" |
| 385 |
|
| 386 |
#. type: TQ |
| 387 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 388 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 389 |
#, no-wrap |
| 390 |
msgid "B<PTRACE_GETFPREGS>" |
| 391 |
msgstr "B<PTRACE_GETFPREGS>" |
| 392 |
|
| 393 |
#. type: Plain text |
| 394 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 395 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 396 |
msgid "" |
| 397 |
"Copy the tracee's general-purpose or floating-point registers, respectively, " |
| 398 |
"to the address I<data> in the tracer. See I<E<lt>sys/user.hE<gt>> for " |
| 399 |
"information on the format of this data. (I<addr> is ignored.) Note that " |
| 400 |
"SPARC systems have the meaning of I<data> and I<addr> reversed; that is, " |
| 401 |
"I<data> is ignored and the registers are copied to the address I<addr>. " |
| 402 |
"B<PTRACE_GETREGS> and B<PTRACE_GETFPREGS> are not present on all " |
| 403 |
"architectures." |
| 404 |
msgstr "" |
| 405 |
"Copier les registres généraux ou du processeur en virgule flottante de " |
| 406 |
"l'observé, vers l'adresse I<data> de l'observateur. Consultez I<E<lt>sys/" |
| 407 |
"user.hE<gt>> pour les détails sur le format de ces données (I<addr> est " |
| 408 |
"ignoré). Remarquez que les systèmes SPARC ont la signification de I<data> et " |
| 409 |
"I<addr> inversée, c'est-à-dire que I<data> est ignoré et les registres sont " |
| 410 |
"copiés vers l'adresse I<addr>. B<PTRACE_GETREGS> et B<PTRACE_GETFPREGS> ne " |
| 411 |
"sont pas présents sur toutes les architectures." |
| 412 |
|
| 413 |
#. type: TP |
| 414 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 415 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 416 |
#, no-wrap |
| 417 |
msgid "B<PTRACE_GETREGSET> (since Linux 2.6.34)" |
| 418 |
msgstr "B<PTRACE_GETREGSET> (depuis Linux 2.6.34)" |
| 419 |
|
| 420 |
#. type: Plain text |
| 421 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 422 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 423 |
msgid "" |
| 424 |
"Read the tracee's registers. I<addr> specifies, in an architecture-" |
| 425 |
"dependent way, the type of registers to be read. B<NT_PRSTATUS> (with " |
| 426 |
"numerical value 1) usually results in reading of general-purpose " |
| 427 |
"registers. If the CPU has, for example, floating-point and/or vector " |
| 428 |
"registers, they can be retrieved by setting I<addr> to the corresponding " |
| 429 |
"B<NT_foo> constant. I<data> points to a B<struct iovec>, which describes " |
| 430 |
"the destination buffer's location and size. On return, the kernel modifies " |
| 431 |
"B<iov.len> to indicate the actual number of bytes returned." |
| 432 |
msgstr "" |
| 433 |
"Lire les registres de l'observé. I<addr> indique, de manière dépendante de " |
| 434 |
"l'architecture, le type de registres à lire. B<NT_PRSTATUS> (avec une valeur " |
| 435 |
"numérique de 1) a pour conséquence habituelle la lecture de registres " |
| 436 |
"généraux. Si le processeur a, par exemple, des registres en virgule " |
| 437 |
"flottante ou en vecteur, ils peuvent être récupérés en configurant I<addr> à " |
| 438 |
"la constante B<NT_foo> correspondante. I<data> pointe vers une B<struct " |
| 439 |
"iovec>, qui décrit l'emplacement et la taille du tampon de destination. Le " |
| 440 |
"noyau modifie B<iov.len> au retour pour indiquer le véritable nombre " |
| 441 |
"d'octets renvoyés." |
| 442 |
|
| 443 |
#. type: TP |
| 444 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 445 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 446 |
#, no-wrap |
| 447 |
msgid "B<PTRACE_SETREGS>" |
| 448 |
msgstr "B<PTRACE_SETRGS>" |
| 449 |
|
| 450 |
#. type: TQ |
| 451 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 452 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 453 |
#, no-wrap |
| 454 |
msgid "B<PTRACE_SETFPREGS>" |
| 455 |
msgstr "B<PTRACE_SETFPREGS>" |
| 456 |
|
| 457 |
#. FIXME . In the preceding sentence, which modifications are disallowed, |
| 458 |
#. and when they are disallowed, how does user space discover that fact? |
| 459 |
#. type: Plain text |
| 460 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 461 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 462 |
msgid "" |
| 463 |
"Modify the tracee's general-purpose or floating-point registers, " |
| 464 |
"respectively, from the address I<data> in the tracer. As for " |
| 465 |
"B<PTRACE_POKEUSER>, some general-purpose register modifications may be " |
| 466 |
"disallowed. (I<addr> is ignored.) Note that SPARC systems have the meaning " |
| 467 |
"of I<data> and I<addr> reversed; that is, I<data> is ignored and the " |
| 468 |
"registers are copied from the address I<addr>. B<PTRACE_SETREGS> and " |
| 469 |
"B<PTRACE_SETFPREGS> are not present on all architectures." |
| 470 |
msgstr "" |
| 471 |
"Modifier les registres généraux ou du processeur en virgule flottante de " |
| 472 |
"l'observé, depuis l'adresse I<data> de l'observateur. Comme pour " |
| 473 |
"B<PTRACE_POKEUSER>, certaines modifications de registres généraux pourraient " |
| 474 |
"être interdites (I<addr> est ignoré). Remarquez que les systèmes SPARC ont " |
| 475 |
"la signification de I<data> et I<addr> inversée, c'est-à-dire que I<data> " |
| 476 |
"est ignoré et les registres sont copiés depuis l'adresse I<addr>. " |
| 477 |
"B<PTRACE_SETREGS> et B<PTRACE_SETFPREGS> ne sont pas présents sur toutes les " |
| 478 |
"architectures." |
| 479 |
|
| 480 |
#. type: TP |
| 481 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 482 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 483 |
#, no-wrap |
| 484 |
msgid "B<PTRACE_SETREGSET> (since Linux 2.6.34)" |
| 485 |
msgstr "B<PTRACE_SETREGSET> (depuis Linux 2.6.34)" |
| 486 |
|
| 487 |
#. type: Plain text |
| 488 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 489 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 490 |
msgid "" |
| 491 |
"Modify the tracee's registers. The meaning of I<addr> and I<data> is " |
| 492 |
"analogous to B<PTRACE_GETREGSET>." |
| 493 |
msgstr "" |
| 494 |
"Modifier les registres de l'observé. La signification de I<addr> et I<data> " |
| 495 |
"est analogue à B<PTRACE_GETREGSET>." |
| 496 |
|
| 497 |
#. type: TP |
| 498 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 499 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 500 |
#, no-wrap |
| 501 |
msgid "B<PTRACE_GETSIGINFO> (since Linux 2.3.99-pre6)" |
| 502 |
msgstr "B<PTRACE_GETSIGINFO> (depuis Linux 2.3.99-pre6)" |
| 503 |
|
| 504 |
#. type: Plain text |
| 505 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 506 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 507 |
msgid "" |
| 508 |
"Retrieve information about the signal that caused the stop. Copy a " |
| 509 |
"I<siginfo_t> structure (see B<sigaction>(2)) from the tracee to the address " |
| 510 |
"I<data> in the tracer. (I<addr> is ignored.)" |
| 511 |
msgstr "" |
| 512 |
"Récupérer des renseignements sur le signal qui a provoqué l'arrêt. Pour ce " |
| 513 |
"faire, copier une structure I<siginfo_t> (consultez B<sigaction>(2)) de " |
| 514 |
"l'observé à l'adresse I<data> de l'observateur (I<addr> est ignoré)." |
| 515 |
|
| 516 |
#. type: TP |
| 517 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 518 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 519 |
#, no-wrap |
| 520 |
msgid "B<PTRACE_SETSIGINFO> (since Linux 2.3.99-pre6)" |
| 521 |
msgstr "B<PTRACE_SETSIGINFO> (depuis Linux 2.3.99-pre6)" |
| 522 |
|
| 523 |
#. type: Plain text |
| 524 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 525 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 526 |
msgid "" |
| 527 |
"Set signal information: copy a I<siginfo_t> structure from the address " |
| 528 |
"I<data> in the tracer to the tracee. This will affect only signals that " |
| 529 |
"would normally be delivered to the tracee and were caught by the tracer. It " |
| 530 |
"may be difficult to tell these normal signals from synthetic signals " |
| 531 |
"generated by B<ptrace>() itself. (I<addr> is ignored.)" |
| 532 |
msgstr "" |
| 533 |
"Définir les renseignements de signaux : copier une structure I<siginfo_t> de " |
| 534 |
"l'adresse I<data> de l'observateur vers l'observé. Cela n'affecte que les " |
| 535 |
"signaux qui auraient dû être distribués à l'observé et ont été interceptés à " |
| 536 |
"cause de B<ptrace>(). Différencier ces signaux normaux des signaux créés par " |
| 537 |
"B<ptrace>() lui-même peut être délicat (I<addr> est ignoré)." |
| 538 |
|
| 539 |
#. type: TP |
| 540 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 541 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 542 |
#, no-wrap |
| 543 |
msgid "B<PTRACE_PEEKSIGINFO> (since Linux 3.10)" |
| 544 |
msgstr "B<PTRACE_PEEKSIGINFO> (depuis Linux 3.10)" |
| 545 |
|
| 546 |
#. commit 84c751bd4aebbaae995fe32279d3dba48327bad4 |
| 547 |
#. type: Plain text |
| 548 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 549 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 550 |
msgid "" |
| 551 |
"Retrieve I<siginfo_t> structures without removing signals from a queue. " |
| 552 |
"I<addr> points to a I<ptrace_peeksiginfo_args> structure that specifies the " |
| 553 |
"ordinal position from which copying of signals should start, and the number " |
| 554 |
"of signals to copy. I<siginfo_t> structures are copied into the buffer " |
| 555 |
"pointed to by I<data>. The return value contains the number of copied " |
| 556 |
"signals (zero indicates that there is no signal corresponding to the " |
| 557 |
"specified ordinal position). Within the returned I<siginfo> structures, the " |
| 558 |
"I<si_code> field includes information (B<__SI_CHLD>, B<__SI_FAULT>, etc.) " |
| 559 |
"that are not otherwise exposed to user space." |
| 560 |
msgstr "" |
| 561 |
"Récupérer les structures I<siginfo_t> sans supprimer les signaux d’une file " |
| 562 |
"d’attente. I<addr> pointe vers une structure I<ptrace_peeksiginfo_args> qui " |
| 563 |
"indique la position ordinale à partir de laquelle la copie des signaux " |
| 564 |
"devrait commencer et le nombre de signaux à copier. Les structures " |
| 565 |
"I<siginfo_t> sont copiées dans le tampon pointé par I<data>. La valeur de " |
| 566 |
"retour contient le nombre de signaux copiés (zéro indique qu’il n’y a pas de " |
| 567 |
"signal correspondant à la position ordinale indiquée). Dans les structures " |
| 568 |
"I<siginfo> renvoyées, le champ I<si_code> contient des renseignements " |
| 569 |
"(B<__SI_CHLD>, B<__SI_FAULT>, etc.) qui sinon ne sont pas exposés à l’espace " |
| 570 |
"utilisateur." |
| 571 |
|
| 572 |
#. type: Plain text |
| 573 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 574 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 575 |
#, no-wrap |
| 576 |
msgid "" |
| 577 |
"struct ptrace_peeksiginfo_args {\n" |
| 578 |
" u64 off; /* Ordinal position in queue at which\n" |
| 579 |
" to start copying signals */\n" |
| 580 |
" u32 flags; /* PTRACE_PEEKSIGINFO_SHARED or 0 */\n" |
| 581 |
" s32 nr; /* Number of signals to copy */\n" |
| 582 |
"};\n" |
| 583 |
msgstr "" |
| 584 |
"struct ptrace_peeksiginfo_args {\n" |
| 585 |
" u64 off; /* Position ordinale dans la file d’attente\n" |
| 586 |
" où commencer la copie de signaux */\n" |
| 587 |
" u32 flags; /* PTRACE_PEEKSIGINFO_SHARED ou 0 */\n" |
| 588 |
" s32 nr; /* Nombre de signaux à copier */\n" |
| 589 |
"};\n" |
| 590 |
|
| 591 |
#. type: Plain text |
| 592 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 593 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 594 |
msgid "" |
| 595 |
"Currently, there is only one flag, B<PTRACE_PEEKSIGINFO_SHARED>, for dumping " |
| 596 |
"signals from the process-wide signal queue. If this flag is not set, " |
| 597 |
"signals are read from the per-thread queue of the specified thread." |
| 598 |
msgstr "" |
| 599 |
"Actuellement, seul l’attribut B<PTRACE_PEEKSIGINFO_SHARED> permet de vider " |
| 600 |
"les signaux de la file de signaux par processus. Si cet attribut n’est pas " |
| 601 |
"défini, les signaux sont lus depuis la file par thread du thread indiqué." |
| 602 |
|
| 603 |
#. type: TP |
| 604 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 605 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 606 |
#, no-wrap |
| 607 |
msgid "B<PTRACE_GETSIGMASK> (since Linux 3.11)" |
| 608 |
msgstr "B<PTRACE_GETSIGMASK> (depuis Linux 3.11)" |
| 609 |
|
| 610 |
#. commit 29000caecbe87b6b66f144f72111f0d02fbbf0c1 |
| 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 |
"Place a copy of the mask of blocked signals (see B<sigprocmask>(2)) in the " |
| 616 |
"buffer pointed to by I<data>, which should be a pointer to a buffer of type " |
| 617 |
"I<sigset_t>. The I<addr> argument contains the size of the buffer pointed " |
| 618 |
"to by I<data> (i.e., I<sizeof(sigset_t)>)." |
| 619 |
msgstr "" |
| 620 |
"Placer une copie du masque des signaux bloqués (consultez B<sigprocmask>(2)) " |
| 621 |
"dans le tampon pointé par I<data> qui devrait être un pointeur vers un " |
| 622 |
"tampon de type I<sigset_t>. L’argument I<addr> contient la taille du tampon " |
| 623 |
"pointé par I<data> (c’est-à-dire I<sizeof(sigset_t)>)." |
| 624 |
|
| 625 |
#. type: TP |
| 626 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 627 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 628 |
#, no-wrap |
| 629 |
msgid "B<PTRACE_SETSIGMASK> (since Linux 3.11)" |
| 630 |
msgstr "B<PTRACE_SETSIGMASK> (depuis Linux 3.11)" |
| 631 |
|
| 632 |
#. type: Plain text |
| 633 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 634 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 635 |
msgid "" |
| 636 |
"Change the mask of blocked signals (see B<sigprocmask>(2)) to the value " |
| 637 |
"specified in the buffer pointed to by I<data>, which should be a pointer to " |
| 638 |
"a buffer of type I<sigset_t>. The I<addr> argument contains the size of the " |
| 639 |
"buffer pointed to by I<data> (i.e., I<sizeof(sigset_t)>)." |
| 640 |
msgstr "" |
| 641 |
"Modifier le masque des signaux bloqués (consultez B<sigprocmask>(2)) à la " |
| 642 |
"valeur indiquée dans le tampon pointé par I<data> qui devrait être un " |
| 643 |
"pointeur vers un tampon de type I<sigset_t>. L’argument I<addr> contient la " |
| 644 |
"taille du tampon pointé par I<data> (c’est-à-dire I<sizeof(sigset_t)>)." |
| 645 |
|
| 646 |
#. type: TP |
| 647 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 648 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 649 |
#, no-wrap |
| 650 |
msgid "B<PTRACE_SETOPTIONS> (since Linux 2.4.6; see BUGS for caveats)" |
| 651 |
msgstr "B<PTRACE_SETOPTIONS> (depuis Linux 2.4.6, consultez les remarques de B<BOGUES>)" |
| 652 |
|
| 653 |
#. type: Plain text |
| 654 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 655 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 656 |
msgid "" |
| 657 |
"Set ptrace options from I<data>. (I<addr> is ignored.) I<data> is " |
| 658 |
"interpreted as a bit mask of options, which are specified by the following " |
| 659 |
"flags:" |
| 660 |
msgstr "" |
| 661 |
"Définir les options de ptrace à partir de l'adresse I<data> (I<addr> est " |
| 662 |
"ignoré). I<data> est interprété comme un masque d'options, qui est construit " |
| 663 |
"à partir des attributs suivants." |
| 664 |
|
| 665 |
#. type: TP |
| 666 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 667 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 668 |
#, no-wrap |
| 669 |
msgid "B<PTRACE_O_EXITKILL> (since Linux 3.8)" |
| 670 |
msgstr "B<PTRACE_O_EXITKILL> (depuis Linux 3.8)" |
| 671 |
|
| 672 |
#. commit 992fb6e170639b0849bace8e49bf31bd37c4123 |
| 673 |
#. type: Plain text |
| 674 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 675 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 676 |
msgid "" |
| 677 |
"Send a B<SIGKILL> signal to the tracee if the tracer exits. This option is " |
| 678 |
"useful for ptrace jailers that want to ensure that tracees can never escape " |
| 679 |
"the tracer's control." |
| 680 |
msgstr "" |
| 681 |
"Envoyer un signal B<SIGKILL> à l'observé si l'observateur existe. Cet option " |
| 682 |
"est utile pour les gardiens ptrace qui veulent s'assurer que les observés ne " |
| 683 |
"peuvent jamais échapper au contrôle de l'observateur." |
| 684 |
|
| 685 |
#. type: TP |
| 686 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 687 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 688 |
#, no-wrap |
| 689 |
msgid "B<PTRACE_O_TRACECLONE> (since Linux 2.5.46)" |
| 690 |
msgstr "B<PTRACE_O_TRACECLONE> (depuis Linux 2.5.46)" |
| 691 |
|
| 692 |
#. type: Plain text |
| 693 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 694 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 695 |
msgid "" |
| 696 |
"Stop the tracee at the next B<clone>(2) and automatically start tracing the " |
| 697 |
"newly cloned process, which will start with a B<SIGSTOP>, or " |
| 698 |
"B<PTRACE_EVENT_STOP> if B<PTRACE_SEIZE> was used. A B<waitpid>(2) by the " |
| 699 |
"tracer will return a I<status> value such that" |
| 700 |
msgstr "" |
| 701 |
"Arrêter l'observé au prochain B<clone>(2) et commencer automatiquement à " |
| 702 |
"suivre le nouveau processus cloné, qui démarrera avec un signal B<SIGSTOP>, " |
| 703 |
"ou B<PTRACE_EVENT_STOP> si B<PTRACE_SEIZE> est utilisé. Un B<waitpid>(2) par " |
| 704 |
"l'observateur renverra une valeur I<status> comme" |
| 705 |
|
| 706 |
#. type: Plain text |
| 707 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 708 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 709 |
#, no-wrap |
| 710 |
msgid " statusE<gt>E<gt>8 == (SIGTRAP | (PTRACE_EVENT_CLONEE<lt>E<lt>8))\n" |
| 711 |
msgstr " statusE<gt>E<gt>8 == (SIGTRAP | (PTRACE_EVENT_CLONEE<lt>E<lt>8))\n" |
| 712 |
|
| 713 |
#. type: Plain text |
| 714 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 715 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 716 |
msgid "The PID of the new process can be retrieved with B<PTRACE_GETEVENTMSG>." |
| 717 |
msgstr "" |
| 718 |
"Le PID du nouveau processus peut être récupéré avec B<PTRACE_GETEVENTMSG>." |
| 719 |
|
| 720 |
#. type: Plain text |
| 721 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 722 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 723 |
msgid "" |
| 724 |
"This option may not catch B<clone>(2) calls in all cases. If the tracee " |
| 725 |
"calls B<clone>(2) with the B<CLONE_VFORK> flag, B<PTRACE_EVENT_VFORK> will " |
| 726 |
"be delivered instead if B<PTRACE_O_TRACEVFORK> is set; otherwise if the " |
| 727 |
"tracee calls B<clone>(2) with the exit signal set to B<SIGCHLD>, " |
| 728 |
"B<PTRACE_EVENT_FORK> will be delivered if B<PTRACE_O_TRACEFORK> is set." |
| 729 |
msgstr "" |
| 730 |
"Cette option peut ne pas intercepter tous les appels B<clone>(2). Si " |
| 731 |
"l'observé appelle B<clone>(2) avec l'attribut B<CLONE_VFORK>, " |
| 732 |
"B<PTRACE_EVENT_VFORK> sera envoyé si B<PTRACE_O_TRACEVFORK> est utilisé. " |
| 733 |
"Sinon, si l'observé appelle B<clone>(2) avec B<SIGCHLD> comme signal de " |
| 734 |
"terminaison, B<PTRACE_EVENT_FORK> sera envoyé si B<PTRACE_O_TRACEFORK> est " |
| 735 |
"utilisé." |
| 736 |
|
| 737 |
#. type: TP |
| 738 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 739 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 740 |
#, no-wrap |
| 741 |
msgid "B<PTRACE_O_TRACEEXEC> (since Linux 2.5.46)" |
| 742 |
msgstr "B<PTRACE_O_TRACEEXEC> (depuis Linux 2.5.46)" |
| 743 |
|
| 744 |
#. type: Plain text |
| 745 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 746 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 747 |
msgid "" |
| 748 |
"Stop the tracee at the next B<execve>(2). A B<waitpid>(2) by the tracer " |
| 749 |
"will return a I<status> value such that" |
| 750 |
msgstr "" |
| 751 |
"Arrêter l'observé au prochain B<execve>(2). Un B<waitpid>(2) par " |
| 752 |
"l'observateur renverra une valeur I<status> comme" |
| 753 |
|
| 754 |
#. type: Plain text |
| 755 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 756 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 757 |
#, no-wrap |
| 758 |
msgid " statusE<gt>E<gt>8 == (SIGTRAP | (PTRACE_EVENT_EXECE<lt>E<lt>8))\n" |
| 759 |
msgstr " statusE<gt>E<gt>8 == (SIGTRAP | (PTRACE_EVENT_EXECE<lt>E<lt>8))\n" |
| 760 |
|
| 761 |
#. type: Plain text |
| 762 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 763 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 764 |
msgid "" |
| 765 |
"If the execing thread is not a thread group leader, the thread ID is reset " |
| 766 |
"to thread group leader's ID before this stop. Since Linux 3.0, the former " |
| 767 |
"thread ID can be retrieved with B<PTRACE_GETEVENTMSG>." |
| 768 |
msgstr "" |
| 769 |
"Si le thread en cours d'exécution n'est pas un leader de groupe de threads, " |
| 770 |
"l'identifiant de thread est réinitialisé à l'identifiant du leader de groupe " |
| 771 |
"de threads avant cet arrêt. Depuis Linux 3.0, le premier identifiant de " |
| 772 |
"thread peut être récupéré avec B<PTRACE_GETEVENTMSG>." |
| 773 |
|
| 774 |
#. type: TP |
| 775 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 776 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 777 |
#, no-wrap |
| 778 |
msgid "B<PTRACE_O_TRACEEXIT> (since Linux 2.5.60)" |
| 779 |
msgstr "B<PTRACE_O_TRACEEXIT> (depuis Linux 2.5.60)" |
| 780 |
|
| 781 |
#. type: Plain text |
| 782 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 783 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 784 |
msgid "" |
| 785 |
"Stop the tracee at exit. A B<waitpid>(2) by the tracer will return a " |
| 786 |
"I<status> value such that" |
| 787 |
msgstr "" |
| 788 |
"Arrêter l'observé à la terminaison. Un B<waitpid>(2) par l'observateur " |
| 789 |
"renverra une valeur I<status> comme" |
| 790 |
|
| 791 |
#. type: Plain text |
| 792 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 793 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 794 |
#, no-wrap |
| 795 |
msgid " statusE<gt>E<gt>8 == (SIGTRAP | (PTRACE_EVENT_EXITE<lt>E<lt>8))\n" |
| 796 |
msgstr " statusE<gt>E<gt>8 == (SIGTRAP | (PTRACE_EVENT_EXITE<lt>E<lt>8))\n" |
| 797 |
|
| 798 |
#. type: Plain text |
| 799 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 800 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 801 |
msgid "The tracee's exit status can be retrieved with B<PTRACE_GETEVENTMSG>." |
| 802 |
msgstr "" |
| 803 |
"L'état de fin de l'observé peut être récupéré avec B<PTRACE_GETEVENTMSG>." |
| 804 |
|
| 805 |
#. type: Plain text |
| 806 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 807 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 808 |
msgid "" |
| 809 |
"The tracee is stopped early during process exit, when registers are still " |
| 810 |
"available, allowing the tracer to see where the exit occurred, whereas the " |
| 811 |
"normal exit notification is done after the process is finished exiting. " |
| 812 |
"Even though context is available, the tracer cannot prevent the exit from " |
| 813 |
"happening at this point." |
| 814 |
msgstr "" |
| 815 |
"L'observé est arrêté tôt dans la terminaison du processus, alors que les " |
| 816 |
"registres sont toujours disponibles, ce qui permet au processus utilisant " |
| 817 |
"B<ptrace>() de voir où la terminaison s'est produite, alors que la " |
| 818 |
"notification de terminaison normale a lieu à la fin de cette terminaison. " |
| 819 |
"Même si le contexte est disponible, l'observateur ne peut pas empêcher la " |
| 820 |
"terminaison à ce moment là." |
| 821 |
|
| 822 |
#. type: TP |
| 823 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 824 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 825 |
#, no-wrap |
| 826 |
msgid "B<PTRACE_O_TRACEFORK> (since Linux 2.5.46)" |
| 827 |
msgstr "B<PTRACE_O_TRACEFORK> (depuis Linux 2.5.46)" |
| 828 |
|
| 829 |
#. type: Plain text |
| 830 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 831 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 832 |
msgid "" |
| 833 |
"Stop the tracee at the next B<fork>(2) and automatically start tracing the " |
| 834 |
"newly forked process, which will start with a B<SIGSTOP>, or " |
| 835 |
"B<PTRACE_EVENT_STOP> if B<PTRACE_SEIZE> was used. A B<waitpid>(2) by the " |
| 836 |
"tracer will return a I<status> value such that" |
| 837 |
msgstr "" |
| 838 |
"Arrêter l'observé au prochain B<fork>(2) et commencer automatiquement à " |
| 839 |
"suivre le nouveau processus créé, qui démarrera avec un signal B<SIGSTOP>, " |
| 840 |
"ou B<PTRACE_EVENT_STOP> si B<PTRACE_SEIZE> est utilisé. Un B<waitpid>(2) par " |
| 841 |
"l'observateur renverra une valeur I<status> comme" |
| 842 |
|
| 843 |
#. type: Plain text |
| 844 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 845 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 846 |
#, no-wrap |
| 847 |
msgid " statusE<gt>E<gt>8 == (SIGTRAP | (PTRACE_EVENT_FORKE<lt>E<lt>8))\n" |
| 848 |
msgstr " statusE<gt>E<gt>8 == (SIGTRAP | (PTRACE_EVENT_FORKE<lt>E<lt>8))\n" |
| 849 |
|
| 850 |
#. type: TP |
| 851 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 852 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 853 |
#, no-wrap |
| 854 |
msgid "B<PTRACE_O_TRACESYSGOOD> (since Linux 2.4.6)" |
| 855 |
msgstr "B<PTRACE_O_TRACESYSGOOD> (depuis Linux 2.4.6)" |
| 856 |
|
| 857 |
#. type: Plain text |
| 858 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 859 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 860 |
msgid "" |
| 861 |
"When delivering system call traps, set bit 7 in the signal number (i.e., " |
| 862 |
"deliver I<SIGTRAP|0x80>). This makes it easy for the tracer to distinguish " |
| 863 |
"normal traps from those caused by a system call." |
| 864 |
msgstr "" |
| 865 |
"Lors des interceptions d'appel système, positionner le bit 7 sur le numéro " |
| 866 |
"de signal (envoyer I<SIGTRAP|0x80>). Cela facilite pour l'observateur la " |
| 867 |
"distinction entre les interceptions normales et celles provoquées par un " |
| 868 |
"appel système." |
| 869 |
|
| 870 |
#. type: TP |
| 871 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 872 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 873 |
#, no-wrap |
| 874 |
msgid "B<PTRACE_O_TRACEVFORK> (since Linux 2.5.46)" |
| 875 |
msgstr "B<PTRACE_O_TRACEVFORK> (depuis Linux 2.5.46)" |
| 876 |
|
| 877 |
#. type: Plain text |
| 878 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 879 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 880 |
msgid "" |
| 881 |
"Stop the tracee at the next B<vfork>(2) and automatically start tracing the " |
| 882 |
"newly vforked process, which will start with a B<SIGSTOP>, or " |
| 883 |
"B<PTRACE_EVENT_STOP> if B<PTRACE_SEIZE> was used. A B<waitpid>(2) by the " |
| 884 |
"tracer will return a I<status> value such that" |
| 885 |
msgstr "" |
| 886 |
"Arrêter l'observé au prochain B<vfork>(2) et commencer automatiquement à " |
| 887 |
"suivre le nouveau processus créé, qui démarrera avec un signal B<SIGSTOP>, " |
| 888 |
"ou B<PTRACE_EVENT_STOP> si B<PTRACE_SEIZE> est utilisé. Un B<waitpid>(2) par " |
| 889 |
"l'observateur renverra une valeur I<status> comme" |
| 890 |
|
| 891 |
#. type: Plain text |
| 892 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 893 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 894 |
#, no-wrap |
| 895 |
msgid " statusE<gt>E<gt>8 == (SIGTRAP | (PTRACE_EVENT_VFORKE<lt>E<lt>8))\n" |
| 896 |
msgstr " statusE<gt>E<gt>8 == (SIGTRAP | (PTRACE_EVENT_VFORKE<lt>E<lt>8))\n" |
| 897 |
|
| 898 |
#. type: TP |
| 899 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 900 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 901 |
#, no-wrap |
| 902 |
msgid "B<PTRACE_O_TRACEVFORKDONE> (since Linux 2.5.60)" |
| 903 |
msgstr "B<PTRACE_O_TRACEVFORKDONE> (depuis Linux 2.5.60)" |
| 904 |
|
| 905 |
#. type: Plain text |
| 906 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 907 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 908 |
msgid "" |
| 909 |
"Stop the tracee at the completion of the next B<vfork>(2). A B<waitpid>(2) " |
| 910 |
"by the tracer will return a I<status> value such that" |
| 911 |
msgstr "" |
| 912 |
"Arrêter l'observé à la fin du prochain B<vfork>(2). Un B<waitpid>(2) par " |
| 913 |
"l'observateur renverra une valeur I<status> comme" |
| 914 |
|
| 915 |
#. type: Plain text |
| 916 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 917 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 918 |
#, no-wrap |
| 919 |
msgid " statusE<gt>E<gt>8 == (SIGTRAP | (PTRACE_EVENT_VFORK_DONEE<lt>E<lt>8))\n" |
| 920 |
msgstr " statusE<gt>E<gt>8 == (SIGTRAP | (PTRACE_EVENT_VFORK_DONEE<lt>E<lt>8))\n" |
| 921 |
|
| 922 |
#. type: Plain text |
| 923 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 924 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 925 |
msgid "" |
| 926 |
"The PID of the new process can (since Linux 2.6.18) be retrieved with " |
| 927 |
"B<PTRACE_GETEVENTMSG>." |
| 928 |
msgstr "" |
| 929 |
"Le PID du nouveau processus peut (depuis Linux 2.6.18) être récupéré avec " |
| 930 |
"B<PTRACE_GETEVENTMSG>." |
| 931 |
|
| 932 |
#. type: TP |
| 933 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 934 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 935 |
#, no-wrap |
| 936 |
msgid "B<PTRACE_O_TRACESECCOMP> (since Linux 3.5)" |
| 937 |
msgstr "B<PTRACE_O_TRACESECCOMP> (depuis Linux 3.5)" |
| 938 |
|
| 939 |
#. type: Plain text |
| 940 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 941 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 942 |
msgid "" |
| 943 |
"Stop the tracee when a B<seccomp>(2) B<SECCOMP_RET_TRACE> rule is " |
| 944 |
"triggered. A B<waitpid>(2) by the tracer will return a I<status> value " |
| 945 |
"such that" |
| 946 |
msgstr "" |
| 947 |
"Arrêter l'observé quand une règle B<SECCOMP_RET_TRACE> de B<seccomp>(2) est " |
| 948 |
"déclenchée. Un B<waitpid>(2) par l'observateur renverra une valeur I<status> " |
| 949 |
"comme" |
| 950 |
|
| 951 |
#. type: Plain text |
| 952 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 953 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 954 |
#, no-wrap |
| 955 |
msgid " statusE<gt>E<gt>8 == (SIGTRAP | (PTRACE_EVENT_SECCOMPE<lt>E<lt>8))\n" |
| 956 |
msgstr " statusE<gt>E<gt>8 == (SIGTRAP | (PTRACE_EVENT_SECCOMPE<lt>E<lt>8))\n" |
| 957 |
|
| 958 |
#. type: Plain text |
| 959 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 960 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 961 |
msgid "" |
| 962 |
"While this triggers a B<PTRACE_EVENT> stop, it is similar to a syscall-enter-" |
| 963 |
"stop. For details, see the note on B<PTRACE_EVENT_SECCOMP> below. The " |
| 964 |
"seccomp event message data (from the B<SECCOMP_RET_DATA> portion of the " |
| 965 |
"seccomp filter rule) can be retrieved with B<PTRACE_GETEVENTMSG>." |
| 966 |
msgstr "" |
| 967 |
"Si cela entraîne un arrêt B<PTRACE_EVENT>, c'est équivalent à un arrêt-" |
| 968 |
"entrée-appel-système. Pour des détails, voir la remarque sur " |
| 969 |
"B<PTRACE_EVENT_SECCOMP> ci-dessous. Les données du message de l'événement " |
| 970 |
"seccomp (issues de la partie B<SECCOMP_RET_DATA> de la règle du filtre " |
| 971 |
"seccomp) peuvent être récupérées avec B<PTRACE_GETEVENTMSG>." |
| 972 |
|
| 973 |
#. type: TP |
| 974 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 975 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 976 |
#, no-wrap |
| 977 |
msgid "B<PTRACE_O_SUSPEND_SECCOMP> (since Linux 4.3)" |
| 978 |
msgstr "B<PTRACE_O_SUSPEND_SECCOMP> (depuis Linux 4.3)" |
| 979 |
|
| 980 |
#. commit 13c4a90119d28cfcb6b5bdd820c233b86c2b0237 |
| 981 |
#. type: Plain text |
| 982 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 983 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 984 |
msgid "" |
| 985 |
"Suspend the tracee's seccomp protections. This applies regardless of mode, " |
| 986 |
"and can be used when the tracee has not yet installed seccomp filters. That " |
| 987 |
"is, a valid use case is to suspend a tracee's seccomp protections before " |
| 988 |
"they are installed by the tracee, let the tracee install the filters, and " |
| 989 |
"then clear this flag when the filters should be resumed. Setting this " |
| 990 |
"option requires that the tracer have the B<CAP_SYS_ADMIN> capability, not " |
| 991 |
"have any seccomp protections installed, and not have " |
| 992 |
"B<PTRACE_O_SUSPEND_SECCOMP> set on itself." |
| 993 |
msgstr "" |
| 994 |
"Suspendre les protections seccomp de l'observé. Cela s'applique quel que " |
| 995 |
"soit le mode et peut être utilisé lorsque l'observé n'a pas encore installé " |
| 996 |
"de filtres seccomp. Cela veut dire qu'un cas d'utilisation valable consiste " |
| 997 |
"à suspendre les protections seccomp d'un observé avant qu'elles ne soient " |
| 998 |
"installées par l'observé, laisser l'observé installer les filtres et vider " |
| 999 |
"cet attribut quand les filtres doivent être réactivés. La définition de " |
| 1000 |
"cette option implique que l'observateur ait la capacité B<CAP_SYS_ADMIN>, " |
| 1001 |
"n'ait pas de protection seccomp installée et n'ait pas de " |
| 1002 |
"B<PTRACE_O_SUSPEND_SECCOMP> positionné sur lui-même." |
| 1003 |
|
| 1004 |
#. type: TP |
| 1005 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1006 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1007 |
#, no-wrap |
| 1008 |
msgid "B<PTRACE_GETEVENTMSG> (since Linux 2.5.46)" |
| 1009 |
msgstr "B<PTRACE_GETEVENTMSG> (depuis Linux 2.5.46)" |
| 1010 |
|
| 1011 |
#. type: Plain text |
| 1012 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1013 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1014 |
msgid "" |
| 1015 |
"Retrieve a message (as an I<unsigned long>) about the ptrace event that " |
| 1016 |
"just happened, placing it at the address I<data> in the tracer. For " |
| 1017 |
"B<PTRACE_EVENT_EXIT>, this is the tracee's exit status. For " |
| 1018 |
"B<PTRACE_EVENT_FORK>, B<PTRACE_EVENT_VFORK>, B<PTRACE_EVENT_VFORK_DONE>, and " |
| 1019 |
"B<PTRACE_EVENT_CLONE>, this is the PID of the new process. For " |
| 1020 |
"B<PTRACE_EVENT_SECCOMP>, this is the B<seccomp>(2) filter's " |
| 1021 |
"B<SECCOMP_RET_DATA> associated with the triggered rule. (I<addr> is " |
| 1022 |
"ignored.)" |
| 1023 |
msgstr "" |
| 1024 |
"Récupérer un message (dans un I<unsigned long>) concernant l'événement " |
| 1025 |
"ptrace qui vient d'arriver, en le plaçant à l'adresse I<data> de " |
| 1026 |
"l'observateur. Pour B<PTRACE_EVENT_EXIT>, il s'agit du code de retour de " |
| 1027 |
"l'observé. Pour B<PTRACE_EVENT_FORK>, B<PTRACE_EVENT_VFORK>, " |
| 1028 |
"B<PTRACE_EVENT_VFORK_DONE> et B<PTRACE_EVENT_CLONE>, il s'agit du PID du " |
| 1029 |
"nouveau processus. Pour B<PTRACE_EVENT_SECCOMP>, il s'agit des " |
| 1030 |
"B<SECCOMP_RET_DATA> du filtre B<seccomp>(2) associées à la règle déclenchée " |
| 1031 |
"(I<addr> est ignorée)." |
| 1032 |
|
| 1033 |
#. type: TP |
| 1034 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1035 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1036 |
#, no-wrap |
| 1037 |
msgid "B<PTRACE_CONT>" |
| 1038 |
msgstr "B<PTRACE_CONT>" |
| 1039 |
|
| 1040 |
#. type: Plain text |
| 1041 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1042 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1043 |
msgid "" |
| 1044 |
"Restart the stopped tracee process. If I<data> is nonzero, it is " |
| 1045 |
"interpreted as the number of a signal to be delivered to the tracee; " |
| 1046 |
"otherwise, no signal is delivered. Thus, for example, the tracer can " |
| 1047 |
"control whether a signal sent to the tracee is delivered or not. (I<addr> " |
| 1048 |
"is ignored.)" |
| 1049 |
msgstr "" |
| 1050 |
"Redémarrer l'observé arrêté. Si I<data> est non nul, il est interprété comme " |
| 1051 |
"un numéro de signal à distribuer à l'observé ; sinon aucun signal n'est " |
| 1052 |
"distribué. L'observateur peut ainsi contrôler si un signal envoyé à " |
| 1053 |
"l'observé doit lui être distribué ou non (I<addr> est ignoré)." |
| 1054 |
|
| 1055 |
#. type: TP |
| 1056 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1057 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1058 |
#, no-wrap |
| 1059 |
msgid "B<PTRACE_SYSCALL>" |
| 1060 |
msgstr "B<PTRACE_SYSCALL>" |
| 1061 |
|
| 1062 |
#. type: TQ |
| 1063 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1064 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1065 |
#, no-wrap |
| 1066 |
msgid "B<PTRACE_SINGLESTEP>" |
| 1067 |
msgstr "B<PTRACE_SINGLESTEP>" |
| 1068 |
|
| 1069 |
#. type: Plain text |
| 1070 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1071 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1072 |
msgid "" |
| 1073 |
"Restart the stopped tracee as for B<PTRACE_CONT>, but arrange for the tracee " |
| 1074 |
"to be stopped at the next entry to or exit from a system call, or after " |
| 1075 |
"execution of a single instruction, respectively. (The tracee will also, as " |
| 1076 |
"usual, be stopped upon receipt of a signal.) From the tracer's perspective, " |
| 1077 |
"the tracee will appear to have been stopped by receipt of a B<SIGTRAP>. So, " |
| 1078 |
"for B<PTRACE_SYSCALL>, for example, the idea is to inspect the arguments to " |
| 1079 |
"the system call at the first stop, then do another B<PTRACE_SYSCALL> and " |
| 1080 |
"inspect the return value of the system call at the second stop. The I<data> " |
| 1081 |
"argument is treated as for B<PTRACE_CONT>. (I<addr> is ignored.)" |
| 1082 |
msgstr "" |
| 1083 |
"Redémarrer l'observé arrêté comme pour B<PTRACE_CONT>, mais en s'arrangeant " |
| 1084 |
"pour qu'il soit arrêté à la prochaine entrée ou sortie d'un appel système, " |
| 1085 |
"ou après la prochaine instruction, respectivement (l'observé sera aussi " |
| 1086 |
"arrêté par l'arrivée d'un signal). Du point de vue de l'observateur, " |
| 1087 |
"l'observé semblera être arrêté par B<SIGTRAP>. Ainsi, pour B<PTRACE_SYSCALL> " |
| 1088 |
"l'idée est d'inspecter les arguments de l'appel système au premier arrêt " |
| 1089 |
"puis de faire un autre B<PTRACE_SYSCALL> et d'inspecter la valeur de retour " |
| 1090 |
"au second arrêt. Le paramètre I<data> est interprété comme pour " |
| 1091 |
"B<PTRACE_CONT> (I<addr> est ignoré)." |
| 1092 |
|
| 1093 |
#. type: TP |
| 1094 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1095 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1096 |
#, no-wrap |
| 1097 |
msgid "B<PTRACE_SET_SYSCALL> (since Linux 2.6.16)" |
| 1098 |
msgstr "B<PTRACE_SET_SYSCALL> (depuis Linux 2.6.16)" |
| 1099 |
|
| 1100 |
#. commit 3f471126ee53feb5e9b210ea2f525ed3bb9b7a7f |
| 1101 |
#. As of 4.19-rc2 |
| 1102 |
#. commit 27aa55c5e5123fa8b8ad0156559d34d7edff58ca |
| 1103 |
#. see change_syscall in tools/testing/selftests/seccomp/seccomp_bpf.c |
| 1104 |
#. and also strace's linux/*/set_scno.c files. |
| 1105 |
#. type: Plain text |
| 1106 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1107 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1108 |
msgid "" |
| 1109 |
"When in syscall-enter-stop, change the number of the system call that is " |
| 1110 |
"about to be executed to the number specified in the I<data> argument. The " |
| 1111 |
"I<addr> argument is ignored. This operation is currently supported only on " |
| 1112 |
"arm (and arm64, though only for backwards compatibility), but most other " |
| 1113 |
"architectures have other means of accomplishing this (usually by changing " |
| 1114 |
"the register that the userland code passed the system call number in)." |
| 1115 |
msgstr "" |
| 1116 |
"Lorsqu'il est en arrêt-entrée-appel-système, passer le numéro de l'appel " |
| 1117 |
"système qui va être exécuté à celui indiqué dans le paramètre I<data>. Le " |
| 1118 |
"paramètre I<addr> est ignoré. Cette opération n'est actuellement prise en " |
| 1119 |
"charge que sur arm (et arm64, quoique uniquement à des fins de " |
| 1120 |
"rétrocompatibilité), mais la plupart des autres architectures ont d'autres " |
| 1121 |
"moyens de faire cela (en général en modifiant le registre qui a passé " |
| 1122 |
"l'appel système au code au niveau de l'utilisateur)." |
| 1123 |
|
| 1124 |
#. type: TP |
| 1125 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1126 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1127 |
#, no-wrap |
| 1128 |
msgid "B<PTRACE_SYSEMU>" |
| 1129 |
msgstr "B<PTRACE_SYSEMU>" |
| 1130 |
|
| 1131 |
#. type: TQ |
| 1132 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1133 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1134 |
#, no-wrap |
| 1135 |
msgid "B<PTRACE_SYSEMU_SINGLESTEP> (since Linux 2.6.14)" |
| 1136 |
msgstr "B<PTRACE_SYSEMU_SINGLESTEP> (depuis Linux 2.6.14)" |
| 1137 |
|
| 1138 |
#. As at 3.7 |
| 1139 |
#. type: Plain text |
| 1140 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1141 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1142 |
msgid "" |
| 1143 |
"For B<PTRACE_SYSEMU>, continue and stop on entry to the next system call, " |
| 1144 |
"which will not be executed. See the documentation on syscall-stops below. " |
| 1145 |
"For B<PTRACE_SYSEMU_SINGLESTEP>, do the same but also singlestep if not a " |
| 1146 |
"system call. This call is used by programs like User Mode Linux that want " |
| 1147 |
"to emulate all the tracee's system calls. The I<data> argument is treated " |
| 1148 |
"as for B<PTRACE_CONT>. The I<addr> argument is ignored. These operations " |
| 1149 |
"are currently supported only on x86." |
| 1150 |
msgstr "" |
| 1151 |
"Pour B<PTRACE_SYSEMU>, continuer puis s'arrêter lors du prochain appel " |
| 1152 |
"système, qui ne sera pas exécuté. Voir la documentation des syscall-stops ci-" |
| 1153 |
"dessous. Pour B<PTRACE_SYSEMU_SINGLESTEP>, faire la même chose, mais " |
| 1154 |
"exécuter pas à pas s'il ne s'agit pas d'un appel système. Cette fonction est " |
| 1155 |
"utilisée par des programmes comme User Mode Linux, qui veulent émuler tous " |
| 1156 |
"les appels système de l'observé. Le paramètre I<data> est interprété comme " |
| 1157 |
"pour B<PTRACE_CONT>. L'argument I<addr> est ignoré. Ces opérations ne sont " |
| 1158 |
"pour l'instant disponibles que sur x86." |
| 1159 |
|
| 1160 |
#. type: TP |
| 1161 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1162 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1163 |
#, no-wrap |
| 1164 |
msgid "B<PTRACE_LISTEN> (since Linux 3.4)" |
| 1165 |
msgstr "B<PTRACE_LISTEN> (depuis Linux 3.4)" |
| 1166 |
|
| 1167 |
#. type: Plain text |
| 1168 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1169 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1170 |
msgid "" |
| 1171 |
"Restart the stopped tracee, but prevent it from executing. The resulting " |
| 1172 |
"state of the tracee is similar to a process which has been stopped by a " |
| 1173 |
"B<SIGSTOP> (or other stopping signal). See the \"group-stop\" subsection " |
| 1174 |
"for additional information. B<PTRACE_LISTEN> works only on tracees attached " |
| 1175 |
"by B<PTRACE_SEIZE>." |
| 1176 |
msgstr "" |
| 1177 |
"Redémarrer l'observé arrêté, mais en l'empêchant de s'exécuter. L'état " |
| 1178 |
"résultant de l'observé est similaire a celui d'un processus qui a été arrêté " |
| 1179 |
"par un B<SIGSTOP> (ou autre signal d'arrêt). Consultez la sous-section " |
| 1180 |
"B<Arrêt-groupe> pour des renseignements supplémentaires. B<PTRACE_LISTEN> ne " |
| 1181 |
"fonctionne que sur les observés attachés par B<PTRACE_SEIZE>." |
| 1182 |
|
| 1183 |
#. type: TP |
| 1184 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1185 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1186 |
#, no-wrap |
| 1187 |
msgid "B<PTRACE_KILL>" |
| 1188 |
msgstr "B<PTRACE_KILL>" |
| 1189 |
|
| 1190 |
#. type: Plain text |
| 1191 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1192 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1193 |
msgid "" |
| 1194 |
"Send the tracee a B<SIGKILL> to terminate it. (I<addr> and I<data> are " |
| 1195 |
"ignored.)" |
| 1196 |
msgstr "" |
| 1197 |
"Envoyer à l'observé un signal B<SIGKILL> pour le terminer (I<addr> et " |
| 1198 |
"I<data> sont ignorés)." |
| 1199 |
|
| 1200 |
#. #-#-#-#-# archlinux: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1201 |
#. [Note from Denys Vlasenko: |
| 1202 |
#. deprecation suggested by Oleg Nesterov. He prefers to deprecate it |
| 1203 |
#. instead of describing (and needing to support) PTRACE_KILL's quirks.] |
| 1204 |
#. type: Plain text |
| 1205 |
#. #-#-#-#-# debian-trixie: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1206 |
#. [Note from Denys Vlasenko: |
| 1207 |
#. deprecation suggested by Oleg Nesterov. He prefers to deprecate it |
| 1208 |
#. instead of describing (and needing to support) PTRACE_KILL's quirks.] |
| 1209 |
#. type: Plain text |
| 1210 |
#. #-#-#-#-# debian-unstable: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1211 |
#. [Note from Denys Vlasenko: |
| 1212 |
#. deprecation suggested by Oleg Nesterov. He prefers to deprecate it |
| 1213 |
#. instead of describing (and needing to support) PTRACE_KILL's quirks.] |
| 1214 |
#. type: Plain text |
| 1215 |
#. #-#-#-#-# fedora-44: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1216 |
#. [Note from Denys Vlasenko: |
| 1217 |
#. deprecation suggested by Oleg Nesterov. He prefers to deprecate it |
| 1218 |
#. instead of describing (and needing to support) PTRACE_KILL's quirks.] |
| 1219 |
#. type: Plain text |
| 1220 |
#. #-#-#-#-# fedora-rawhide: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1221 |
#. [Note from Denys Vlasenko: |
| 1222 |
#. deprecation suggested by Oleg Nesterov. He prefers to deprecate it |
| 1223 |
#. instead of describing (and needing to support) PTRACE_KILL's quirks.] |
| 1224 |
#. type: Plain text |
| 1225 |
#. #-#-#-#-# mageia-cauldron: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1226 |
#. [Note from Denys Vlasenko: |
| 1227 |
#. deprecation suggested by Oleg Nesterov. He prefers to deprecate it |
| 1228 |
#. instead of describing (and needing to support) PTRACE_KILL's quirks.] |
| 1229 |
#. type: Plain text |
| 1230 |
#. #-#-#-#-# opensuse-leap-16-1: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1231 |
#. [Note from Denys Vlasenko: |
| 1232 |
#. deprecation suggested by Oleg Nesterov. He prefers to deprecate it |
| 1233 |
#. instead of describing (and needing to support) PTRACE_KILL's quirks.] |
| 1234 |
#. type: Plain text |
| 1235 |
#. #-#-#-#-# opensuse-tumbleweed: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1236 |
#. [Note from Denys Vlasenko: |
| 1237 |
#. deprecation suggested by Oleg Nesterov. He prefers to deprecate it |
| 1238 |
#. instead of describing (and needing to support) PTRACE_KILL's quirks.] |
| 1239 |
#. type: Plain text |
| 1240 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1241 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1242 |
msgid "" |
| 1243 |
"I<This operation is deprecated; do not use it!> Instead, send a B<SIGKILL> " |
| 1244 |
"directly using B<kill>(2) or B<tgkill>(2). The problem with B<PTRACE_KILL> " |
| 1245 |
"is that it requires the tracee to be in signal-delivery-stop, otherwise it " |
| 1246 |
"may not work (i.e., may complete successfully but won't kill the tracee). " |
| 1247 |
"By contrast, sending a B<SIGKILL> directly has no such limitation." |
| 1248 |
msgstr "" |
| 1249 |
"I<Cette opération est obsolète, ne l'utilisez pas.> À la place, envoyez un " |
| 1250 |
"B<SIGKILL> directement en utilisant B<kill>(2) ou B<tgkill>(2). Le problème " |
| 1251 |
"avec B<PTRACE_KILL> est qu'il nécessite que l'observé soit en arrêt-" |
| 1252 |
"distribution-signal, sinon cela risque de ne pas fonctionner (c'est-à-dire " |
| 1253 |
"risque de se terminer avec succès sans tuer l'observé). En revanche, envoyer " |
| 1254 |
"B<SIGKILL> directement n'est pas concerné par cette limite." |
| 1255 |
|
| 1256 |
#. type: TP |
| 1257 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1258 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1259 |
#, no-wrap |
| 1260 |
msgid "B<PTRACE_INTERRUPT> (since Linux 3.4)" |
| 1261 |
msgstr "B<PTRACE_INTERRUPT> (depuis Linux 3.4)" |
| 1262 |
|
| 1263 |
#. type: Plain text |
| 1264 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1265 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1266 |
msgid "" |
| 1267 |
"Stop a tracee. If the tracee is running or sleeping in kernel space and " |
| 1268 |
"B<PTRACE_SYSCALL> is in effect, the system call is interrupted and syscall-" |
| 1269 |
"exit-stop is reported. (The interrupted system call is restarted when the " |
| 1270 |
"tracee is restarted.) If the tracee was already stopped by a signal and " |
| 1271 |
"B<PTRACE_LISTEN> was sent to it, the tracee stops with B<PTRACE_EVENT_STOP> " |
| 1272 |
"and I<WSTOPSIG(status)> returns the stop signal. If any other ptrace-stop " |
| 1273 |
"is generated at the same time (for example, if a signal is sent to the " |
| 1274 |
"tracee), this ptrace-stop happens. If none of the above applies (for " |
| 1275 |
"example, if the tracee is running in user space), it stops with " |
| 1276 |
"B<PTRACE_EVENT_STOP> with I<WSTOPSIG(status)> == B<SIGTRAP>. " |
| 1277 |
"B<PTRACE_INTERRUPT> only works on tracees attached by B<PTRACE_SEIZE>." |
| 1278 |
msgstr "" |
| 1279 |
"Arrêter un observé. Si l’observé est en cours d’exécution ou en sommeil dans " |
| 1280 |
"l’espace utilisateur et que B<PTRACE_SYSCALL> est effectif, l’appel système " |
| 1281 |
"est interrompu et l'arrêt-sortie-appel-système est signalé (l’appel système " |
| 1282 |
"interrompu est redémarré quand l’observé est redémarré). Si l’observé avait " |
| 1283 |
"déjà été arrêté par un signal et que B<PTRACE_LISTEN> lui avait été envoyé, " |
| 1284 |
"l’observé s’arrête avec B<PTRACE_EVENT_STOP> et B<WSTOPSIG(status)> renvoie " |
| 1285 |
"le signal d’arrêt. Si n’importe quel autre arrêt-ptrace est créé en même " |
| 1286 |
"temps (par exemple, si un signal est envoyé à l’observé), cet arrêt-ptrace " |
| 1287 |
"arrive. Si rien de ce qui précède ne s’applique (par exemple si l’observé " |
| 1288 |
"est en cours d’exécution en espace utilisateur), il s’arrête avec " |
| 1289 |
"B<PTRACE_EVENT_STOP> avec I<WSTOPSIG(status)> == B<SIGTRAP>. " |
| 1290 |
"B<PTRACE_INTERRUPT> ne fonctionne que sur les observés attachés par " |
| 1291 |
"B<PTRACE_SEIZE>." |
| 1292 |
|
| 1293 |
#. type: TP |
| 1294 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1295 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1296 |
#, no-wrap |
| 1297 |
msgid "B<PTRACE_ATTACH>" |
| 1298 |
msgstr "B<PTRACE_ATTACH>" |
| 1299 |
|
| 1300 |
#. #-#-#-#-# archlinux: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1301 |
#. No longer true (removed by Denys Vlasenko, 2011, who remarks: |
| 1302 |
#. "I think it isn't true in non-ancient 2.4 and in Linux 2.6/3.x. |
| 1303 |
#. Basically, it's not true for any Linux in practical use. |
| 1304 |
#. the behavior of the tracee is as if it had done a |
| 1305 |
#. .BR PTRACE_TRACEME . |
| 1306 |
#. The calling process actually becomes the parent of the tracee |
| 1307 |
#. process for most purposes (e.g., it will receive |
| 1308 |
#. notification of tracee events and appears in |
| 1309 |
#. .BR ps (1) |
| 1310 |
#. output as the tracee's parent), but a |
| 1311 |
#. .BR getppid (2) |
| 1312 |
#. by the tracee will still return the PID of the original parent. |
| 1313 |
#. type: Plain text |
| 1314 |
#. #-#-#-#-# debian-trixie: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1315 |
#. No longer true (removed by Denys Vlasenko, 2011, who remarks: |
| 1316 |
#. "I think it isn't true in non-ancient 2.4 and in Linux 2.6/3.x. |
| 1317 |
#. Basically, it's not true for any Linux in practical use. |
| 1318 |
#. ; the behavior of the tracee is as if it had done a |
| 1319 |
#. .BR PTRACE_TRACEME . |
| 1320 |
#. The calling process actually becomes the parent of the tracee |
| 1321 |
#. process for most purposes (e.g., it will receive |
| 1322 |
#. notification of tracee events and appears in |
| 1323 |
#. .BR ps (1) |
| 1324 |
#. output as the tracee's parent), but a |
| 1325 |
#. .BR getppid (2) |
| 1326 |
#. by the tracee will still return the PID of the original parent. |
| 1327 |
#. type: Plain text |
| 1328 |
#. #-#-#-#-# debian-unstable: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1329 |
#. No longer true (removed by Denys Vlasenko, 2011, who remarks: |
| 1330 |
#. "I think it isn't true in non-ancient 2.4 and in Linux 2.6/3.x. |
| 1331 |
#. Basically, it's not true for any Linux in practical use. |
| 1332 |
#. the behavior of the tracee is as if it had done a |
| 1333 |
#. .BR PTRACE_TRACEME . |
| 1334 |
#. The calling process actually becomes the parent of the tracee |
| 1335 |
#. process for most purposes (e.g., it will receive |
| 1336 |
#. notification of tracee events and appears in |
| 1337 |
#. .BR ps (1) |
| 1338 |
#. output as the tracee's parent), but a |
| 1339 |
#. .BR getppid (2) |
| 1340 |
#. by the tracee will still return the PID of the original parent. |
| 1341 |
#. type: Plain text |
| 1342 |
#. #-#-#-#-# fedora-44: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1343 |
#. No longer true (removed by Denys Vlasenko, 2011, who remarks: |
| 1344 |
#. "I think it isn't true in non-ancient 2.4 and in Linux 2.6/3.x. |
| 1345 |
#. Basically, it's not true for any Linux in practical use. |
| 1346 |
#. ; the behavior of the tracee is as if it had done a |
| 1347 |
#. .BR PTRACE_TRACEME . |
| 1348 |
#. The calling process actually becomes the parent of the tracee |
| 1349 |
#. process for most purposes (e.g., it will receive |
| 1350 |
#. notification of tracee events and appears in |
| 1351 |
#. .BR ps (1) |
| 1352 |
#. output as the tracee's parent), but a |
| 1353 |
#. .BR getppid (2) |
| 1354 |
#. by the tracee will still return the PID of the original parent. |
| 1355 |
#. type: Plain text |
| 1356 |
#. #-#-#-#-# fedora-rawhide: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1357 |
#. No longer true (removed by Denys Vlasenko, 2011, who remarks: |
| 1358 |
#. "I think it isn't true in non-ancient 2.4 and in Linux 2.6/3.x. |
| 1359 |
#. Basically, it's not true for any Linux in practical use. |
| 1360 |
#. ; the behavior of the tracee is as if it had done a |
| 1361 |
#. .BR PTRACE_TRACEME . |
| 1362 |
#. The calling process actually becomes the parent of the tracee |
| 1363 |
#. process for most purposes (e.g., it will receive |
| 1364 |
#. notification of tracee events and appears in |
| 1365 |
#. .BR ps (1) |
| 1366 |
#. output as the tracee's parent), but a |
| 1367 |
#. .BR getppid (2) |
| 1368 |
#. by the tracee will still return the PID of the original parent. |
| 1369 |
#. type: Plain text |
| 1370 |
#. #-#-#-#-# mageia-cauldron: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1371 |
#. No longer true (removed by Denys Vlasenko, 2011, who remarks: |
| 1372 |
#. "I think it isn't true in non-ancient 2.4 and in Linux 2.6/3.x. |
| 1373 |
#. Basically, it's not true for any Linux in practical use. |
| 1374 |
#. the behavior of the tracee is as if it had done a |
| 1375 |
#. .BR PTRACE_TRACEME . |
| 1376 |
#. The calling process actually becomes the parent of the tracee |
| 1377 |
#. process for most purposes (e.g., it will receive |
| 1378 |
#. notification of tracee events and appears in |
| 1379 |
#. .BR ps (1) |
| 1380 |
#. output as the tracee's parent), but a |
| 1381 |
#. .BR getppid (2) |
| 1382 |
#. by the tracee will still return the PID of the original parent. |
| 1383 |
#. type: Plain text |
| 1384 |
#. #-#-#-#-# opensuse-leap-16-1: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1385 |
#. No longer true (removed by Denys Vlasenko, 2011, who remarks: |
| 1386 |
#. "I think it isn't true in non-ancient 2.4 and in Linux 2.6/3.x. |
| 1387 |
#. Basically, it's not true for any Linux in practical use. |
| 1388 |
#. the behavior of the tracee is as if it had done a |
| 1389 |
#. .BR PTRACE_TRACEME . |
| 1390 |
#. The calling process actually becomes the parent of the tracee |
| 1391 |
#. process for most purposes (e.g., it will receive |
| 1392 |
#. notification of tracee events and appears in |
| 1393 |
#. .BR ps (1) |
| 1394 |
#. output as the tracee's parent), but a |
| 1395 |
#. .BR getppid (2) |
| 1396 |
#. by the tracee will still return the PID of the original parent. |
| 1397 |
#. type: Plain text |
| 1398 |
#. #-#-#-#-# opensuse-tumbleweed: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1399 |
#. No longer true (removed by Denys Vlasenko, 2011, who remarks: |
| 1400 |
#. "I think it isn't true in non-ancient 2.4 and in Linux 2.6/3.x. |
| 1401 |
#. Basically, it's not true for any Linux in practical use. |
| 1402 |
#. the behavior of the tracee is as if it had done a |
| 1403 |
#. .BR PTRACE_TRACEME . |
| 1404 |
#. The calling process actually becomes the parent of the tracee |
| 1405 |
#. process for most purposes (e.g., it will receive |
| 1406 |
#. notification of tracee events and appears in |
| 1407 |
#. .BR ps (1) |
| 1408 |
#. output as the tracee's parent), but a |
| 1409 |
#. .BR getppid (2) |
| 1410 |
#. by the tracee will still return the PID of the original parent. |
| 1411 |
#. type: Plain text |
| 1412 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1413 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1414 |
msgid "" |
| 1415 |
"Attach to the process specified in I<pid>, making it a tracee of the calling " |
| 1416 |
"process. The tracee is sent a B<SIGSTOP>, but will not necessarily have " |
| 1417 |
"stopped by the completion of this call; use B<waitpid>(2) to wait for the " |
| 1418 |
"tracee to stop. See the \"Attaching and detaching\" subsection for " |
| 1419 |
"additional information. (I<addr> and I<data> are ignored.)" |
| 1420 |
msgstr "" |
| 1421 |
"Attacher le processus numéro I<pid>, pour le suivre. L'observé va recevoir " |
| 1422 |
"un B<SIGSTOP>, mais il ne sera peut-être pas arrêté tout de suite, utilisez " |
| 1423 |
"B<waitid>(2) pour attendre son arrêt. Consultez la sous-section " |
| 1424 |
"B<Attachement et détachement> pour obtenir de plus amples renseignements " |
| 1425 |
"(I<addr> et I<data> sont ignorés)." |
| 1426 |
|
| 1427 |
#. type: Plain text |
| 1428 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1429 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1430 |
msgid "" |
| 1431 |
"Permission to perform a B<PTRACE_ATTACH> is governed by a ptrace access mode " |
| 1432 |
"B<PTRACE_MODE_ATTACH_REALCREDS> check; see below." |
| 1433 |
msgstr "" |
| 1434 |
"Le droit d'effectuer un B<PTRACE_ATTACH> est géré par la vérification " |
| 1435 |
"B<PTRACE_MODE_ATTACH_REALCREDS> du mode d'accès de ptrace ; voir ci-dessous." |
| 1436 |
|
| 1437 |
#. type: TP |
| 1438 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1439 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1440 |
#, no-wrap |
| 1441 |
msgid "B<PTRACE_SEIZE> (since Linux 3.4)" |
| 1442 |
msgstr "B<PTRACE_SEIZE> (depuis Linux 3.4)" |
| 1443 |
|
| 1444 |
# |
| 1445 |
# |
| 1446 |
# |
| 1447 |
#. Noted by Dmitry Levin: |
| 1448 |
#. PTRACE_SEIZE was introduced by commit v3.1-rc1~308^2~28, but |
| 1449 |
#. it had to be used along with a temporary flag PTRACE_SEIZE_DEVEL, |
| 1450 |
#. which was removed later by commit v3.4-rc1~109^2~20. |
| 1451 |
#. That is, [before] v3.4 we had a test mode of PTRACE_SEIZE API, |
| 1452 |
#. which was not compatible with the current PTRACE_SEIZE API introduced |
| 1453 |
#. in Linux 3.4. |
| 1454 |
#. type: Plain text |
| 1455 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1456 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1457 |
msgid "" |
| 1458 |
"Attach to the process specified in I<pid>, making it a tracee of the calling " |
| 1459 |
"process. Unlike B<PTRACE_ATTACH>, B<PTRACE_SEIZE> does not stop the " |
| 1460 |
"process. Group-stops are reported as B<PTRACE_EVENT_STOP> and " |
| 1461 |
"I<WSTOPSIG(status)> returns the stop signal. Automatically attached " |
| 1462 |
"children stop with B<PTRACE_EVENT_STOP> and I<WSTOPSIG(status)> returns " |
| 1463 |
"B<SIGTRAP> instead of having B<SIGSTOP> signal delivered to them. " |
| 1464 |
"B<execve>(2) does not deliver an extra B<SIGTRAP>. Only a B<PTRACE_SEIZE>d " |
| 1465 |
"process can accept B<PTRACE_INTERRUPT> and B<PTRACE_LISTEN> commands. The " |
| 1466 |
"\"seized\" behavior just described is inherited by children that are " |
| 1467 |
"automatically attached using B<PTRACE_O_TRACEFORK>, B<PTRACE_O_TRACEVFORK>, " |
| 1468 |
"and B<PTRACE_O_TRACECLONE>. I<addr> must be zero. I<data> contains a bit " |
| 1469 |
"mask of ptrace options to activate immediately." |
| 1470 |
msgstr "" |
| 1471 |
"Attacher au processus indiqué dans I<pid>, en faire un observé du processus " |
| 1472 |
"appelant. Contrairement à B<PTRACE_ATTACH>, B<PTRACE_SEIZE> n'arrête pas le " |
| 1473 |
"processus. Les arrêts-groupe sont signalés en tant que B<PTRACE_EVENT_STOP> " |
| 1474 |
"et I<WSTOPSIG(status)> renvoie le signal d'arrêt. Les enfants " |
| 1475 |
"automatiquement attachés avec B<PTRACE_EVENT_STOP> et I<WSTOPSIG(status)> " |
| 1476 |
"renvoient B<SIGTRAP> au lieu de recevoir un signal B<SIGSTOP>. B<execve>(2) " |
| 1477 |
"n'envoie pas d'autres B<SIGTRAP>. Seul un processus B<PTRACE_SEIZE>é peut " |
| 1478 |
"accepter des commandes B<PTRACE_INTERRUPT> et B<PTRACE_LISTEN>. Le " |
| 1479 |
"comportement « seized » qui vient d'être décrit est récupéré par les enfants " |
| 1480 |
"automatiquement attachés en utilisant B<PTRACE_O_TRACEFORK>, " |
| 1481 |
"B<PTRACE_O_TRACEVFORK> et B<PTRACE_O_TRACECLONE>. I<addr> doit être de zéro. " |
| 1482 |
"I<data> contient un masque de bit des options ptrace à activer immédiatement." |
| 1483 |
|
| 1484 |
#. type: Plain text |
| 1485 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1486 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1487 |
msgid "" |
| 1488 |
"Permission to perform a B<PTRACE_SEIZE> is governed by a ptrace access mode " |
| 1489 |
"B<PTRACE_MODE_ATTACH_REALCREDS> check; see below." |
| 1490 |
msgstr "" |
| 1491 |
"Le droit d'effectuer un B<PTRACE_SEIZE> est géré par une vérification " |
| 1492 |
"B<PTRACE_MODE_ATTACH_REALCREDS> du mode d'accès ptrace ; voir ci-dessous." |
| 1493 |
|
| 1494 |
#. type: TP |
| 1495 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1496 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1497 |
#, no-wrap |
| 1498 |
msgid "B<PTRACE_SECCOMP_GET_FILTER> (since Linux 4.4)" |
| 1499 |
msgstr "B<PTRACE_SECCOMP_GET_FILTER> (depuis Linux 4.4)" |
| 1500 |
|
| 1501 |
#. commit f8e529ed941ba2bbcbf310b575d968159ce7e895 |
| 1502 |
#. type: Plain text |
| 1503 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1504 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1505 |
msgid "" |
| 1506 |
"This operation allows the tracer to dump the tracee's classic BPF filters." |
| 1507 |
msgstr "" |
| 1508 |
"Cette opération autorise l'observateur à vider les filtres BPF classiques de " |
| 1509 |
"l'observé." |
| 1510 |
|
| 1511 |
#. type: Plain text |
| 1512 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1513 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1514 |
msgid "" |
| 1515 |
"I<addr> is an integer specifying the index of the filter to be dumped. The " |
| 1516 |
"most recently installed filter has the index 0. If I<addr> is greater than " |
| 1517 |
"the number of installed filters, the operation fails with the error " |
| 1518 |
"B<ENOENT>." |
| 1519 |
msgstr "" |
| 1520 |
"I<addr> est un entier indiquant l'index du filtre à vider. Le filtre le plus " |
| 1521 |
"récemment installé a le numéro d'index B<0>. Si I<addr> est supérieur aux " |
| 1522 |
"numéros des filtres installés, l'opération échoue avec l'erreur B<ENOENT>." |
| 1523 |
|
| 1524 |
#. type: Plain text |
| 1525 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1526 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1527 |
msgid "" |
| 1528 |
"I<data> is either a pointer to a I<struct sock_filter> array that is large " |
| 1529 |
"enough to store the BPF program, or NULL if the program is not to be stored." |
| 1530 |
msgstr "" |
| 1531 |
"I<data> est soit un pointeur vers un tableau I<struct sock_filter> assez " |
| 1532 |
"grand pour stocker le programme BPF, soit NULL si le programme ne va pas " |
| 1533 |
"être stocké." |
| 1534 |
|
| 1535 |
#. type: Plain text |
| 1536 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1537 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1538 |
msgid "" |
| 1539 |
"Upon success, the return value is the number of instructions in the BPF " |
| 1540 |
"program. If I<data> was NULL, then this return value can be used to " |
| 1541 |
"correctly size the I<struct sock_filter> array passed in a subsequent call." |
| 1542 |
msgstr "" |
| 1543 |
"En cas de succès, le code de retour est le nombre d'instructions du " |
| 1544 |
"programme BPF. Si I<data> était NULL, ce code de retour peut être utilisé " |
| 1545 |
"pour dimensionner correctement le tableau I<struct sock_filter> passé dans " |
| 1546 |
"un appel ultérieur." |
| 1547 |
|
| 1548 |
#. type: Plain text |
| 1549 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1550 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1551 |
msgid "" |
| 1552 |
"This operation fails with the error B<EACCES> if the caller does not have " |
| 1553 |
"the B<CAP_SYS_ADMIN> capability or if the caller is in strict or filter " |
| 1554 |
"seccomp mode. If the filter referred to by I<addr> is not a classic BPF " |
| 1555 |
"filter, the operation fails with the error B<EMEDIUMTYPE>." |
| 1556 |
msgstr "" |
| 1557 |
"Cette opération échoue avec l'erreur B<EACCES> si l'appelant n'a pas la " |
| 1558 |
"capacité B<CAP_SYS_ADMIN> ou s'il est en mode seccomp filtré ou restreint. " |
| 1559 |
"Si le filtre auquel renvoie I<addr> n'est pas un filtre BPF classique, " |
| 1560 |
"l'opération échoue avec l'erreur B<EMEDIUMTYPE>." |
| 1561 |
|
| 1562 |
#. type: Plain text |
| 1563 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1564 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1565 |
msgid "" |
| 1566 |
"This operation is available if the kernel was configured with both the " |
| 1567 |
"B<CONFIG_SECCOMP_FILTER> and the B<CONFIG_CHECKPOINT_RESTORE> options." |
| 1568 |
msgstr "" |
| 1569 |
"Cette opération n'est disponible que si le noyau a été configuré avec les " |
| 1570 |
"options B<CONFIG_SECCOMP_FILTER> et B<CONFIG_CHECKPOINT_RESTORE>." |
| 1571 |
|
| 1572 |
#. type: TP |
| 1573 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1574 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1575 |
#, no-wrap |
| 1576 |
msgid "B<PTRACE_DETACH>" |
| 1577 |
msgstr "B<PTRACE_DETACH>" |
| 1578 |
|
| 1579 |
#. type: Plain text |
| 1580 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1581 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1582 |
msgid "" |
| 1583 |
"Restart the stopped tracee as for B<PTRACE_CONT>, but first detach from it. " |
| 1584 |
"Under Linux, a tracee can be detached in this way regardless of which method " |
| 1585 |
"was used to initiate tracing. (I<addr> is ignored.)" |
| 1586 |
msgstr "" |
| 1587 |
"Relancer l'observé arrêté comme avec B<PTRACE_CONT>, mais en commençant par " |
| 1588 |
"s'en détacher. Sous Linux un observé peut être détaché ainsi quelque soit la " |
| 1589 |
"méthode employée pour démarrer le suivi (I<addr> est ignoré)." |
| 1590 |
|
| 1591 |
#. type: TP |
| 1592 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1593 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1594 |
#, no-wrap |
| 1595 |
msgid "B<PTRACE_GET_THREAD_AREA> (since Linux 2.6.0)" |
| 1596 |
msgstr "B<PTRACE_GET_THREAD_AREA> (depuis Linux 2.6.0)" |
| 1597 |
|
| 1598 |
#. type: Plain text |
| 1599 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1600 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1601 |
msgid "" |
| 1602 |
"This operation performs a similar task to B<get_thread_area>(2). It reads " |
| 1603 |
"the TLS entry in the GDT whose index is given in I<addr>, placing a copy of " |
| 1604 |
"the entry into the I<struct user_desc> pointed to by I<data>. (By contrast " |
| 1605 |
"with B<get_thread_area>(2), the I<entry_number> of the I<struct user_desc> " |
| 1606 |
"is ignored.)" |
| 1607 |
msgstr "" |
| 1608 |
"Cette opération effectue une tâche identique à B<get_thread_area>(2). Elle " |
| 1609 |
"lit l'entrée TLS dans le GDT dont l'index est donné dans I<addr>, mettant " |
| 1610 |
"une copie de l'entrée dans la I<struct user_desc> vers laquelle pointe " |
| 1611 |
"I<data> (contrairement à B<get_thread_area>(2), I<entry_number> de la " |
| 1612 |
"I<struct user_desc> est ignorée)." |
| 1613 |
|
| 1614 |
#. type: TP |
| 1615 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1616 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1617 |
#, no-wrap |
| 1618 |
msgid "B<PTRACE_SET_THREAD_AREA> (since Linux 2.6.0)" |
| 1619 |
msgstr "B<PTRACE_SET_THREAD_AREA> (depuis Linux 2.6.0)" |
| 1620 |
|
| 1621 |
#. type: Plain text |
| 1622 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1623 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1624 |
msgid "" |
| 1625 |
"This operation performs a similar task to B<set_thread_area>(2). It sets " |
| 1626 |
"the TLS entry in the GDT whose index is given in I<addr>, assigning it the " |
| 1627 |
"data supplied in the I<struct user_desc> pointed to by I<data>. (By " |
| 1628 |
"contrast with B<set_thread_area>(2), the I<entry_number> of the I<struct " |
| 1629 |
"user_desc> is ignored; in other words, this ptrace operation can't be used " |
| 1630 |
"to allocate a free TLS entry.)" |
| 1631 |
msgstr "" |
| 1632 |
"Cette opération effectue la même tâche que B<set_thread_area>(2). Elle " |
| 1633 |
"positionne l'entrée TLS dans le GDT dont l'index est donné dans I<addr>, en " |
| 1634 |
"lui affectant les données fournies dans la I<struct user_desc> vers laquelle " |
| 1635 |
"pointe I<data> (contrairement à B<set_thread_area>(2), I<entry_number> de la " |
| 1636 |
"I<struct user_desc> est ignorée ; autrement dit, cette opération de ptrace " |
| 1637 |
"ne peut pas être utilisée pour affecter une entrée TLS libre)." |
| 1638 |
|
| 1639 |
#. type: TP |
| 1640 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1641 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1642 |
#, no-wrap |
| 1643 |
msgid "B<PTRACE_GET_SYSCALL_INFO> (since Linux 5.3)" |
| 1644 |
msgstr "B<PTRACE_GET_SYSCALL_INFO> (depuis Linux 5.3)" |
| 1645 |
|
| 1646 |
#. commit 201766a20e30f982ccfe36bebfad9602c3ff574a |
| 1647 |
#. type: Plain text |
| 1648 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1649 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1650 |
msgid "" |
| 1651 |
"Retrieve information about the system call that caused the stop. The " |
| 1652 |
"information is placed into the buffer pointed by the I<data> argument, which " |
| 1653 |
"should be a pointer to a buffer of type I<struct ptrace_syscall_info>. The " |
| 1654 |
"I<addr> argument contains the size of the buffer pointed to by the I<data> " |
| 1655 |
"argument (i.e., I<sizeof(struct ptrace_syscall_info)>). The return value " |
| 1656 |
"contains the number of bytes available to be written by the kernel. If the " |
| 1657 |
"size of the data to be written by the kernel exceeds the size specified by " |
| 1658 |
"the I<addr> argument, the output data is truncated." |
| 1659 |
msgstr "" |
| 1660 |
"Récupérer des informations sur l'appel système qui a provoqué l'arrêt. Les " |
| 1661 |
"informations sont placées dans le tampon vers lequel pointe le paramètre " |
| 1662 |
"I<data>, lequel doit être un pointeur vers un tampon de type I<struct " |
| 1663 |
"ptrace_syscall_info>. Le paramètre I<addr> contient la taille du tampon vers " |
| 1664 |
"lequel pointe le paramètre I<data> (à savoir I<sizeof(struct " |
| 1665 |
"ptrace_syscall_info)>). Le code de retour contient le nombre d'octets que le " |
| 1666 |
"noyau peut écrire. Si la taille des données que le noyau doit écrire dépasse " |
| 1667 |
"celle indiquée par le paramètre I<addr>, les données de sortie sont " |
| 1668 |
"tronquées." |
| 1669 |
|
| 1670 |
#. type: Plain text |
| 1671 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1672 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1673 |
msgid "The I<ptrace_syscall_info> structure contains the following fields:" |
| 1674 |
msgstr "La structure I<ptrace_syscall_info> contient les champs suivants :" |
| 1675 |
|
| 1676 |
#. type: Plain text |
| 1677 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1678 |
#: opensuse-tumbleweed |
| 1679 |
#, fuzzy, no-wrap |
| 1680 |
#| msgid "" |
| 1681 |
#| "struct ptrace_syscall_info {\n" |
| 1682 |
#| " __u8 op; /* Type of system call stop */\n" |
| 1683 |
#| " __u32 arch; /* AUDIT_ARCH_* value; see seccomp(2) */\n" |
| 1684 |
#| " __u64 instruction_pointer; /* CPU instruction pointer */\n" |
| 1685 |
#| " __u64 stack_pointer; /* CPU stack pointer */\n" |
| 1686 |
#| " union {\n" |
| 1687 |
#| " struct { /* op == PTRACE_SYSCALL_INFO_ENTRY */\n" |
| 1688 |
#| " __u64 nr; /* System call number */\n" |
| 1689 |
#| " __u64 args[6]; /* System call arguments */\n" |
| 1690 |
#| " } entry;\n" |
| 1691 |
#| " struct { /* op == PTRACE_SYSCALL_INFO_EXIT */\n" |
| 1692 |
#| " __s64 rval; /* System call return value */\n" |
| 1693 |
#| " __u8 is_error; /* System call error flag;\n" |
| 1694 |
#| " Boolean: does rval contain\n" |
| 1695 |
#| " an error value (-ERRCODE) or\n" |
| 1696 |
#| " a nonerror return value? */\n" |
| 1697 |
#| " } exit;\n" |
| 1698 |
#| " struct { /* op == PTRACE_SYSCALL_INFO_SECCOMP */\n" |
| 1699 |
#| " __u64 nr; /* System call number */\n" |
| 1700 |
#| " __u64 args[6]; /* System call arguments */\n" |
| 1701 |
#| " __u32 ret_data; /* SECCOMP_RET_DATA portion\n" |
| 1702 |
#| " of SECCOMP_RET_TRACE\n" |
| 1703 |
#| " return value */\n" |
| 1704 |
#| " } seccomp;\n" |
| 1705 |
#| " };\n" |
| 1706 |
#| "};\n" |
| 1707 |
msgid "" |
| 1708 |
"struct ptrace_syscall_info {\n" |
| 1709 |
" __u8 op; /* Type of system call stop */\n" |
| 1710 |
" __u8 reserved; /* Reserved for future use, must be zero */\n" |
| 1711 |
" __u16 flags; /* Reserved for future use, must be zero */\n" |
| 1712 |
" __u32 arch; /* AUDIT_ARCH_* value; see seccomp(2) */\n" |
| 1713 |
" __u64 instruction_pointer; /* CPU instruction pointer */\n" |
| 1714 |
" __u64 stack_pointer; /* CPU stack pointer */\n" |
| 1715 |
" union {\n" |
| 1716 |
" struct { /* op == PTRACE_SYSCALL_INFO_ENTRY */\n" |
| 1717 |
" __u64 nr; /* System call number */\n" |
| 1718 |
" __u64 args[6]; /* System call arguments */\n" |
| 1719 |
" } entry;\n" |
| 1720 |
" struct { /* op == PTRACE_SYSCALL_INFO_EXIT */\n" |
| 1721 |
" __s64 rval; /* System call return value */\n" |
| 1722 |
" __u8 is_error; /* System call error flag;\n" |
| 1723 |
" Boolean: does rval contain\n" |
| 1724 |
" an error value (-ERRCODE) or\n" |
| 1725 |
" a nonerror return value? */\n" |
| 1726 |
" } exit;\n" |
| 1727 |
" struct { /* op == PTRACE_SYSCALL_INFO_SECCOMP */\n" |
| 1728 |
" __u64 nr; /* System call number */\n" |
| 1729 |
" __u64 args[6]; /* System call arguments */\n" |
| 1730 |
" __u32 ret_data; /* SECCOMP_RET_DATA portion\n" |
| 1731 |
" of SECCOMP_RET_TRACE\n" |
| 1732 |
" return value */\n" |
| 1733 |
" } seccomp;\n" |
| 1734 |
" };\n" |
| 1735 |
"};\n" |
| 1736 |
msgstr "" |
| 1737 |
"struct ptrace_syscall_info {\n" |
| 1738 |
" __u8 op; /* Type d'appel système d'arrêt */\n" |
| 1739 |
" __u32 arch; /* Valeur AUDIT_ARCH_* ; voir seccomp(2) */\n" |
| 1740 |
" __u64 instruction_pointer; /* Pointeur vers l'instruction du processeur */\n" |
| 1741 |
" __u64 stack_pointer; /* Pointeur vers la pile du processeur */\n" |
| 1742 |
" union {\n" |
| 1743 |
" struct { /* op == PTRACE_SYSCALL_INFO_ENTRY */\n" |
| 1744 |
" __u64 nr; /* Numéro de l'appel système */\n" |
| 1745 |
" __u64 args[6]; /* Paramètres de l'appel système */\n" |
| 1746 |
" } entry;\n" |
| 1747 |
" struct { /* op == PTRACE_SYSCALL_INFO_EXIT */\n" |
| 1748 |
" __s64 rval; /* Code de retour de l'appel système */\n" |
| 1749 |
" __u8 is_error; /* Attribut d'erreur de l'appel système ;\n" |
| 1750 |
" Booléen : rval contient-il\n" |
| 1751 |
" un code d'erreur (-ERRCODE) ou\n" |
| 1752 |
" un code de retour de non erreur ? */\n" |
| 1753 |
" } exit;\n" |
| 1754 |
" struct { /* op == PTRACE_SYSCALL_INFO_SECCOMP */\n" |
| 1755 |
" __u64 nr; /* Numéro de l'appel système */\n" |
| 1756 |
" __u64 args[6]; /* Paramètres de l'appel système */\n" |
| 1757 |
" __u32 ret_data; /* Partie SECCOMP_RET_DATA de la valeur\n" |
| 1758 |
" de retour de SECCOMP_RET_TRACE */\n" |
| 1759 |
" } seccomp;\n" |
| 1760 |
" };\n" |
| 1761 |
"};\n" |
| 1762 |
|
| 1763 |
#. type: Plain text |
| 1764 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1765 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1766 |
msgid "" |
| 1767 |
"The I<op>, I<arch>, I<instruction_pointer>, and I<stack_pointer> fields are " |
| 1768 |
"defined for all kinds of ptrace system call stops. The rest of the " |
| 1769 |
"structure is a union; one should read only those fields that are meaningful " |
| 1770 |
"for the kind of system call stop specified by the I<op> field." |
| 1771 |
msgstr "" |
| 1772 |
"Les champs I<op>, I<arch>, I<instruction_pointer> et I<stack_pointer> sont " |
| 1773 |
"définis pour tous les types d'arrêts de l'appel système ptrace. Le reste de " |
| 1774 |
"la structure est une union ; on ne doit lire que les champs significatifs " |
| 1775 |
"pour le type d'arrêt de l'appel système indiqué par le champ I<op>." |
| 1776 |
|
| 1777 |
#. type: Plain text |
| 1778 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1779 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1780 |
msgid "" |
| 1781 |
"The I<op> field has one of the following values (defined in I<E<lt>linux/" |
| 1782 |
"ptrace.hE<gt>>) indicating what type of stop occurred and which part of the " |
| 1783 |
"union is filled:" |
| 1784 |
msgstr "" |
| 1785 |
"Le champ I<op> prend une des valeurs suivantes (définies dans I<E<lt>linux/" |
| 1786 |
"ptrace.hE<gt>>), indiquant le type d'arrêt qui s'est produit et la partie " |
| 1787 |
"remplie de l'union :" |
| 1788 |
|
| 1789 |
#. type: TP |
| 1790 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1791 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1792 |
#, no-wrap |
| 1793 |
msgid "B<PTRACE_SYSCALL_INFO_ENTRY>" |
| 1794 |
msgstr "B<PTRACE_SYSCALL_INFO_ENTRY>" |
| 1795 |
|
| 1796 |
#. type: Plain text |
| 1797 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1798 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1799 |
msgid "" |
| 1800 |
"The I<entry> component of the union contains information relating to a " |
| 1801 |
"system call entry stop." |
| 1802 |
msgstr "" |
| 1803 |
"Le composant I<entry> de l'union contient des informations liées à un arrêt " |
| 1804 |
"d'entrée appel système." |
| 1805 |
|
| 1806 |
#. type: TP |
| 1807 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1808 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1809 |
#, no-wrap |
| 1810 |
msgid "B<PTRACE_SYSCALL_INFO_EXIT>" |
| 1811 |
msgstr "B<PTRACE_SYSCALL_INFO_EXIT>" |
| 1812 |
|
| 1813 |
#. type: Plain text |
| 1814 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1815 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1816 |
msgid "" |
| 1817 |
"The I<exit> component of the union contains information relating to a system " |
| 1818 |
"call exit stop." |
| 1819 |
msgstr "" |
| 1820 |
"Le composant I<exit> de l'union contient des informations sur un arrêt de " |
| 1821 |
"sortie d'appel système." |
| 1822 |
|
| 1823 |
#. type: TP |
| 1824 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1825 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1826 |
#, no-wrap |
| 1827 |
msgid "B<PTRACE_SYSCALL_INFO_SECCOMP>" |
| 1828 |
msgstr "B<PTRACE_SYSCALL_INFO_SECCOMP>" |
| 1829 |
|
| 1830 |
#. type: Plain text |
| 1831 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1832 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1833 |
msgid "" |
| 1834 |
"The I<seccomp> component of the union contains information relating to a " |
| 1835 |
"B<PTRACE_EVENT_SECCOMP> stop." |
| 1836 |
msgstr "" |
| 1837 |
"Le composant I<seccomp> de l'union contient des informations concernant un " |
| 1838 |
"arrêt B<PTRACE_EVENT_SECCOMP>." |
| 1839 |
|
| 1840 |
#. type: TP |
| 1841 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1842 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1843 |
#, no-wrap |
| 1844 |
msgid "B<PTRACE_SYSCALL_INFO_NONE>" |
| 1845 |
msgstr "B<PTRACE_SYSCALL_INFO_NONE>" |
| 1846 |
|
| 1847 |
#. type: Plain text |
| 1848 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1849 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1850 |
msgid "No component of the union contains relevant information." |
| 1851 |
msgstr "Aucun composant de l'union ne contient d'informations pertinentes." |
| 1852 |
|
| 1853 |
#. type: Plain text |
| 1854 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1855 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1856 |
msgid "" |
| 1857 |
"In case of system call entry or exit stops, the data returned by " |
| 1858 |
"B<PTRACE_GET_SYSCALL_INFO> is limited to type B<PTRACE_SYSCALL_INFO_NONE> " |
| 1859 |
"unless B<PTRACE_O_TRACESYSGOOD> option is set before the corresponding " |
| 1860 |
"system call stop has occurred." |
| 1861 |
msgstr "" |
| 1862 |
"Dans le cas où une entrée ou une sortie d'appel système s'interrompt, les " |
| 1863 |
"données renvoyées par B<PTRACE_GET_SYSCALL_INFO> sont limitées au type " |
| 1864 |
"B<PTRACE_SYSCALL_INFO_NONE> à moins que l'option B<PTRACE_O_TRACESYSGOOD> ne " |
| 1865 |
"soit définie avant que l'arrêt de l'appel système correspondant se produise." |
| 1866 |
|
| 1867 |
#. type: TP |
| 1868 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1869 |
#: opensuse-tumbleweed |
| 1870 |
#, fuzzy, no-wrap |
| 1871 |
#| msgid "B<PTRACE_GET_SYSCALL_INFO> (since Linux 5.3)" |
| 1872 |
msgid "B<PTRACE_SET_SYSCALL_INFO> (since Linux 6.16)" |
| 1873 |
msgstr "B<PTRACE_GET_SYSCALL_INFO> (depuis Linux 5.3)" |
| 1874 |
|
| 1875 |
#. commit 26bb32768fe6552de044f782a58b3272073fbfc0 |
| 1876 |
#. type: Plain text |
| 1877 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1878 |
#: opensuse-tumbleweed |
| 1879 |
msgid "" |
| 1880 |
"Modify information about the system call that caused the stop. The I<data> " |
| 1881 |
"argument is a pointer to I<struct ptrace_syscall_info> that specifies the " |
| 1882 |
"system call information to be set. The I<addr> argument should be set to " |
| 1883 |
"I<sizeof(struct ptrace_syscall_info)>. Only the I<nr>, I<args>, and I<rval> " |
| 1884 |
"fields can be modified." |
| 1885 |
msgstr "" |
| 1886 |
|
| 1887 |
#. type: SS |
| 1888 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1889 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1890 |
#, no-wrap |
| 1891 |
msgid "Death under ptrace" |
| 1892 |
msgstr "Mort sous ptrace" |
| 1893 |
|
| 1894 |
#. type: Plain text |
| 1895 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1896 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1897 |
msgid "" |
| 1898 |
"When a (possibly multithreaded) process receives a killing signal (one whose " |
| 1899 |
"disposition is set to B<SIG_DFL> and whose default action is to kill the " |
| 1900 |
"process), all threads exit. Tracees report their death to their tracer(s). " |
| 1901 |
"Notification of this event is delivered via B<waitpid>(2)." |
| 1902 |
msgstr "" |
| 1903 |
"Quand un processus (éventuellement multithreadé) reçoit un signal pour le " |
| 1904 |
"tuer (un dont la disposition est configurée à B<SIG_DFL> et dont l'action " |
| 1905 |
"par défaut est de tuer le processus), tous les threads se terminent. Chaque " |
| 1906 |
"observé signale sa mort à son ou ses observateurs. La notification de cet " |
| 1907 |
"événement est distribuée par B<waitpid>(2)." |
| 1908 |
|
| 1909 |
#. type: Plain text |
| 1910 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1911 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1912 |
msgid "" |
| 1913 |
"Note that the killing signal will first cause signal-delivery-stop (on one " |
| 1914 |
"tracee only), and only after it is injected by the tracer (or after it was " |
| 1915 |
"dispatched to a thread which isn't traced), will death from the signal " |
| 1916 |
"happen on I<all> tracees within a multithreaded process. (The term \"signal-" |
| 1917 |
"delivery-stop\" is explained below.)" |
| 1918 |
msgstr "" |
| 1919 |
"Remarquez que le signal tueur provoquera d'abord un arrêt-distribution-" |
| 1920 |
"signal (sur un seul observé) et, seulement après être injecté par " |
| 1921 |
"l'observateur (ou après être envoyé à un thread qui n'est pas suivi), la " |
| 1922 |
"mort du signal arrivera sur I<tous> les observés d'un processus multithreadé " |
| 1923 |
"(le terme « arrêt-distribution-signal » est expliqué plus bas)." |
| 1924 |
|
| 1925 |
#. type: Plain text |
| 1926 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1927 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1928 |
msgid "" |
| 1929 |
"B<SIGKILL> does not generate signal-delivery-stop and therefore the tracer " |
| 1930 |
"can't suppress it. B<SIGKILL> kills even within system calls (syscall-exit-" |
| 1931 |
"stop is not generated prior to death by B<SIGKILL>). The net effect is that " |
| 1932 |
"B<SIGKILL> always kills the process (all its threads), even if some threads " |
| 1933 |
"of the process are ptraced." |
| 1934 |
msgstr "" |
| 1935 |
"B<SIGKILL> ne génère pas d'arrêt-distribution-signal et l'observateur ne " |
| 1936 |
"peut par conséquent pas le supprimer. B<SIGKILL> tue même à l'intérieur des " |
| 1937 |
"appels systèmes (arrêt-sortie-appel-système n'est pas créé avant la mort par " |
| 1938 |
"B<SIGKILL>). L'effet direct est que B<SIGKILL> tue toujours le processus " |
| 1939 |
"(tout ses threads), même si certains threads du processus sont suivis avec " |
| 1940 |
"ptrace." |
| 1941 |
|
| 1942 |
#. type: Plain text |
| 1943 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1944 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1945 |
msgid "" |
| 1946 |
"When the tracee calls B<_exit>(2), it reports its death to its tracer. " |
| 1947 |
"Other threads are not affected." |
| 1948 |
msgstr "" |
| 1949 |
"Quand l'observé appelle B<_exit>(2), il signale sa mort à son observateur. " |
| 1950 |
"Les autres threads ne sont pas concernés." |
| 1951 |
|
| 1952 |
#. type: Plain text |
| 1953 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1954 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1955 |
msgid "" |
| 1956 |
"When any thread executes B<exit_group>(2), every tracee in its thread group " |
| 1957 |
"reports its death to its tracer." |
| 1958 |
msgstr "" |
| 1959 |
"Quand n'importe quel thread exécute B<exit_group>(2), tous les observés de " |
| 1960 |
"son groupe de threads signalent leur mort à leur observateur." |
| 1961 |
|
| 1962 |
#. type: Plain text |
| 1963 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1964 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1965 |
msgid "" |
| 1966 |
"If the B<PTRACE_O_TRACEEXIT> option is on, B<PTRACE_EVENT_EXIT> will happen " |
| 1967 |
"before actual death. This applies to exits via B<exit>(2), " |
| 1968 |
"B<exit_group>(2), and signal deaths (except B<SIGKILL>, depending on the " |
| 1969 |
"kernel version; see BUGS below), and when threads are torn down on " |
| 1970 |
"B<execve>(2) in a multithreaded process." |
| 1971 |
msgstr "" |
| 1972 |
"Si l'option B<PTRACE_O_TRACEEXIT> est active, B<PTRACE_EVENT_EXIT> arrivera " |
| 1973 |
"avant la mort réelle. Cela s'applique aux terminaisons avec B<exit>(2), " |
| 1974 |
"B<exit_group>(2) et aux morts de signal (sauf B<SIGKILL>, selon la version " |
| 1975 |
"du noyau ; voir les BOGUES ci-dessous), et lorsque les threads sont détruits " |
| 1976 |
"par B<execve>(2) dans un processus multithreadé." |
| 1977 |
|
| 1978 |
#. type: Plain text |
| 1979 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1980 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1981 |
msgid "" |
| 1982 |
"The tracer cannot assume that the ptrace-stopped tracee exists. There are " |
| 1983 |
"many scenarios when the tracee may die while stopped (such as B<SIGKILL>). " |
| 1984 |
"Therefore, the tracer must be prepared to handle an B<ESRCH> error on any " |
| 1985 |
"ptrace operation. Unfortunately, the same error is returned if the tracee " |
| 1986 |
"exists but is not ptrace-stopped (for commands which require a stopped " |
| 1987 |
"tracee), or if it is not traced by the process which issued the ptrace " |
| 1988 |
"call. The tracer needs to keep track of the stopped/running state of the " |
| 1989 |
"tracee, and interpret B<ESRCH> as \"tracee died unexpectedly\" only if it " |
| 1990 |
"knows that the tracee has been observed to enter ptrace-stop. Note that " |
| 1991 |
"there is no guarantee that I<waitpid(WNOHANG)> will reliably report the " |
| 1992 |
"tracee's death status if a ptrace operation returned B<ESRCH>. " |
| 1993 |
"I<waitpid(WNOHANG)> may return 0 instead. In other words, the tracee may be " |
| 1994 |
"\"not yet fully dead\", but already refusing ptrace operations." |
| 1995 |
msgstr "" |
| 1996 |
"L'observateur ne peut pas assumer que l'observé arrêté-ptrace existe. " |
| 1997 |
"L'observé risque de mourir avant d'être arrêté dans plusieurs cas (comme " |
| 1998 |
"avec B<SIGKILL>). Par conséquent, le tracé doit être préparé pour traiter " |
| 1999 |
"une erreur B<ESRCH> sur n'importe quelle opération ptrace. Malheureusement, " |
| 2000 |
"la même erreur est renvoyée si l'observé existe mais n'est pas arrêté-ptrace " |
| 2001 |
"(pour les commandes qui nécessitent un observé arrêté), ou s'il n'est pas " |
| 2002 |
"suivi par le processus qui a envoyé l'appel ptrace. L'observateur doit " |
| 2003 |
"garder une trace de l'état arrêté ou en fonctionnement de l'observé, et " |
| 2004 |
"interpréter B<ESRCH> comme « l'observé s'est achevé de manière inattendue » " |
| 2005 |
"seulement s'il sait que l'observé est effectivement entré en arrêt-ptrace. " |
| 2006 |
"Remarquez qu'il n'est pas garanti que I<waitpid(WNOHANG)> signale de façon " |
| 2007 |
"fiable l'état de mort de l'observé si une opération ptrace renvoie B<ESRCH>. " |
| 2008 |
"I<waitpid(WNOHANG)> pourrait plutôt renvoyer B<0>. Autrement dit, l'observé " |
| 2009 |
"pourrait « ne pas être encore mort », mais déjà refuser des opérations " |
| 2010 |
"ptrace." |
| 2011 |
|
| 2012 |
#. type: Plain text |
| 2013 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2014 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2015 |
msgid "" |
| 2016 |
"The tracer can't assume that the tracee I<always> ends its life by reporting " |
| 2017 |
"I<WIFEXITED(status)> or I<WIFSIGNALED(status)>; there are cases where this " |
| 2018 |
"does not occur. For example, if a thread other than thread group leader " |
| 2019 |
"does an B<execve>(2), it disappears; its PID will never be seen again, and " |
| 2020 |
"any subsequent ptrace stops will be reported under the thread group leader's " |
| 2021 |
"PID." |
| 2022 |
msgstr "" |
| 2023 |
"L'observateur ne peut pas assumer que l'observé finit I<toujours> sa vie en " |
| 2024 |
"signalant I<WIFEXITED(status)> ou I<WIFSIGNALED(status)> ; dans certains cas " |
| 2025 |
"ça n'arrive pas. Par exemple si un thread différent du leader de groupe de " |
| 2026 |
"threads fait un B<execve>(2), il disparaît ; son PID ne sera plus jamais vu, " |
| 2027 |
"tous les arrêts suivants de ptrace seront signalés sous le PID du leader de " |
| 2028 |
"groupe de threads." |
| 2029 |
|
| 2030 |
#. type: SS |
| 2031 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2032 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2033 |
#, no-wrap |
| 2034 |
msgid "Stopped states" |
| 2035 |
msgstr "États arrêtés" |
| 2036 |
|
| 2037 |
#. type: Plain text |
| 2038 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2039 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2040 |
msgid "" |
| 2041 |
"A tracee can be in two states: running or stopped. For the purposes of " |
| 2042 |
"ptrace, a tracee which is blocked in a system call (such as B<read>(2), " |
| 2043 |
"B<pause>(2), etc.) is nevertheless considered to be running, even if the " |
| 2044 |
"tracee is blocked for a long time. The state of the tracee after " |
| 2045 |
"B<PTRACE_LISTEN> is somewhat of a gray area: it is not in any ptrace-stop " |
| 2046 |
"(ptrace commands won't work on it, and it will deliver B<waitpid>(2) " |
| 2047 |
"notifications), but it also may be considered \"stopped\" because it is not " |
| 2048 |
"executing instructions (is not scheduled), and if it was in group-stop " |
| 2049 |
"before B<PTRACE_LISTEN>, it will not respond to signals until B<SIGCONT> is " |
| 2050 |
"received." |
| 2051 |
msgstr "" |
| 2052 |
"Deux états existent pour un observé : en cours d'exécution ou à l'arrêt. Du " |
| 2053 |
"point de vue de ptrace, un observé qui est bloqué dans un appel système " |
| 2054 |
"(comme B<read>(2), B<pause>(2), etc.) est néanmoins considéré en cours " |
| 2055 |
"d’exécution, même si l’observé est bloqué depuis longtemps. L’état de " |
| 2056 |
"l’observé après B<PTRACE_LISTEN> est en quelque sorte une zone d’ombre : il " |
| 2057 |
"n’est dans aucun arrêt-ptrace (les commandes ptrace n’auront aucun effet sur " |
| 2058 |
"lui et il distribuera des notifications B<waitpid>(2)), mais il pourrait " |
| 2059 |
"aussi être considéré « arrêté » parce qu’il n’est pas en train d’exécuter " |
| 2060 |
"des instructions (pas de programmation) et, s’il était en arrêt-groupe avant " |
| 2061 |
"B<PTRACE_LISTEN>, il ne répondra pas aux signaux avant de recevoir " |
| 2062 |
"B<SIGCONT>." |
| 2063 |
|
| 2064 |
#. type: Plain text |
| 2065 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2066 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2067 |
msgid "" |
| 2068 |
"There are many kinds of states when the tracee is stopped, and in ptrace " |
| 2069 |
"discussions they are often conflated. Therefore, it is important to use " |
| 2070 |
"precise terms." |
| 2071 |
msgstr "" |
| 2072 |
"De nombreuses sortes d'états sont possibles quand l'observé est arrêté, et " |
| 2073 |
"les discussions dans ptrace sont souvent confondues. Par conséquent, " |
| 2074 |
"l'utilisation de termes précis est importante." |
| 2075 |
|
| 2076 |
#. type: Plain text |
| 2077 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2078 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2079 |
msgid "" |
| 2080 |
"In this manual page, any stopped state in which the tracee is ready to " |
| 2081 |
"accept ptrace commands from the tracer is called I<ptrace-stop>. Ptrace-" |
| 2082 |
"stops can be further subdivided into I<signal-delivery-stop>, I<group-stop>, " |
| 2083 |
"I<syscall-stop>, I<PTRACE_EVENT stops>, and so on. These stopped states are " |
| 2084 |
"described in detail below." |
| 2085 |
msgstr "" |
| 2086 |
"Dans cette page de manuel, tous les états d'arrêt dans lesquels l'observé " |
| 2087 |
"est prêt à accepter des commandes ptrace de l'observateur sont appelés " |
| 2088 |
"I<arrêt-ptrace>. Les arrêts-ptrace peuvent ensuite être sous-divisés en " |
| 2089 |
"I<arrêt-distribution-signal>, I<arrêt-groupe>, I<arrêt-appel-" |
| 2090 |
"système>, I<arrêt-PTRACE_EVENT>, etc. Ces états d'arrêt sont décrits en " |
| 2091 |
"détail ci-dessous." |
| 2092 |
|
| 2093 |
#. type: Plain text |
| 2094 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2095 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2096 |
msgid "" |
| 2097 |
"When the running tracee enters ptrace-stop, it notifies its tracer using " |
| 2098 |
"B<waitpid>(2) (or one of the other \"wait\" system calls). Most of this " |
| 2099 |
"manual page assumes that the tracer waits with:" |
| 2100 |
msgstr "" |
| 2101 |
"Lorsque l'observé en cours d'exécution entre en arrêt-ptrace, il avise son " |
| 2102 |
"observateur en utilisant B<waitpid>(2) (ou un des autres appels système " |
| 2103 |
"« wait »). La plupart de cette page de manuel suppose que l'observateur " |
| 2104 |
"attend avec :" |
| 2105 |
|
| 2106 |
#. type: Plain text |
| 2107 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2108 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2109 |
#, no-wrap |
| 2110 |
msgid "pid = waitpid(pid_or_minus_1, &status, __WALL);\n" |
| 2111 |
msgstr "pid = waitpid(pid_ou_moins_1, &status, __WALL);\n" |
| 2112 |
|
| 2113 |
#. Denys Vlasenko: |
| 2114 |
#. Do we require __WALL usage, or will just using 0 be ok? (With 0, |
| 2115 |
#. I am not 100% sure there aren't ugly corner cases.) Are the |
| 2116 |
#. rules different if user wants to use waitid? Will waitid require |
| 2117 |
#. WEXITED? |
| 2118 |
#. type: Plain text |
| 2119 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2120 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2121 |
msgid "" |
| 2122 |
"Ptrace-stopped tracees are reported as returns with I<pid> greater than 0 " |
| 2123 |
"and I<WIFSTOPPED(status)> true." |
| 2124 |
msgstr "" |
| 2125 |
"Les observés arrêtés-ptrace sont signalés comme renvoyés avec un I<pid> " |
| 2126 |
"strictement positif et I<WIFSTOPPED(status)> vrai." |
| 2127 |
|
| 2128 |
#. type: Plain text |
| 2129 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2130 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2131 |
msgid "" |
| 2132 |
"The B<__WALL> flag does not include the B<WSTOPPED> and B<WEXITED> flags, " |
| 2133 |
"but implies their functionality." |
| 2134 |
msgstr "" |
| 2135 |
"L'attribut B<__WALL> ne contient pas les attributs B<WSTOPPED> et " |
| 2136 |
"B<WEXITED>, mais implique leur fonctionnalité." |
| 2137 |
|
| 2138 |
#. type: Plain text |
| 2139 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2140 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2141 |
msgid "" |
| 2142 |
"Setting the B<WCONTINUED> flag when calling B<waitpid>(2) is not " |
| 2143 |
"recommended: the \"continued\" state is per-process and consuming it can " |
| 2144 |
"confuse the real parent of the tracee." |
| 2145 |
msgstr "" |
| 2146 |
"La configuration de l'attribut B<WCONTINUED> en appelant B<waitpid>(2) n'est " |
| 2147 |
"pas conseillée : l'état « exécuté » est relatif au processus et l'utiliser " |
| 2148 |
"peut embrouiller le vrai parent de l'observé." |
| 2149 |
|
| 2150 |
#. type: Plain text |
| 2151 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2152 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2153 |
msgid "" |
| 2154 |
"Use of the B<WNOHANG> flag may cause B<waitpid>(2) to return 0 (\"no wait " |
| 2155 |
"results available yet\") even if the tracer knows there should be a " |
| 2156 |
"notification. Example:" |
| 2157 |
msgstr "" |
| 2158 |
"Utiliser l'attribut B<WNOHANG> pourrait forcer B<waitpid>(2) à renvoyer B<0> " |
| 2159 |
"(« aucun résultat d'attente encore disponible ») même si l'observateur sait " |
| 2160 |
"qu'il devrait y avoir une notification. Exemple :" |
| 2161 |
|
| 2162 |
#. type: Plain text |
| 2163 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2164 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2165 |
#, no-wrap |
| 2166 |
msgid "" |
| 2167 |
"errno = 0;\n" |
| 2168 |
"ptrace(PTRACE_CONT, pid, 0L, 0L);\n" |
| 2169 |
"if (errno == ESRCH) {\n" |
| 2170 |
" /* tracee is dead */\n" |
| 2171 |
" r = waitpid(tracee, &status, __WALL | WNOHANG);\n" |
| 2172 |
" /* r can still be 0 here! */\n" |
| 2173 |
"}\n" |
| 2174 |
msgstr "" |
| 2175 |
"errno = 0;\n" |
| 2176 |
"ptrace(PTRACE_CONT, pid, 0L, 0L);\n" |
| 2177 |
"if (errno == ESRCH) {\n" |
| 2178 |
" /* l'observé est mort */\n" |
| 2179 |
" r = waitpid(tracee, &status, __WALL | WNOHANG);\n" |
| 2180 |
" /* r peut encore valoir 0 ici ! */\n" |
| 2181 |
"}\n" |
| 2182 |
|
| 2183 |
#. type: Plain text |
| 2184 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2185 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2186 |
msgid "" |
| 2187 |
"The following kinds of ptrace-stops exist: signal-delivery-stops, group-" |
| 2188 |
"stops, B<PTRACE_EVENT> stops, syscall-stops. They all are reported by " |
| 2189 |
"B<waitpid>(2) with I<WIFSTOPPED(status)> true. They may be differentiated " |
| 2190 |
"by examining the value I<statusE<gt>E<gt>8>, and if there is ambiguity in " |
| 2191 |
"that value, by querying B<PTRACE_GETSIGINFO>. (Note: the " |
| 2192 |
"I<WSTOPSIG(status)> macro can't be used to perform this examination, because " |
| 2193 |
"it returns the value I<(statusE<gt>E<gt>8)\\ &\\ 0xff>.)" |
| 2194 |
msgstr "" |
| 2195 |
"Les sortes d'arrêts-ptrace suivants existent : arrêts-distribution-signal, " |
| 2196 |
"arrêts-groupe, arrêts B<PTRACE_EVENT> et arrêts-appel-système. Ils sont " |
| 2197 |
"signalés par B<waitpid>(2) avec I<WIFSTOPPED(status)> vrai. Ils peuvent être " |
| 2198 |
"distingués en examinant la valeur I<statusE<gt>E<gt>8>, et en cas " |
| 2199 |
"d'ambiguïté dans cette valeur, en faisant une requête B<PTRACE_GETSIGINFO> " |
| 2200 |
"(remarque : la macro I<WSTOPSIG(status)> ne peut pas être utilisée pour " |
| 2201 |
"réaliser cet examen, car elle renvoie la valeur I<(statusE<gt>E<gt>8)\\ &\\ " |
| 2202 |
"0xff>.)" |
| 2203 |
|
| 2204 |
#. type: SS |
| 2205 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2206 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2207 |
#, no-wrap |
| 2208 |
msgid "Signal-delivery-stop" |
| 2209 |
msgstr "Arrêt-distribution-signal" |
| 2210 |
|
| 2211 |
#. type: Plain text |
| 2212 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2213 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2214 |
msgid "" |
| 2215 |
"When a (possibly multithreaded) process receives any signal except " |
| 2216 |
"B<SIGKILL>, the kernel selects an arbitrary thread which handles the " |
| 2217 |
"signal. (If the signal is generated with B<tgkill>(2), the target thread " |
| 2218 |
"can be explicitly selected by the caller.) If the selected thread is " |
| 2219 |
"traced, it enters signal-delivery-stop. At this point, the signal is not " |
| 2220 |
"yet delivered to the process, and can be suppressed by the tracer. If the " |
| 2221 |
"tracer doesn't suppress the signal, it passes the signal to the tracee in " |
| 2222 |
"the next ptrace restart operation. This second step of signal delivery is " |
| 2223 |
"called I<signal injection> in this manual page. Note that if the signal is " |
| 2224 |
"blocked, signal-delivery-stop doesn't happen until the signal is unblocked, " |
| 2225 |
"with the usual exception that B<SIGSTOP> can't be blocked." |
| 2226 |
msgstr "" |
| 2227 |
"Quand un processus (éventuellement multithreadé) reçoit n'importe quel " |
| 2228 |
"signal sauf B<SIGKILL>, le noyau choisi un thread arbitraire pour traiter le " |
| 2229 |
"signal (si le signal est créé avec B<tgill>(2), le thread cible peut être " |
| 2230 |
"explicitement choisi par l'appelant). Si le thread choisi est observé, il " |
| 2231 |
"entre en arrêt-distribution-signal. À ce moment là, le signal n'est pas " |
| 2232 |
"encore distribué au processus, et peut être supprimé par l'observateur. Si " |
| 2233 |
"l'observateur ne supprime pas le signal, il passe le signal à l'observé lors " |
| 2234 |
"de l'opération suivante de redémarrage de ptrace. Cette deuxième étape de " |
| 2235 |
"distribution de signal est appelée I<injection de signal> dans cette page de " |
| 2236 |
"manuel. Remarquez que si le signal est bloqué, l'arrêt-distribution-signal " |
| 2237 |
"n'arrive pas avant que le signal soit débloqué, à l'exception habituelle que " |
| 2238 |
"B<SIGSTOP> ne peut pas être bloqué." |
| 2239 |
|
| 2240 |
#. type: Plain text |
| 2241 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2242 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2243 |
msgid "" |
| 2244 |
"Signal-delivery-stop is observed by the tracer as B<waitpid>(2) returning " |
| 2245 |
"with I<WIFSTOPPED(status)> true, with the signal returned by " |
| 2246 |
"I<WSTOPSIG(status)>. If the signal is B<SIGTRAP>, this may be a different " |
| 2247 |
"kind of ptrace-stop; see the \"Syscall-stops\" and \"execve\" sections below " |
| 2248 |
"for details. If I<WSTOPSIG(status)> returns a stopping signal, this may be " |
| 2249 |
"a group-stop; see below." |
| 2250 |
msgstr "" |
| 2251 |
"L'arrêt-distribution-signal est respecté par l'observateur tant que " |
| 2252 |
"B<waitpid>(2) retourne avec I<WIFSTOPPED(status)> vrai, avec le signal " |
| 2253 |
"renvoyé par I<WSTOPSIG(status)>. Si le signal est B<SIGTRAP>, cela pourrait " |
| 2254 |
"être un arrêt-ptrace de nature différente ; consultez les sections B<Arrêts-" |
| 2255 |
"appel-système> et B<execve(2) sous ptrace> plus bas pour obtenir de plus " |
| 2256 |
"amples précisions. Si I<WSTOPSIG(status)> renvoie un signal d'arrêt, cela " |
| 2257 |
"pourrait être un arrêt-groupe ; voir ci-dessous." |
| 2258 |
|
| 2259 |
#. type: SS |
| 2260 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2261 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2262 |
#, no-wrap |
| 2263 |
msgid "Signal injection and suppression" |
| 2264 |
msgstr "Injection et suppression de signal" |
| 2265 |
|
| 2266 |
#. type: Plain text |
| 2267 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2268 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2269 |
msgid "" |
| 2270 |
"After signal-delivery-stop is observed by the tracer, the tracer should " |
| 2271 |
"restart the tracee with the call" |
| 2272 |
msgstr "" |
| 2273 |
"Après un arrêt-distribution-signal respecté par l'observateur, l'observateur " |
| 2274 |
"devrait redémarrer l'observé avec l'appel" |
| 2275 |
|
| 2276 |
#. type: Plain text |
| 2277 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2278 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2279 |
#, no-wrap |
| 2280 |
msgid "ptrace(PTRACE_restart, pid, 0, sig)\n" |
| 2281 |
msgstr "ptrace(PTRACE_restart, pid, 0, sig)\n" |
| 2282 |
|
| 2283 |
#. type: Plain text |
| 2284 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2285 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2286 |
msgid "" |
| 2287 |
"where B<PTRACE_restart> is one of the restarting ptrace operations. If " |
| 2288 |
"I<sig> is 0, then a signal is not delivered. Otherwise, the signal I<sig> " |
| 2289 |
"is delivered. This operation is called I<signal injection> in this manual " |
| 2290 |
"page, to distinguish it from signal-delivery-stop." |
| 2291 |
msgstr "" |
| 2292 |
"où B<PTRACE_restart> est une des opérations ptrace de redémarrage. Si I<sig> " |
| 2293 |
"est B<0>, alors aucun signal n'est distribué. Sinon, le signal I<sig> est " |
| 2294 |
"distribué. Cette opération est appelée I<injection de signal> dans cette " |
| 2295 |
"page de manuel, pour la distinguer de l'arrêt-distribution-signal." |
| 2296 |
|
| 2297 |
#. type: Plain text |
| 2298 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2299 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2300 |
msgid "" |
| 2301 |
"The I<sig> value may be different from the I<WSTOPSIG(status)> value: the " |
| 2302 |
"tracer can cause a different signal to be injected." |
| 2303 |
msgstr "" |
| 2304 |
"La valeur de I<sig> peut être différente de celle de I<WSTOPSIG(status)> : " |
| 2305 |
"l'observateur peut provoquer l'injection d'un autre signal." |
| 2306 |
|
| 2307 |
#. type: Plain text |
| 2308 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2309 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2310 |
msgid "" |
| 2311 |
"Note that a suppressed signal still causes system calls to return " |
| 2312 |
"prematurely. In this case, system calls will be restarted: the tracer will " |
| 2313 |
"observe the tracee to reexecute the interrupted system call (or " |
| 2314 |
"B<restart_syscall>(2) system call for a few system calls which use a " |
| 2315 |
"different mechanism for restarting) if the tracer uses B<PTRACE_SYSCALL>. " |
| 2316 |
"Even system calls (such as B<poll>(2)) which are not restartable after " |
| 2317 |
"signal are restarted after signal is suppressed; however, kernel bugs exist " |
| 2318 |
"which cause some system calls to fail with B<EINTR> even though no " |
| 2319 |
"observable signal is injected to the tracee." |
| 2320 |
msgstr "" |
| 2321 |
"Remarquez qu'un signal supprimé provoque toujours un retour prématuré des " |
| 2322 |
"appels système. Dans ce cas, les appels système seront redémarrés : " |
| 2323 |
"l'observateur forcera l'observé à réexécuter l'appel système interrompu (ou " |
| 2324 |
"l'appel système B<restart_syscall>(2) pour les quelques appels système qui " |
| 2325 |
"utilisent un autre mécanisme de redémarrage) si l'observateur utilise " |
| 2326 |
"B<PTRACE_SYSCALL>. Même les appels système (comme B<poll>(2)) qui ne sont " |
| 2327 |
"pas redémarrables après le signal sont redémarrés après la suppression du " |
| 2328 |
"signal ; cependant, des bogues du noyau existent et certains appels système " |
| 2329 |
"échouent avec B<EINTR> même si aucun signal observable n'est injecté dans " |
| 2330 |
"l'observé." |
| 2331 |
|
| 2332 |
#. type: Plain text |
| 2333 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2334 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2335 |
msgid "" |
| 2336 |
"Restarting ptrace commands issued in ptrace-stops other than signal-delivery-" |
| 2337 |
"stop are not guaranteed to inject a signal, even if I<sig> is nonzero. No " |
| 2338 |
"error is reported; a nonzero I<sig> may simply be ignored. Ptrace users " |
| 2339 |
"should not try to \"create a new signal\" this way: use B<tgkill>(2) " |
| 2340 |
"instead." |
| 2341 |
msgstr "" |
| 2342 |
"Lors du redémarrage des commandes ptrace émises dans d'autres arrêts-ptrace " |
| 2343 |
"qu'arrêt-distribution-signal, l'injection de signal n'est pas garantie, même " |
| 2344 |
"si I<sig> est non nul. Aucune erreur n'est signalée ; un I<sig> non nul " |
| 2345 |
"risque simplement d'être ignoré. Les utilisateurs de ptrace ne devraient pas " |
| 2346 |
"essayer de « créer un nouveau signal » de cette façon : utilisez plutôt " |
| 2347 |
"B<tgkill>(2)." |
| 2348 |
|
| 2349 |
#. type: Plain text |
| 2350 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2351 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2352 |
msgid "" |
| 2353 |
"The fact that signal injection operations may be ignored when restarting the " |
| 2354 |
"tracee after ptrace stops that are not signal-delivery-stops is a cause of " |
| 2355 |
"confusion among ptrace users. One typical scenario is that the tracer " |
| 2356 |
"observes group-stop, mistakes it for signal-delivery-stop, restarts the " |
| 2357 |
"tracee with" |
| 2358 |
msgstr "" |
| 2359 |
"Le fait que des opérations d'injection de signal puissent être ignorées lors " |
| 2360 |
"du redémarrage de l'observé après des arrêts ptrace qui ne sont pas des " |
| 2361 |
"arrêts-distribution-signal est une source de confusion pour les utilisateurs " |
| 2362 |
"de ptrace. Un scénario typique est que l'observateur remarque un arrêt-" |
| 2363 |
"groupe, le confonde avec un arrêt-distribution-signal, et redémarre " |
| 2364 |
"l'observé avec" |
| 2365 |
|
| 2366 |
#. type: Plain text |
| 2367 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2368 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2369 |
#, no-wrap |
| 2370 |
msgid "ptrace(PTRACE_restart, pid, 0, stopsig)\n" |
| 2371 |
msgstr "ptrace(PTRACE_restart, pid, 0, stopsig)\n" |
| 2372 |
|
| 2373 |
#. type: Plain text |
| 2374 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2375 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2376 |
msgid "" |
| 2377 |
"with the intention of injecting I<stopsig>, but I<stopsig> gets ignored and " |
| 2378 |
"the tracee continues to run." |
| 2379 |
msgstr "" |
| 2380 |
"dans le but d'injecter I<stopsig>, mais I<stopsig> sera ignoré et l'observé " |
| 2381 |
"continuera de fonctionner." |
| 2382 |
|
| 2383 |
#. type: Plain text |
| 2384 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2385 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2386 |
msgid "" |
| 2387 |
"The B<SIGCONT> signal has a side effect of waking up (all threads of) a " |
| 2388 |
"group-stopped process. This side effect happens before signal-delivery-" |
| 2389 |
"stop. The tracer can't suppress this side effect (it can only suppress " |
| 2390 |
"signal injection, which only causes the B<SIGCONT> handler to not be " |
| 2391 |
"executed in the tracee, if such a handler is installed). In fact, waking up " |
| 2392 |
"from group-stop may be followed by signal-delivery-stop for signal(s) " |
| 2393 |
"I<other than> B<SIGCONT>, if they were pending when B<SIGCONT> was " |
| 2394 |
"delivered. In other words, B<SIGCONT> may be not the first signal observed " |
| 2395 |
"by the tracee after it was sent." |
| 2396 |
msgstr "" |
| 2397 |
"Le signal B<SIGCONT> a pour effet de bord de réveiller (tous les threads " |
| 2398 |
"d')un processus arrêté-groupe. Cet effet de bord arrive avant un arrêt-" |
| 2399 |
"distribution-signal. L'observateur ne peut pas supprimer cet effet de bord " |
| 2400 |
"(il ne peut que supprimer l'injection de signal, qui force seulement le " |
| 2401 |
"gestionnaire de B<SIGCONT> à ne pas être exécuté dans l'observé, si un " |
| 2402 |
"gestionnaire de ce type est installé). En fait, le réveil depuis un arrêt-" |
| 2403 |
"groupe pourrait être suivi par un arrêt-distribution-signal pour le ou les " |
| 2404 |
"signaux I<différents> de B<SIGCONT>, s'ils étaient en attente quand " |
| 2405 |
"B<SIGCONT> a été distribué. Autrement dit, B<SIGCONT> pourrait ne pas être " |
| 2406 |
"le premier signal remarqué par l'observé après avoir été envoyé." |
| 2407 |
|
| 2408 |
#. type: Plain text |
| 2409 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2410 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2411 |
msgid "" |
| 2412 |
"Stopping signals cause (all threads of) a process to enter group-stop. This " |
| 2413 |
"side effect happens after signal injection, and therefore can be suppressed " |
| 2414 |
"by the tracer." |
| 2415 |
msgstr "" |
| 2416 |
"L'arrêt de signaux force (tous les threads d')un processus à entrer en arrêt-" |
| 2417 |
"groupe. Cet effet de bord arrive après une injection de signal, et peut par " |
| 2418 |
"conséquent être supprimé par l'observateur." |
| 2419 |
|
| 2420 |
# |
| 2421 |
#. In the Linux 2.4 sources, in arch/i386/kernel/signal.c::do_signal(), |
| 2422 |
#. there is: |
| 2423 |
#. /* The debugger continued. Ignore SIGSTOP. */ |
| 2424 |
#. if (signr == SIGSTOP) |
| 2425 |
#. continue; |
| 2426 |
#. type: Plain text |
| 2427 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2428 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2429 |
msgid "In Linux 2.4 and earlier, the B<SIGSTOP> signal can't be injected." |
| 2430 |
msgstr "" |
| 2431 |
"Sous Linux 2.4 et les versions précédentes, le signal B<SIGSTOP> ne pouvait " |
| 2432 |
"pas être injecté." |
| 2433 |
|
| 2434 |
#. type: Plain text |
| 2435 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2436 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2437 |
msgid "" |
| 2438 |
"B<PTRACE_GETSIGINFO> can be used to retrieve a I<siginfo_t> structure which " |
| 2439 |
"corresponds to the delivered signal. B<PTRACE_SETSIGINFO> may be used to " |
| 2440 |
"modify it. If B<PTRACE_SETSIGINFO> has been used to alter I<siginfo_t>, the " |
| 2441 |
"I<si_signo> field and the I<sig> parameter in the restarting command must " |
| 2442 |
"match, otherwise the result is undefined." |
| 2443 |
msgstr "" |
| 2444 |
"B<PTRACE_GETSIGINFO> peut être utilisé pour récupérer une structure " |
| 2445 |
"I<siginfo_t> qui correspond au signal distribué. B<PTRACE_SETSIGINFO> " |
| 2446 |
"pourrait être utilisé pour le modifier. Si B<PTRACE_SETSIGINFO> a été " |
| 2447 |
"utilisé pour modifier I<siginfo_t>, le champ I<si_signo> et le paramètre " |
| 2448 |
"I<sig> de la commande de redémarrage doivent correspondre, sinon le résultat " |
| 2449 |
"est indéfini." |
| 2450 |
|
| 2451 |
#. type: SS |
| 2452 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2453 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2454 |
#, no-wrap |
| 2455 |
msgid "Group-stop" |
| 2456 |
msgstr "Arrêt-groupe" |
| 2457 |
|
| 2458 |
#. type: Plain text |
| 2459 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2460 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2461 |
msgid "" |
| 2462 |
"When a (possibly multithreaded) process receives a stopping signal, all " |
| 2463 |
"threads stop. If some threads are traced, they enter a group-stop. Note " |
| 2464 |
"that the stopping signal will first cause signal-delivery-stop (on one " |
| 2465 |
"tracee only), and only after it is injected by the tracer (or after it was " |
| 2466 |
"dispatched to a thread which isn't traced), will group-stop be initiated on " |
| 2467 |
"I<all> tracees within the multithreaded process. As usual, every tracee " |
| 2468 |
"reports its group-stop separately to the corresponding tracer." |
| 2469 |
msgstr "" |
| 2470 |
"Quand un processus (éventuellement multithreadé) reçoit un signal d'arrêt, " |
| 2471 |
"tous les threads s'arrêtent. Si certains threads sont suivis, ils entrent en " |
| 2472 |
"arrêt-groupe. Remarquez que le signal d'arrêt provoquera d'abord un arrêt-" |
| 2473 |
"distribution-signal (sur un seul observé) et, seulement après avoir été " |
| 2474 |
"injecté par l'observateur (ou après avoir été envoyé à un thread qui n'est " |
| 2475 |
"pas suivi), l'arrêt-groupe sera initié sur I<tous> les observés d'un " |
| 2476 |
"processus multithreadé. Comme d'habitude, tous les observés signalent leur " |
| 2477 |
"arrêt-groupe séparément à l'observateur correspondant." |
| 2478 |
|
| 2479 |
#. type: Plain text |
| 2480 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2481 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2482 |
msgid "" |
| 2483 |
"Group-stop is observed by the tracer as B<waitpid>(2) returning with " |
| 2484 |
"I<WIFSTOPPED(status)> true, with the stopping signal available via " |
| 2485 |
"I<WSTOPSIG(status)>. The same result is returned by some other classes of " |
| 2486 |
"ptrace-stops, therefore the recommended practice is to perform the call" |
| 2487 |
msgstr "" |
| 2488 |
"L'arrêt-groupe est respecté par l'observateur tant que B<waitpid>(2) " |
| 2489 |
"retourne avec I<WIFSTOPPED(status)> vrai, avec le signal d'arrêt disponible " |
| 2490 |
"par l'intermédiaire de I<WSTOPSIG(status)>. Le même résultat est renvoyé par " |
| 2491 |
"d'autres classes d'arrêts-ptrace, par conséquent la méthode conseillée est " |
| 2492 |
"de réaliser l'appel" |
| 2493 |
|
| 2494 |
#. type: Plain text |
| 2495 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2496 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2497 |
#, no-wrap |
| 2498 |
msgid "ptrace(PTRACE_GETSIGINFO, pid, 0, &siginfo)\n" |
| 2499 |
msgstr "ptrace(PTRACE_GETSIGINFO, pid, 0, &siginfo)\n" |
| 2500 |
|
| 2501 |
#. type: Plain text |
| 2502 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2503 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2504 |
msgid "" |
| 2505 |
"The call can be avoided if the signal is not B<SIGSTOP>, B<SIGTSTP>, " |
| 2506 |
"B<SIGTTIN>, or B<SIGTTOU>; only these four signals are stopping signals. If " |
| 2507 |
"the tracer sees something else, it can't be a group-stop. Otherwise, the " |
| 2508 |
"tracer needs to call B<PTRACE_GETSIGINFO>. If B<PTRACE_GETSIGINFO> fails " |
| 2509 |
"with B<EINVAL>, then it is definitely a group-stop. (Other failure codes " |
| 2510 |
"are possible, such as B<ESRCH> (\"no such process\") if a B<SIGKILL> killed " |
| 2511 |
"the tracee.)" |
| 2512 |
msgstr "" |
| 2513 |
"L'appel peut être évité si le signal n'est pas B<SIGSTOP>, B<SIGTSTP>, " |
| 2514 |
"B<SIGTTIN> ou B<SIGTTOU> ; seuls ces quatre signaux sont des signaux " |
| 2515 |
"d'arrêt. Si l'observateur voit autre chose, ce ne peut pas être un arrêt-" |
| 2516 |
"groupe. Sinon, l'observateur doit appeler B<PTRACE_GETSIGINFO>. Si " |
| 2517 |
"B<PTRACE_GETSIGINFO> échoue avec B<EINVAL>, alors c'est définitivement un " |
| 2518 |
"arrêt-groupe (d'autres codes d'échec sont possibles, comme B<ESRCH> (« pas " |
| 2519 |
"de processus de ce type ») si un B<SIGKILL> a tué l'observé)." |
| 2520 |
|
| 2521 |
#. type: Plain text |
| 2522 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2523 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2524 |
msgid "" |
| 2525 |
"If tracee was attached using B<PTRACE_SEIZE>, group-stop is indicated by " |
| 2526 |
"B<PTRACE_EVENT_STOP>: I<statusE<gt>E<gt>16 == PTRACE_EVENT_STOP>. This " |
| 2527 |
"allows detection of group-stops without requiring an extra " |
| 2528 |
"B<PTRACE_GETSIGINFO> call." |
| 2529 |
msgstr "" |
| 2530 |
"Si l’observé était attaché en utilisant B<PTRACE_SEIZE>, un arrêt-groupe est " |
| 2531 |
"indiqué par B<PTRACE_EVENT_STOP> : I<statusE<gt>E<gt>16 == " |
| 2532 |
"PTRACE_EVENT_STOP>. Cela permet la détection d’arrêts-groupe sans nécessiter " |
| 2533 |
"d’appel B<PTRACE_GETSIGINFO> supplémentaire." |
| 2534 |
|
| 2535 |
#. type: Plain text |
| 2536 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2537 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2538 |
msgid "" |
| 2539 |
"As of Linux 2.6.38, after the tracer sees the tracee ptrace-stop and until " |
| 2540 |
"it restarts or kills it, the tracee will not run, and will not send " |
| 2541 |
"notifications (except B<SIGKILL> death) to the tracer, even if the tracer " |
| 2542 |
"enters into another B<waitpid>(2) call." |
| 2543 |
msgstr "" |
| 2544 |
"Depuis Linux 2.6.38, après que l'observateur a vu l'arrêt-ptrace de " |
| 2545 |
"l'observé et jusqu'à ce qu'il le redémarre ou le tue, l'observé ne " |
| 2546 |
"fonctionnera pas, et n'enverra pas de notification (sauf mort par " |
| 2547 |
"B<SIGKILL>) à l'observateur, même si l'observateur entre dans un autre appel " |
| 2548 |
"B<waitpid>(2)." |
| 2549 |
|
| 2550 |
#. type: Plain text |
| 2551 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2552 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2553 |
msgid "" |
| 2554 |
"The kernel behavior described in the previous paragraph causes a problem " |
| 2555 |
"with transparent handling of stopping signals. If the tracer restarts the " |
| 2556 |
"tracee after group-stop, the stopping signal is effectively ignored\\[em]the " |
| 2557 |
"tracee doesn't remain stopped, it runs. If the tracer doesn't restart the " |
| 2558 |
"tracee before entering into the next B<waitpid>(2), future B<SIGCONT> " |
| 2559 |
"signals will not be reported to the tracer; this would cause the B<SIGCONT> " |
| 2560 |
"signals to have no effect on the tracee." |
| 2561 |
msgstr "" |
| 2562 |
"Le comportement du noyau décrit dans le paragraphe précédent pose un " |
| 2563 |
"problème avec la gestion transparente de signaux d'arrêt. Si l'observateur " |
| 2564 |
"redémarre l'observé après un arrêt-groupe, le signal d'arrêt est " |
| 2565 |
"effectivement ignoré — l'observé ne reste pas arrêté, il fonctionne. Si " |
| 2566 |
"l'observateur ne redémarre pas l'observé avant d'entrer dans le prochain " |
| 2567 |
"B<waitpid>(2), les signaux B<SIGCONT> suivants ne seront pas signalés à " |
| 2568 |
"l'observateur ; cela pourrait forcer des signaux B<SIGCONT> à être sans " |
| 2569 |
"effet sur l'observé." |
| 2570 |
|
| 2571 |
#. type: Plain text |
| 2572 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2573 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2574 |
msgid "" |
| 2575 |
"Since Linux 3.4, there is a method to overcome this problem: instead of " |
| 2576 |
"B<PTRACE_CONT>, a B<PTRACE_LISTEN> command can be used to restart a tracee " |
| 2577 |
"in a way where it does not execute, but waits for a new event which it can " |
| 2578 |
"report via B<waitpid>(2) (such as when it is restarted by a B<SIGCONT>)." |
| 2579 |
msgstr "" |
| 2580 |
"Depuis Linux 3.4, une méthode permet d'éviter ce problème : à la place de " |
| 2581 |
"B<PTRACE_CONT>, une commande B<PTRACE_LISTEN> peut être utilisée pour " |
| 2582 |
"redémarrer un observé de façon à ce qu'il ne s'exécute pas, mais attende un " |
| 2583 |
"nouvel événement qu'il peut signaler à l'aide de B<waitpid>(2) (comme s'il " |
| 2584 |
"était redémarré par un B<SIGCONT>)." |
| 2585 |
|
| 2586 |
#. type: SS |
| 2587 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2588 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2589 |
#, no-wrap |
| 2590 |
msgid "PTRACE_EVENT stops" |
| 2591 |
msgstr "Arrêts PTRACE_EVENT" |
| 2592 |
|
| 2593 |
#. type: Plain text |
| 2594 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2595 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2596 |
msgid "" |
| 2597 |
"If the tracer sets B<PTRACE_O_TRACE_*> options, the tracee will enter ptrace-" |
| 2598 |
"stops called B<PTRACE_EVENT> stops." |
| 2599 |
msgstr "" |
| 2600 |
"Si l'observateur configure des options B<PTRACE_O_TRACE_*>, l'observé " |
| 2601 |
"entrera en arrêts-ptrace appelés arrêts B<PTRACE_EVENT>." |
| 2602 |
|
| 2603 |
#. type: Plain text |
| 2604 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2605 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2606 |
msgid "" |
| 2607 |
"B<PTRACE_EVENT> stops are observed by the tracer as B<waitpid>(2) returning " |
| 2608 |
"with I<WIFSTOPPED(status)>, and I<WSTOPSIG(status)> returns B<SIGTRAP> (or " |
| 2609 |
"for B<PTRACE_EVENT_STOP>, returns the stopping signal if tracee is in a " |
| 2610 |
"group-stop). An additional bit is set in the higher byte of the status " |
| 2611 |
"word: the value I<statusE<gt>E<gt>8> will be" |
| 2612 |
msgstr "" |
| 2613 |
"Les arrêts B<PTRACE_EVENT> sont respectés par l'observateur pendant que " |
| 2614 |
"B<waitpid>(2) renvoie I<WIFSTOPPED(status)> et que I<WSTOPSIG(status)> " |
| 2615 |
"renvoie B<SIGTRAP> (ou pour B<PTRACE_EVENT_STOP>, renvoie le signal d'arrêt " |
| 2616 |
"si l'observé est dans un arrêt de groupe). Un bit supplémentaire est " |
| 2617 |
"configuré dans l'octet le plus haut du mot d'état : la valeur " |
| 2618 |
"I<statusE<gt>E<gt>8> sera" |
| 2619 |
|
| 2620 |
#. type: Plain text |
| 2621 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2622 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2623 |
#, no-wrap |
| 2624 |
msgid "((PTRACE_EVENT_fooE<lt>E<lt>8) | SIGTRAP).\n" |
| 2625 |
msgstr "((PTRACE_EVENT_fooE<lt>E<lt>8) | SIGTRAP).\n" |
| 2626 |
|
| 2627 |
#. type: Plain text |
| 2628 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2629 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2630 |
msgid "The following events exist:" |
| 2631 |
msgstr "Les événements suivants existent." |
| 2632 |
|
| 2633 |
#. type: TP |
| 2634 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2635 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2636 |
#, no-wrap |
| 2637 |
msgid "B<PTRACE_EVENT_VFORK>" |
| 2638 |
msgstr "B<PTRACE_EVENT_VFORK>" |
| 2639 |
|
| 2640 |
#. type: Plain text |
| 2641 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2642 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2643 |
msgid "" |
| 2644 |
"Stop before return from B<vfork>(2) or B<clone>(2) with the B<CLONE_VFORK> " |
| 2645 |
"flag. When the tracee is continued after this stop, it will wait for child " |
| 2646 |
"to exit/exec before continuing its execution (in other words, the usual " |
| 2647 |
"behavior on B<vfork>(2))." |
| 2648 |
msgstr "" |
| 2649 |
"Arrêt avant de revenir de B<vfork>(2) ou B<clone>(2) avec l'attribut " |
| 2650 |
"B<CLONE_VFORK>. Quand l'observé est continué après cet arrêt, il attendra " |
| 2651 |
"une sortie ou exécution de l'enfant avant de continuer son exécution " |
| 2652 |
"(autrement dit, le comportement normal avec B<vfork>(2))." |
| 2653 |
|
| 2654 |
#. type: TP |
| 2655 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2656 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2657 |
#, no-wrap |
| 2658 |
msgid "B<PTRACE_EVENT_FORK>" |
| 2659 |
msgstr "B<PTRACE_EVENT_FORK>" |
| 2660 |
|
| 2661 |
#. type: Plain text |
| 2662 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2663 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2664 |
msgid "" |
| 2665 |
"Stop before return from B<fork>(2) or B<clone>(2) with the exit signal set " |
| 2666 |
"to B<SIGCHLD>." |
| 2667 |
msgstr "" |
| 2668 |
"Arrêt avant de revenir de B<fork>(2) ou B<clone>(2) avec le signal de sortie " |
| 2669 |
"configuré à B<SIGCHLD>." |
| 2670 |
|
| 2671 |
#. type: TP |
| 2672 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2673 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2674 |
#, no-wrap |
| 2675 |
msgid "B<PTRACE_EVENT_CLONE>" |
| 2676 |
msgstr "B<PTRACE_EVENT_CLONE>" |
| 2677 |
|
| 2678 |
#. type: Plain text |
| 2679 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2680 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2681 |
msgid "Stop before return from B<clone>(2)." |
| 2682 |
msgstr "Arrêt avant de revenir de B<clone>(2)." |
| 2683 |
|
| 2684 |
#. type: TP |
| 2685 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2686 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2687 |
#, no-wrap |
| 2688 |
msgid "B<PTRACE_EVENT_VFORK_DONE>" |
| 2689 |
msgstr "B<PTRACE_EVENT_VFORK_DONE>" |
| 2690 |
|
| 2691 |
#. type: Plain text |
| 2692 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2693 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2694 |
msgid "" |
| 2695 |
"Stop before return from B<vfork>(2) or B<clone>(2) with the B<CLONE_VFORK> " |
| 2696 |
"flag, but after the child unblocked this tracee by exiting or execing." |
| 2697 |
msgstr "" |
| 2698 |
"Arrêt avant de revenir de B<vfork>(2) ou B<clone>(2) avec l'attribut " |
| 2699 |
"B<CLONE_VFORK>, mais après que l'enfant a débloqué son observé par sortie ou " |
| 2700 |
"exécution." |
| 2701 |
|
| 2702 |
#. type: Plain text |
| 2703 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2704 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2705 |
msgid "" |
| 2706 |
"For all four stops described above, the stop occurs in the parent (i.e., the " |
| 2707 |
"tracee), not in the newly created thread. B<PTRACE_GETEVENTMSG> can be used " |
| 2708 |
"to retrieve the new thread's ID." |
| 2709 |
msgstr "" |
| 2710 |
"Pour les quatre arrêts décrits ci-dessus, l'arrêt arrive dans le parent " |
| 2711 |
"(c'est-à-dire l'observé), pas dans le nouveau thread créé. " |
| 2712 |
"B<PTRACE_GETEVENTMSG> permet de récupérer l'identifiant du nouveau thread." |
| 2713 |
|
| 2714 |
#. type: TP |
| 2715 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2716 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2717 |
#, no-wrap |
| 2718 |
msgid "B<PTRACE_EVENT_EXEC>" |
| 2719 |
msgstr "B<PTRACE_EVENT_EXEC>" |
| 2720 |
|
| 2721 |
#. type: Plain text |
| 2722 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2723 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2724 |
msgid "" |
| 2725 |
"Stop before return from B<execve>(2). Since Linux 3.0, " |
| 2726 |
"B<PTRACE_GETEVENTMSG> returns the former thread ID." |
| 2727 |
msgstr "" |
| 2728 |
"Arrêt avant le retour d'B<execve>(2). Depuis Linux 3.0, " |
| 2729 |
"B<PTRACE_GETEVENTMSG> renvoie le premier identifiant de thread." |
| 2730 |
|
| 2731 |
#. type: TP |
| 2732 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2733 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2734 |
#, no-wrap |
| 2735 |
msgid "B<PTRACE_EVENT_EXIT>" |
| 2736 |
msgstr "B<PTRACE_EVENT_EXIT>" |
| 2737 |
|
| 2738 |
#. type: Plain text |
| 2739 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2740 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2741 |
msgid "" |
| 2742 |
"Stop before exit (including death from B<exit_group>(2)), signal death, or " |
| 2743 |
"exit caused by B<execve>(2) in a multithreaded process. " |
| 2744 |
"B<PTRACE_GETEVENTMSG> returns the exit status. Registers can be examined " |
| 2745 |
"(unlike when \"real\" exit happens). The tracee is still alive; it needs to " |
| 2746 |
"be B<PTRACE_CONT>ed or B<PTRACE_DETACH>ed to finish exiting." |
| 2747 |
msgstr "" |
| 2748 |
"Arrêt avant la sortie (y compris la mort depuis B<exit_group>(2)), la mort " |
| 2749 |
"du signal ou la sortie provoquée par B<execve>(2) dans un processus " |
| 2750 |
"multithreadé. B<PTRACE_GETEVENTMSG> renvoie l'état de sortie. Les registres " |
| 2751 |
"peuvent être examinés (contrairement à quand une « vraie » sortie arrive). " |
| 2752 |
"L'observé est toujours actif ; il a besoin de B<PTRACE_CONT> ou " |
| 2753 |
"B<PTRACE_DETACH> pour terminer sa sortie." |
| 2754 |
|
| 2755 |
#. type: TP |
| 2756 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2757 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2758 |
#, no-wrap |
| 2759 |
msgid "B<PTRACE_EVENT_STOP>" |
| 2760 |
msgstr "B<PTRACE_EVENT_STOP>" |
| 2761 |
|
| 2762 |
#. type: Plain text |
| 2763 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2764 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2765 |
msgid "" |
| 2766 |
"Stop induced by B<PTRACE_INTERRUPT> command, or group-stop, or initial " |
| 2767 |
"ptrace-stop when a new child is attached (only if attached using " |
| 2768 |
"B<PTRACE_SEIZE>)." |
| 2769 |
msgstr "" |
| 2770 |
"Arrêt causé par la commande B<PTRACE_INTERRUPT>, ou arrêt-groupe, ou arrêt-" |
| 2771 |
"ptrace initial quand un nouvel enfant est attaché (seulement s’il est " |
| 2772 |
"attaché en utilisant B<PTRACE_SEIZE>)." |
| 2773 |
|
| 2774 |
#. type: TP |
| 2775 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2776 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2777 |
#, no-wrap |
| 2778 |
msgid "B<PTRACE_EVENT_SECCOMP>" |
| 2779 |
msgstr "B<PTRACE_EVENT_SECCOMP>" |
| 2780 |
|
| 2781 |
#. type: Plain text |
| 2782 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2783 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2784 |
msgid "" |
| 2785 |
"Stop triggered by a B<seccomp>(2) rule on tracee syscall entry when " |
| 2786 |
"B<PTRACE_O_TRACESECCOMP> has been set by the tracer. The seccomp event " |
| 2787 |
"message data (from the B<SECCOMP_RET_DATA> portion of the seccomp filter " |
| 2788 |
"rule) can be retrieved with B<PTRACE_GETEVENTMSG>. The semantics of this " |
| 2789 |
"stop are described in detail in a separate section below." |
| 2790 |
msgstr "" |
| 2791 |
"Arrêt différé par une règle B<seccomp>(2) sur l'entrée appel système de " |
| 2792 |
"l'observé quand B<PTRACE_O_TRACESECCOMP> a été positionné par l'observateur. " |
| 2793 |
"Les données du message de l'événement seccomp (issues de la portion " |
| 2794 |
"B<SECCOMP_RET_DATA> de la règle de filtrage seccomp) peuvent être récupérées " |
| 2795 |
"avec B<PTRACE_GETEVENTMSG>. La sémantique de cet arrêt est décrit en détails " |
| 2796 |
"dans une section distincte ci-dessous." |
| 2797 |
|
| 2798 |
#. type: Plain text |
| 2799 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2800 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2801 |
msgid "" |
| 2802 |
"B<PTRACE_GETSIGINFO> on B<PTRACE_EVENT> stops returns B<SIGTRAP> in " |
| 2803 |
"I<si_signo>, with I<si_code> set to I<(eventE<lt>E<lt>8)\\ |\\ SIGTRAP>." |
| 2804 |
msgstr "" |
| 2805 |
"B<PTRACE_GETSIGINFO> sur les arrêts B<PTRACE_EVENT> renvoie B<SIGTRAP> dans " |
| 2806 |
"I<si_signo>, avec I<si_code> configuré à I<(eventE<lt>E<lt>8)\\ |\\ SIGTRAP>." |
| 2807 |
|
| 2808 |
#. type: SS |
| 2809 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2810 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2811 |
#, no-wrap |
| 2812 |
msgid "Syscall-stops" |
| 2813 |
msgstr "Arrêts-appel-système" |
| 2814 |
|
| 2815 |
#. type: Plain text |
| 2816 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2817 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2818 |
msgid "" |
| 2819 |
"If the tracee was restarted by B<PTRACE_SYSCALL> or B<PTRACE_SYSEMU>, the " |
| 2820 |
"tracee enters syscall-enter-stop just prior to entering any system call " |
| 2821 |
"(which will not be executed if the restart was using B<PTRACE_SYSEMU>, " |
| 2822 |
"regardless of any change made to registers at this point or how the tracee " |
| 2823 |
"is restarted after this stop). No matter which method caused the syscall-" |
| 2824 |
"entry-stop, if the tracer restarts the tracee with B<PTRACE_SYSCALL>, the " |
| 2825 |
"tracee enters syscall-exit-stop when the system call is finished, or if it " |
| 2826 |
"is interrupted by a signal. (That is, signal-delivery-stop never happens " |
| 2827 |
"between syscall-enter-stop and syscall-exit-stop; it happens I<after> " |
| 2828 |
"syscall-exit-stop.). If the tracee is continued using any other method " |
| 2829 |
"(including B<PTRACE_SYSEMU>), no syscall-exit-stop occurs. Note that all " |
| 2830 |
"mentions B<PTRACE_SYSEMU> apply equally to B<PTRACE_SYSEMU_SINGLESTEP>." |
| 2831 |
msgstr "" |
| 2832 |
"Si l'observé était redémarré par B<PTRACE_SYSCALL> ou B<PTRACE_SYSEMU>, " |
| 2833 |
"l'observé entre en arrêt-entrée-appel-système juste avant d'entrer dans " |
| 2834 |
"n'importe quel appel système (qui ne sera pas exécuté si le redémarrage " |
| 2835 |
"utilisait B<PTRACE_SYSEMU>, quels que soient les changements apportés aux " |
| 2836 |
"registres à ce point ou à la manière dont l'observé redémarre après cet " |
| 2837 |
"arrêt). Peu importe la méthode qui a conduit en arrêt-entrée-appel-système " |
| 2838 |
"si l’observateur redémarre l’observé avec B<PTRACE_SYSCALL>, l’observé entre " |
| 2839 |
"en arrêt-sortie-appel-système quand l’appel système est terminé ou s'il est " |
| 2840 |
"interrompu par un signal (c'est-à-dire qu'un arrêt-distribution-signal " |
| 2841 |
"n'arrive jamais entre un arrêt-entrée-appel-système et un arrêt-sortie-appel-" |
| 2842 |
"système ; il arrive I<après> l'arrêt-sortie-appel-système). Si l'observé est " |
| 2843 |
"poursuivi en utilisant une autre méthode (notamment B<PTRACE_SYSEMU>), aucun " |
| 2844 |
"arrêt-sortie-appel-système ne se produit. Remarquez que toutes les mentions " |
| 2845 |
"B<PTRACE_SYSEMU> s'appliquent également à B<PTRACE_SYSEMU_SINGLESTEP>." |
| 2846 |
|
| 2847 |
#. type: Plain text |
| 2848 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2849 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2850 |
msgid "" |
| 2851 |
"However, even if the tracee was continued using B<PTRACE_SYSCALL>, it is not " |
| 2852 |
"guaranteed that the next stop will be a syscall-exit-stop. Other " |
| 2853 |
"possibilities are that the tracee may stop in a B<PTRACE_EVENT> stop " |
| 2854 |
"(including seccomp stops), exit (if it entered B<_exit>(2) or " |
| 2855 |
"B<exit_group>(2)), be killed by B<SIGKILL>, or die silently (if it is a " |
| 2856 |
"thread group leader, the B<execve>(2) happened in another thread, and that " |
| 2857 |
"thread is not traced by the same tracer; this situation is discussed later)." |
| 2858 |
msgstr "" |
| 2859 |
"Toutefois, même si l'observé a été poursuivi en utilisant B<PTRACE_SYSCALL>, " |
| 2860 |
"il n'est pas garanti que le prochain arrêt sera un arrêt-sortie-appel-" |
| 2861 |
"système. D'autres possibilités sont que l'observé pourrait s'arrêter dans un " |
| 2862 |
"arrêt B<PTRACE_EVENT>, sortir (s'il est entré en B<_exit>(2) ou " |
| 2863 |
"B<exit_group>(2)), être tué par B<SIGKILL> ou mourir silencieusement (s'il " |
| 2864 |
"s'agit d'un leader de groupe de threads, que l'B<execve>(2) est arrivé dans " |
| 2865 |
"un autre thread et que ce thread n'est pas suivi par le même observateur ; " |
| 2866 |
"cette situation sera abordée plus tard)." |
| 2867 |
|
| 2868 |
#. type: Plain text |
| 2869 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2870 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2871 |
msgid "" |
| 2872 |
"Syscall-enter-stop and syscall-exit-stop are observed by the tracer as " |
| 2873 |
"B<waitpid>(2) returning with I<WIFSTOPPED(status)> true, and " |
| 2874 |
"I<WSTOPSIG(status)> giving B<SIGTRAP>. If the B<PTRACE_O_TRACESYSGOOD> " |
| 2875 |
"option was set by the tracer, then I<WSTOPSIG(status)> will give the value " |
| 2876 |
"I<(SIGTRAP\\ |\\ 0x80)>." |
| 2877 |
msgstr "" |
| 2878 |
"Les arrêt-entrée-appel-système et arrêt-sortie-appel-système sont respectés " |
| 2879 |
"par l'observateur tant que B<waitpid>(2) retourne avec I<WIFSTOPPED(status)> " |
| 2880 |
"vrai, et que I<WSTOPSIG(status)> donne B<SIGTRAP>. Si l'option " |
| 2881 |
"B<PTRACE_O_TRACESYSGOOD> était configurée par l'observateur, alors " |
| 2882 |
"I<WSTOPSIG(status)> donnera la valeur (I<SIGTRAP\\ |\\ 0x80>)." |
| 2883 |
|
| 2884 |
#. type: Plain text |
| 2885 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2886 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2887 |
msgid "" |
| 2888 |
"Syscall-stops can be distinguished from signal-delivery-stop with B<SIGTRAP> " |
| 2889 |
"by querying B<PTRACE_GETSIGINFO> for the following cases:" |
| 2890 |
msgstr "" |
| 2891 |
"Les arrêts-appel-système peuvent être distingués d'un arrêt-distribution-" |
| 2892 |
"signal avec B<SIGTRAP> en demandant B<PTRACE_GETSIGINFO> pour les cas " |
| 2893 |
"suivants." |
| 2894 |
|
| 2895 |
#. type: TP |
| 2896 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2897 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2898 |
#, no-wrap |
| 2899 |
msgid "I<si_code> E<lt>= 0" |
| 2900 |
msgstr "I<si_code> E<lt>= 0" |
| 2901 |
|
| 2902 |
#. type: Plain text |
| 2903 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2904 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2905 |
msgid "" |
| 2906 |
"B<SIGTRAP> was delivered as a result of a user-space action, for example, a " |
| 2907 |
"system call (B<tgkill>(2), B<kill>(2), B<sigqueue>(3), etc.), expiration of " |
| 2908 |
"a POSIX timer, change of state on a POSIX message queue, or completion of an " |
| 2909 |
"asynchronous I/O operation." |
| 2910 |
msgstr "" |
| 2911 |
"B<SIGTRAP> a été distribué comme résultat d'une action en espace " |
| 2912 |
"utilisateur, par exemple, un appel système (B<tgkill>(2), B<kill>(2), " |
| 2913 |
"B<sigqueue>(3), etc.), l'expiration d'un minuteur POSIX, la modification " |
| 2914 |
"d'état sur une file de messages POSIX où la fin d'une opération d'E/S " |
| 2915 |
"asynchrone." |
| 2916 |
|
| 2917 |
#. type: TP |
| 2918 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2919 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2920 |
#, no-wrap |
| 2921 |
msgid "I<si_code> == SI_KERNEL (0x80)" |
| 2922 |
msgstr "I<si_code> == SI_KERNEL (0x80)" |
| 2923 |
|
| 2924 |
#. type: Plain text |
| 2925 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2926 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2927 |
msgid "B<SIGTRAP> was sent by the kernel." |
| 2928 |
msgstr "B<SIGTRAP> a été envoyé par le noyau." |
| 2929 |
|
| 2930 |
#. type: TP |
| 2931 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2932 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2933 |
#, no-wrap |
| 2934 |
msgid "I<si_code> == SIGTRAP or I<si_code> == (SIGTRAP|0x80)" |
| 2935 |
msgstr "I<si_code> == SIGTRAP ou I<si_code> == (SIGTRAP|0x80)" |
| 2936 |
|
| 2937 |
#. type: Plain text |
| 2938 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2939 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2940 |
msgid "This is a syscall-stop." |
| 2941 |
msgstr "C'est un arrêt-appel-système." |
| 2942 |
|
| 2943 |
#. type: Plain text |
| 2944 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2945 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2946 |
msgid "" |
| 2947 |
"However, syscall-stops happen very often (twice per system call), and " |
| 2948 |
"performing B<PTRACE_GETSIGINFO> for every syscall-stop may be somewhat " |
| 2949 |
"expensive." |
| 2950 |
msgstr "" |
| 2951 |
"Cependant, les arrêts-appel-système arrivent très souvent (deux fois par " |
| 2952 |
"appel système) et réaliser B<PTRACE_GETSIGINFO> pour chaque arrêt-appel-" |
| 2953 |
"système pourrait être assez coûteux." |
| 2954 |
|
| 2955 |
#. type: Plain text |
| 2956 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2957 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2958 |
msgid "" |
| 2959 |
"Some architectures allow the cases to be distinguished by examining " |
| 2960 |
"registers. For example, on x86, I<rax> == -B<ENOSYS> in syscall-enter-" |
| 2961 |
"stop. Since B<SIGTRAP> (like any other signal) always happens I<after> " |
| 2962 |
"syscall-exit-stop, and at this point I<rax> almost never contains " |
| 2963 |
"-B<ENOSYS>, the B<SIGTRAP> looks like \"syscall-stop which is not syscall-" |
| 2964 |
"enter-stop\"; in other words, it looks like a \"stray syscall-exit-stop\" " |
| 2965 |
"and can be detected this way. But such detection is fragile and is best " |
| 2966 |
"avoided." |
| 2967 |
msgstr "" |
| 2968 |
"Certaines architectures permettent de distinguer ces cas en examinant les " |
| 2969 |
"registres. Par exemple, sur x86, I<rax> == -B<ENOSYS> en arrêt-entrée-appel-" |
| 2970 |
"système. Puisque B<SIGTRAP> (comme tout autre signal) arrive toujours " |
| 2971 |
"I<après> l'arrêt-sortie-appel-système et que I<rax> ne contient à ce moment " |
| 2972 |
"presque jamais -B<ENOSYS>, le B<SIGTRAP> ressemble à un « arrêt-appel-" |
| 2973 |
"système qui n'est pas un arrêt-entrée-appel-système » ; autrement dit, il " |
| 2974 |
"ressemble à un « arrêt-sortie-appel-système perdu » et peut être détecté de " |
| 2975 |
"cette façon. Une telle détection est néanmoins fragile, elle est donc a " |
| 2976 |
"éviter." |
| 2977 |
|
| 2978 |
#. type: Plain text |
| 2979 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2980 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2981 |
msgid "" |
| 2982 |
"Using the B<PTRACE_O_TRACESYSGOOD> option is the recommended method to " |
| 2983 |
"distinguish syscall-stops from other kinds of ptrace-stops, since it is " |
| 2984 |
"reliable and does not incur a performance penalty." |
| 2985 |
msgstr "" |
| 2986 |
"L'utilisation de l'option B<PTRACE_O_TRACESYSGOOD> est la méthode conseillée " |
| 2987 |
"pour distinguer les arrêts-appel-système des autres sortes d'arrêts-ptrace, " |
| 2988 |
"puisqu'il est fiable et n'induit pas de perte de performances." |
| 2989 |
|
| 2990 |
#. type: Plain text |
| 2991 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2992 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2993 |
msgid "" |
| 2994 |
"Syscall-enter-stop and syscall-exit-stop are indistinguishable from each " |
| 2995 |
"other by the tracer. The tracer needs to keep track of the sequence of " |
| 2996 |
"ptrace-stops in order to not misinterpret syscall-enter-stop as syscall-exit-" |
| 2997 |
"stop or vice versa. In general, a syscall-enter-stop is always followed by " |
| 2998 |
"syscall-exit-stop, B<PTRACE_EVENT> stop, or the tracee's death; no other " |
| 2999 |
"kinds of ptrace-stop can occur in between. However, note that seccomp stops " |
| 3000 |
"(see below) can cause syscall-exit-stops, without preceding syscall-entry-" |
| 3001 |
"stops. If seccomp is in use, care needs to be taken not to misinterpret " |
| 3002 |
"such stops as syscall-entry-stops." |
| 3003 |
msgstr "" |
| 3004 |
"Les arrêt-entrée-appel-système et arrêt-sortie-appel-système ne sont pas " |
| 3005 |
"différentiables l'un de l'autre. L'observateur doit garder une trace de la " |
| 3006 |
"suite d'arrêts-ptrace afin de ne pas mal interpréter un arrêt-entrée-appel-" |
| 3007 |
"système comme un arrêt-sortie-appel-système ou vice versa. Généralement, " |
| 3008 |
"l'arrêt-entrée-appel-système est toujours suivi par un arrêt-sortie-appel-" |
| 3009 |
"système, un arrêt B<PTRACE_EVENT> ou la mort de l'observé ; aucune autre " |
| 3010 |
"sorte d'arrêt-ptrace ne peut arriver entre-deux. Toutefois, remarquez que " |
| 3011 |
"les arrêts seccomp (voir ci-dessous) peuvent provoquer des arrêts-sortie-" |
| 3012 |
"appel-système sans arrêt-entrée-appel-système préalable. Si seccomp, il faut " |
| 3013 |
"faire attention à ne pas mal interpréter de tels arrêts en arrêts-entrée-" |
| 3014 |
"appel-système." |
| 3015 |
|
| 3016 |
#. type: Plain text |
| 3017 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3018 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3019 |
msgid "" |
| 3020 |
"If after syscall-enter-stop, the tracer uses a restarting command other than " |
| 3021 |
"B<PTRACE_SYSCALL>, syscall-exit-stop is not generated." |
| 3022 |
msgstr "" |
| 3023 |
"Si suite à un arrêt-entrée-appel-système, l'observateur utilise une commande " |
| 3024 |
"de redémarrage différente de B<PTRACE_SYSCALL>, l'arrêt-sortie-appel-système " |
| 3025 |
"n'est pas créé." |
| 3026 |
|
| 3027 |
#. type: Plain text |
| 3028 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3029 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3030 |
msgid "" |
| 3031 |
"B<PTRACE_GETSIGINFO> on syscall-stops returns B<SIGTRAP> in I<si_signo>, " |
| 3032 |
"with I<si_code> set to B<SIGTRAP> or I<(SIGTRAP|0x80)>." |
| 3033 |
msgstr "" |
| 3034 |
"B<PTRACE_GETSIGINFO> sur les arrêts-appel-système renvoie B<SIGTRAP> dans " |
| 3035 |
"I<si_signo>, avec I<si_code> configuré à B<SIGTRAP> ou (B<SIGTRAP\\ |\\ " |
| 3036 |
"0x80>)." |
| 3037 |
|
| 3038 |
#. type: SS |
| 3039 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3040 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3041 |
#, no-wrap |
| 3042 |
msgid "PTRACE_EVENT_SECCOMP stops (Linux 3.5 to Linux 4.7)" |
| 3043 |
msgstr "Arrêts PTRACE_EVENT_SECCOMP (Linux 3.5 à Linux 4.7)" |
| 3044 |
|
| 3045 |
#. type: Plain text |
| 3046 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3047 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3048 |
msgid "" |
| 3049 |
"The behavior of B<PTRACE_EVENT_SECCOMP> stops and their interaction with " |
| 3050 |
"other kinds of ptrace stops has changed between kernel versions. This " |
| 3051 |
"documents the behavior from their introduction until Linux 4.7 (inclusive). " |
| 3052 |
"The behavior in later kernel versions is documented in the next section." |
| 3053 |
msgstr "" |
| 3054 |
"Le comportement des arrêts B<PTRACE_EVENT_SECCOMP> et leur interaction avec " |
| 3055 |
"les autres types d'arrêt ptrace a changé entre les versions du noyau. Nous " |
| 3056 |
"documentons ici le comportement lors de leur introduction dans Linux 4.7 " |
| 3057 |
"(inclus). Le comportement dans les versions postérieures du noyau est " |
| 3058 |
"documenté dans la section suivante." |
| 3059 |
|
| 3060 |
#. type: Plain text |
| 3061 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3062 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3063 |
msgid "" |
| 3064 |
"A B<PTRACE_EVENT_SECCOMP> stop occurs whenever a B<SECCOMP_RET_TRACE> rule " |
| 3065 |
"is triggered. This is independent of which methods was used to restart the " |
| 3066 |
"system call. Notably, seccomp still runs even if the tracee was restarted " |
| 3067 |
"using B<PTRACE_SYSEMU> and this system call is unconditionally skipped." |
| 3068 |
msgstr "" |
| 3069 |
"Un arrêt B<PTRACE_EVENT_SECCOMP> se produit à chaque fois qu'une règle " |
| 3070 |
"B<SECCOMP_RET_TRACE> est déclenchée. Cela est indépendant de la méthode " |
| 3071 |
"utilisée pour redémarrer l'appel système. En particulier, seccomp s'exécute " |
| 3072 |
"toujours même si l'observé a été redémarré en utilisant B<PTRACE_SYSEMU> et " |
| 3073 |
"cet appel système est sauté sans condition." |
| 3074 |
|
| 3075 |
#. type: Plain text |
| 3076 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3077 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3078 |
msgid "" |
| 3079 |
"Restarts from this stop will behave as if the stop had occurred right before " |
| 3080 |
"the system call in question. In particular, both B<PTRACE_SYSCALL> and " |
| 3081 |
"B<PTRACE_SYSEMU> will normally cause a subsequent syscall-entry-stop. " |
| 3082 |
"However, if after the B<PTRACE_EVENT_SECCOMP> the system call number is " |
| 3083 |
"negative, both the syscall-entry-stop and the system call itself will be " |
| 3084 |
"skipped. This means that if the system call number is negative after a " |
| 3085 |
"B<PTRACE_EVENT_SECCOMP> and the tracee is restarted using B<PTRACE_SYSCALL>, " |
| 3086 |
"the next observed stop will be a syscall-exit-stop, rather than the syscall-" |
| 3087 |
"entry-stop that might have been expected." |
| 3088 |
msgstr "" |
| 3089 |
"Les redémarrages à partir de cet arrêt se comporteront comme si l'arrêt " |
| 3090 |
"s'était produit juste avant l'appel système en question. En particulier, " |
| 3091 |
"tant B<PTRACE_SYSCALL> que B<PTRACE_SYSEMU> provoqueront normalement un " |
| 3092 |
"arrêt-entrée-appel-système ultérieur. Cependant, si après le " |
| 3093 |
"B<PTRACE_EVENT_SECCOMP> le numéro de l'appel système est négatif, l'arrêt-" |
| 3094 |
"entrée-appel-système et l'appel lui-même seront tous deux sautés. Cela veut " |
| 3095 |
"dire que si le numéro d'appel système est négatif après un " |
| 3096 |
"B<PTRACE_EVENT_SECCOMP> et si l'observé est redémarré en utilisant " |
| 3097 |
"B<PTRACE_SYSCALL>, le prochain arrêt observé sera un arrêt-sortie-appel-" |
| 3098 |
"système et non un arrêt-entrée-appel-système qui comme on aurait pu s'y " |
| 3099 |
"attendre." |
| 3100 |
|
| 3101 |
#. type: SS |
| 3102 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3103 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3104 |
#, no-wrap |
| 3105 |
msgid "PTRACE_EVENT_SECCOMP stops (since Linux 4.8)" |
| 3106 |
msgstr "Arrêts PTRACE_EVENT_SECCOMP (depuis Linux 4.8)" |
| 3107 |
|
| 3108 |
#. commit 93e35efb8de45393cf61ed07f7b407629bf698ea |
| 3109 |
#. type: Plain text |
| 3110 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3111 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3112 |
msgid "" |
| 3113 |
"Starting with Linux 4.8, the B<PTRACE_EVENT_SECCOMP> stop was reordered to " |
| 3114 |
"occur between syscall-entry-stop and syscall-exit-stop. Note that seccomp " |
| 3115 |
"no longer runs (and no B<PTRACE_EVENT_SECCOMP> will be reported) if the " |
| 3116 |
"system call is skipped due to B<PTRACE_SYSEMU>." |
| 3117 |
msgstr "" |
| 3118 |
"À partir de Linux 4.8, l'arrêt B<PTRACE_EVENT_SECCOMP> a été réaménagé pour " |
| 3119 |
"intervenir entre l'arrêt-entrée-appel-système et l'arrêt-sortie-appel-" |
| 3120 |
"système. Remarquez que seccomp ne s'exécute plus (et aucun " |
| 3121 |
"B<PTRACE_EVENT_SECCOMP> ne sera renvoyé) si l'appel système est sauté du " |
| 3122 |
"fait d'un B<PTRACE_SYSEMU>." |
| 3123 |
|
| 3124 |
#. type: Plain text |
| 3125 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3126 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3127 |
msgid "" |
| 3128 |
"Functionally, a B<PTRACE_EVENT_SECCOMP> stop functions comparably to a " |
| 3129 |
"syscall-entry-stop (i.e., continuations using B<PTRACE_SYSCALL> will cause " |
| 3130 |
"syscall-exit-stops, the system call number may be changed and any other " |
| 3131 |
"modified registers are visible to the to-be-executed system call as well). " |
| 3132 |
"Note that there may be, but need not have been a preceding syscall-entry-" |
| 3133 |
"stop." |
| 3134 |
msgstr "" |
| 3135 |
"Pratiquement, un arrêt B<PTRACE_EVENT_SECCOMP> fonctionne comme un arrêt-" |
| 3136 |
"entrée-appel-système (à savoir que les reprises utilisant B<PTRACE_SYSCALL> " |
| 3137 |
"provoqueront des arrêts-sortie-appel-système, le numéro de l'appel système " |
| 3138 |
"peut être modifié et tous les registres modifiés sont visibles également à " |
| 3139 |
"l'appel système à exécuter). Remarquez qu'il peut y avoir, sans obligation " |
| 3140 |
"qu'il y ait déjà eu, un arrêt-entrée-appel-système précédent." |
| 3141 |
|
| 3142 |
#. type: Plain text |
| 3143 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3144 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3145 |
msgid "" |
| 3146 |
"After a B<PTRACE_EVENT_SECCOMP> stop, seccomp will be rerun, with a " |
| 3147 |
"B<SECCOMP_RET_TRACE> rule now functioning the same as a " |
| 3148 |
"B<SECCOMP_RET_ALLOW>. Specifically, this means that if registers are not " |
| 3149 |
"modified during the B<PTRACE_EVENT_SECCOMP> stop, the system call will then " |
| 3150 |
"be allowed." |
| 3151 |
msgstr "" |
| 3152 |
"Après un arrêt B<PTRACE_EVENT_SECCOMP>, seccomp sera réexécuté, avec une " |
| 3153 |
"règle B<SECCOMP_RET_TRACE> qui fonctionne désormais de la même manière que " |
| 3154 |
"B<SECCOMP_RET_ALLOW>. En particulier, cela veut dire que si les registres ne " |
| 3155 |
"sont pas modifiés lors d'un arrêt B<PTRACE_EVENT_SECCOMP>, l'appel système " |
| 3156 |
"aura alors l'autorisation." |
| 3157 |
|
| 3158 |
#. type: SS |
| 3159 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3160 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3161 |
#, no-wrap |
| 3162 |
msgid "PTRACE_SINGLESTEP stops" |
| 3163 |
msgstr "Arrêts PTRACE_SINGLESTEP" |
| 3164 |
|
| 3165 |
# |
| 3166 |
#. FIXME . |
| 3167 |
#. document stops occurring with PTRACE_SINGLESTEP |
| 3168 |
#. type: Plain text |
| 3169 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3170 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3171 |
msgid "[Details of these kinds of stops are yet to be documented.]" |
| 3172 |
msgstr "[Les précisions sur ces types d'arrêts sont encore à documenter.]" |
| 3173 |
|
| 3174 |
#. type: SS |
| 3175 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3176 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3177 |
#, no-wrap |
| 3178 |
msgid "Informational and restarting ptrace commands" |
| 3179 |
msgstr "Commandes ptrace d'information et de redémarrage" |
| 3180 |
|
| 3181 |
#. type: Plain text |
| 3182 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3183 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3184 |
msgid "" |
| 3185 |
"Most ptrace commands (all except B<PTRACE_ATTACH>, B<PTRACE_SEIZE>, " |
| 3186 |
"B<PTRACE_TRACEME>, B<PTRACE_INTERRUPT>, and B<PTRACE_KILL>) require the " |
| 3187 |
"tracee to be in a ptrace-stop, otherwise they fail with B<ESRCH>." |
| 3188 |
msgstr "" |
| 3189 |
"La plupart des commandes ptrace (toutes sauf B<PTRACE_ATTACH>, " |
| 3190 |
"B<PTRACE_SEIZE>, B<PTRACE_TRACEME>, B<PTRACE_INTERRUPT> et B<PTRACE_KILL>) " |
| 3191 |
"nécessitent que l'observé soit en arrêt-ptrace, sinon il échoue avec " |
| 3192 |
"B<ESRCH>." |
| 3193 |
|
| 3194 |
#. type: Plain text |
| 3195 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3196 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3197 |
msgid "" |
| 3198 |
"When the tracee is in ptrace-stop, the tracer can read and write data to the " |
| 3199 |
"tracee using informational commands. These commands leave the tracee in " |
| 3200 |
"ptrace-stopped state:" |
| 3201 |
msgstr "" |
| 3202 |
"Quand l'observé est en arrêt-ptrace, l'observateur peut lire et écrire les " |
| 3203 |
"donnés sur l'observé en utilisant les commandes d'information. Ces commandes " |
| 3204 |
"laissent l'observé en état arrêté-ptrace :" |
| 3205 |
|
| 3206 |
#. type: Plain text |
| 3207 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3208 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3209 |
#, no-wrap |
| 3210 |
msgid "" |
| 3211 |
"ptrace(PTRACE_PEEKTEXT/PEEKDATA/PEEKUSER, pid, addr, 0);\n" |
| 3212 |
"ptrace(PTRACE_POKETEXT/POKEDATA/POKEUSER, pid, addr, long_val);\n" |
| 3213 |
"ptrace(PTRACE_GETREGS/GETFPREGS, pid, 0, &struct);\n" |
| 3214 |
"ptrace(PTRACE_SETREGS/SETFPREGS, pid, 0, &struct);\n" |
| 3215 |
"ptrace(PTRACE_GETREGSET, pid, NT_foo, &iov);\n" |
| 3216 |
"ptrace(PTRACE_SETREGSET, pid, NT_foo, &iov);\n" |
| 3217 |
"ptrace(PTRACE_GETSIGINFO, pid, 0, &siginfo);\n" |
| 3218 |
"ptrace(PTRACE_SETSIGINFO, pid, 0, &siginfo);\n" |
| 3219 |
"ptrace(PTRACE_GETEVENTMSG, pid, 0, &long_var);\n" |
| 3220 |
"ptrace(PTRACE_SETOPTIONS, pid, 0, PTRACE_O_flags);\n" |
| 3221 |
msgstr "" |
| 3222 |
"ptrace(PTRACE_PEEKTEXT/PEEKDATA/PEEKUSER, pid, addr, 0);\n" |
| 3223 |
"ptrace(PTRACE_POKETEXT/POKEDATA/POKEUSER, pid, addr, long_val);\n" |
| 3224 |
"ptrace(PTRACE_GETREGS/GETFPREGS, pid, 0, &struct);\n" |
| 3225 |
"ptrace(PTRACE_SETREGS/SETFPREGS, pid, 0, &struct);\n" |
| 3226 |
"ptrace(PTRACE_GETREGSET, pid, NT_foo, &iov);\n" |
| 3227 |
"ptrace(PTRACE_SETREGSET, pid, NT_foo, &iov);\n" |
| 3228 |
"ptrace(PTRACE_GETSIGINFO, pid, 0, &siginfo);\n" |
| 3229 |
"ptrace(PTRACE_SETSIGINFO, pid, 0, &siginfo);\n" |
| 3230 |
"ptrace(PTRACE_GETEVENTMSG, pid, 0, &long_var);\n" |
| 3231 |
"ptrace(PTRACE_SETOPTIONS, pid, 0, PTRACE_O_flags);\n" |
| 3232 |
|
| 3233 |
#. type: Plain text |
| 3234 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3235 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3236 |
msgid "" |
| 3237 |
"Note that some errors are not reported. For example, setting signal " |
| 3238 |
"information (I<siginfo>) may have no effect in some ptrace-stops, yet the " |
| 3239 |
"call may succeed (return 0 and not set I<errno>); querying " |
| 3240 |
"B<PTRACE_GETEVENTMSG> may succeed and return some random value if current " |
| 3241 |
"ptrace-stop is not documented as returning a meaningful event message." |
| 3242 |
msgstr "" |
| 3243 |
"Remarquez que certaines erreurs ne sont pas signalées. Par exemple, la " |
| 3244 |
"configuration d'informations de signal (I<siginfo>) pourrait être sans effet " |
| 3245 |
"pour certains arrêts-ptrace, alors que l'appel pourrait-être réussi (en " |
| 3246 |
"renvoyant B<0> et sans définir I<errno>) ; la demande de " |
| 3247 |
"B<PTRACE_GETEVENTMSG> pourrait réussir et renvoyer une quelconque valeur " |
| 3248 |
"aléatoire si l'arrêt-ptrace actuel n'est pas documenté comme renvoyant un " |
| 3249 |
"message d'événement significatif." |
| 3250 |
|
| 3251 |
#. type: Plain text |
| 3252 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3253 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3254 |
msgid "The call" |
| 3255 |
msgstr "L'appel'" |
| 3256 |
|
| 3257 |
#. type: Plain text |
| 3258 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3259 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3260 |
#, no-wrap |
| 3261 |
msgid "ptrace(PTRACE_SETOPTIONS, pid, 0, PTRACE_O_flags);\n" |
| 3262 |
msgstr "ptrace(PTRACE_SETOPTIONS, pid, 0, PTRACE_O_flags);\n" |
| 3263 |
|
| 3264 |
#. type: Plain text |
| 3265 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3266 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3267 |
msgid "" |
| 3268 |
"affects one tracee. The tracee's current flags are replaced. Flags are " |
| 3269 |
"inherited by new tracees created and \"auto-attached\" via active " |
| 3270 |
"B<PTRACE_O_TRACEFORK>, B<PTRACE_O_TRACEVFORK>, or B<PTRACE_O_TRACECLONE> " |
| 3271 |
"options." |
| 3272 |
msgstr "" |
| 3273 |
"ne concerne qu'un observé. Les attributs actuels de l'observé sont " |
| 3274 |
"remplacés. Les attributs sont hérités par les nouveaux observés créés et " |
| 3275 |
"« attachés automatiquement » à l'aide d'options B<PTRACE_O_TRACEFORK>, " |
| 3276 |
"B<PTRACE_O_TRACEVFORK> ou B<PTRACE_O_TRACECLONE> actives." |
| 3277 |
|
| 3278 |
#. type: Plain text |
| 3279 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3280 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3281 |
msgid "" |
| 3282 |
"Another group of commands makes the ptrace-stopped tracee run. They have " |
| 3283 |
"the form:" |
| 3284 |
msgstr "" |
| 3285 |
"Un autre groupe de commandes peut redémarrer l'observé arrêté-ptrace. Ils " |
| 3286 |
"sont de la forme :" |
| 3287 |
|
| 3288 |
#. type: Plain text |
| 3289 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3290 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3291 |
#, no-wrap |
| 3292 |
msgid "ptrace(cmd, pid, 0, sig);\n" |
| 3293 |
msgstr "ptrace(cmd, pid, 0, sig);\n" |
| 3294 |
|
| 3295 |
#. type: Plain text |
| 3296 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3297 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3298 |
msgid "" |
| 3299 |
"where I<cmd> is B<PTRACE_CONT>, B<PTRACE_LISTEN>, B<PTRACE_DETACH>, " |
| 3300 |
"B<PTRACE_SYSCALL>, B<PTRACE_SINGLESTEP>, B<PTRACE_SYSEMU>, or " |
| 3301 |
"B<PTRACE_SYSEMU_SINGLESTEP>. If the tracee is in signal-delivery-stop, " |
| 3302 |
"I<sig> is the signal to be injected (if it is nonzero). Otherwise, I<sig> " |
| 3303 |
"may be ignored. (When restarting a tracee from a ptrace-stop other than " |
| 3304 |
"signal-delivery-stop, recommended practice is to always pass 0 in I<sig>.)" |
| 3305 |
msgstr "" |
| 3306 |
"où I<cmd> est B<PTRACE_CONT>, B<PTRACE_LISTEN>, B<PTRACE_DETACH>, " |
| 3307 |
"B<PTRACE_SYSCALL>, B<PTRACE_SINGLESTEP>, B<PTRACE_SYSEMU> ou " |
| 3308 |
"B<PTRACE_SYSEMU_SINGLESTEP>. Si l'observé est en arrêt-distribution-signal, " |
| 3309 |
"I<sig> est le signal à injecter (s'il est non nul). Sinon, I<sig> pourrait " |
| 3310 |
"être ignoré (lors du redémarrage d'un observé depuis un arrêt-ptrace " |
| 3311 |
"différent d'un arrêt-distribution-signal, il est conseillé de toujours " |
| 3312 |
"passer 0 à I<sig>)." |
| 3313 |
|
| 3314 |
#. type: SS |
| 3315 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3316 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3317 |
#, no-wrap |
| 3318 |
msgid "Attaching and detaching" |
| 3319 |
msgstr "Attachement et détachement" |
| 3320 |
|
| 3321 |
#. type: Plain text |
| 3322 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3323 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3324 |
msgid "A thread can be attached to the tracer using the call" |
| 3325 |
msgstr "Un thread peut être attaché à l'observateur en utilisant l'appel" |
| 3326 |
|
| 3327 |
#. type: Plain text |
| 3328 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3329 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3330 |
#, no-wrap |
| 3331 |
msgid "ptrace(PTRACE_ATTACH, pid, 0, 0);\n" |
| 3332 |
msgstr "ptrace(PTRACE_ATTACH, pid, 0, 0);\n" |
| 3333 |
|
| 3334 |
#. type: Plain text |
| 3335 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3336 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3337 |
msgid "or" |
| 3338 |
msgstr "ou" |
| 3339 |
|
| 3340 |
#. type: Plain text |
| 3341 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3342 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3343 |
#, no-wrap |
| 3344 |
msgid "ptrace(PTRACE_SEIZE, pid, 0, PTRACE_O_flags);\n" |
| 3345 |
msgstr "ptrace(PTRACE_SEIZE, pid, 0, PTRACE_O_flags);\n" |
| 3346 |
|
| 3347 |
#. FIXME Describe how to attach to a thread which is already group-stopped. |
| 3348 |
#. type: Plain text |
| 3349 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3350 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3351 |
msgid "" |
| 3352 |
"B<PTRACE_ATTACH> sends B<SIGSTOP> to this thread. If the tracer wants this " |
| 3353 |
"B<SIGSTOP> to have no effect, it needs to suppress it. Note that if other " |
| 3354 |
"signals are concurrently sent to this thread during attach, the tracer may " |
| 3355 |
"see the tracee enter signal-delivery-stop with other signal(s) first! The " |
| 3356 |
"usual practice is to reinject these signals until B<SIGSTOP> is seen, then " |
| 3357 |
"suppress B<SIGSTOP> injection. The design bug here is that a ptrace attach " |
| 3358 |
"and a concurrently delivered B<SIGSTOP> may race and the concurrent " |
| 3359 |
"B<SIGSTOP> may be lost." |
| 3360 |
msgstr "" |
| 3361 |
"B<PTRACE_ATTACH> envoie aussi B<SIGSTOP> à ce thread. Si l'observateur veut " |
| 3362 |
"que B<SIGSTOP> soit sans effet, il doit le supprimer. Remarquez que si " |
| 3363 |
"d'autres signaux sont envoyés en même temps à ce thread pendant " |
| 3364 |
"l'attachement, l'observateur pourrait voir l'observé entrer en arrêt-" |
| 3365 |
"distribution-signal avec d'autres signaux d'abord ! Ces signaux sont " |
| 3366 |
"d'habitude réinjectés jusqu'à ce que B<SIGSTOP> soit vu, puis l'injection " |
| 3367 |
"B<SIGSTOP> est supprimée. Le bogue de conception ici est qu'un attachement " |
| 3368 |
"ptrace et un B<SIGSTOP> distribués en même temps peuvent entrer en " |
| 3369 |
"compétition et le B<SIGSTOP> risque d'être perdu." |
| 3370 |
|
| 3371 |
#. type: Plain text |
| 3372 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3373 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3374 |
msgid "" |
| 3375 |
"Since attaching sends B<SIGSTOP> and the tracer usually suppresses it, this " |
| 3376 |
"may cause a stray B<EINTR> return from the currently executing system call " |
| 3377 |
"in the tracee, as described in the \"Signal injection and suppression\" " |
| 3378 |
"section." |
| 3379 |
msgstr "" |
| 3380 |
"Puisque l'attachement envoie B<SIGSTOP> et que l'observateur le supprime " |
| 3381 |
"normalement, cela risque de forcer le retour d'un B<EINTR> perdu de l'appel " |
| 3382 |
"système en cours d'exécution dans l'observé, tel que c'est décrit dans la " |
| 3383 |
"section B<Injection et suppression de signal>." |
| 3384 |
|
| 3385 |
#. type: Plain text |
| 3386 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3387 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3388 |
msgid "" |
| 3389 |
"Since Linux 3.4, B<PTRACE_SEIZE> can be used instead of B<PTRACE_ATTACH>. " |
| 3390 |
"B<PTRACE_SEIZE> does not stop the attached process. If you need to stop it " |
| 3391 |
"after attach (or at any other time) without sending it any signals, use " |
| 3392 |
"B<PTRACE_INTERRUPT> command." |
| 3393 |
msgstr "" |
| 3394 |
"Depuis Linux 3.4, B<PTRACE_SEIZE> peut être utilisé à la place de " |
| 3395 |
"B<PTRACE_ATTACH>. B<PTRACE_SEIZE> n'arrête pas le processus attaché. Si vous " |
| 3396 |
"devez l'arrêter après attachement (ou à n'importe quel autre moment) sans " |
| 3397 |
"lui envoyer de signal du tout, utilisez la commande B<PTRACE_INTERRUPT>." |
| 3398 |
|
| 3399 |
#. type: Plain text |
| 3400 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3401 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3402 |
msgid "The operation" |
| 3403 |
msgstr "L'opération" |
| 3404 |
|
| 3405 |
#. type: Plain text |
| 3406 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3407 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3408 |
#, no-wrap |
| 3409 |
msgid "ptrace(PTRACE_TRACEME, 0, 0, 0);\n" |
| 3410 |
msgstr "ptrace(PTRACE_TRACEME, 0, 0, 0);\n" |
| 3411 |
|
| 3412 |
#. type: Plain text |
| 3413 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3414 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3415 |
msgid "" |
| 3416 |
"turns the calling thread into a tracee. The thread continues to run " |
| 3417 |
"(doesn't enter ptrace-stop). A common practice is to follow the " |
| 3418 |
"B<PTRACE_TRACEME> with" |
| 3419 |
msgstr "" |
| 3420 |
"transforme le thread appelant en observé. L'appel continue d'être exécuté " |
| 3421 |
"(n'entre pas en arrêt-ptrace). B<PTRACE_TRACEME> est habituellement suivi " |
| 3422 |
"avec" |
| 3423 |
|
| 3424 |
#. type: Plain text |
| 3425 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3426 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3427 |
#, no-wrap |
| 3428 |
msgid "raise(SIGSTOP);\n" |
| 3429 |
msgstr "raise(SIGSTOP);\n" |
| 3430 |
|
| 3431 |
#. type: Plain text |
| 3432 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3433 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3434 |
msgid "" |
| 3435 |
"and allow the parent (which is our tracer now) to observe our signal-" |
| 3436 |
"delivery-stop." |
| 3437 |
msgstr "" |
| 3438 |
"et permet au parent (qui est maintenant l'observateur) de respecter l'arrêt-" |
| 3439 |
"distribution-signal." |
| 3440 |
|
| 3441 |
#. type: Plain text |
| 3442 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3443 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3444 |
msgid "" |
| 3445 |
"If the B<PTRACE_O_TRACEFORK>, B<PTRACE_O_TRACEVFORK>, or " |
| 3446 |
"B<PTRACE_O_TRACECLONE> options are in effect, then children created by, " |
| 3447 |
"respectively, B<vfork>(2) or B<clone>(2) with the B<CLONE_VFORK> flag, " |
| 3448 |
"B<fork>(2) or B<clone>(2) with the exit signal set to B<SIGCHLD>, and " |
| 3449 |
"other kinds of B<clone>(2), are automatically attached to the same tracer " |
| 3450 |
"which traced their parent. B<SIGSTOP> is delivered to the children, causing " |
| 3451 |
"them to enter signal-delivery-stop after they exit the system call which " |
| 3452 |
"created them." |
| 3453 |
msgstr "" |
| 3454 |
"Si les options B<PTRACE_O_TRACEFORK>, B<PTRACE_O_TRACEVFORK> ou " |
| 3455 |
"B<PTRACE_O_TRACECLONE> font effet, alors les enfants respectivement créés " |
| 3456 |
"par B<vfork>(2) ou B<clone>(2) avec l'attribut B<CLONE_VFORK>, B<fork>(2) ou " |
| 3457 |
"B<clone>(2) avec le signal de sortie configuré à B<SIGCHLD>, et d'autres " |
| 3458 |
"sortes de B<clone>(2), sont automatiquement attachés au même observateur qui " |
| 3459 |
"à suivi leur parent. B<SIGSTOP> est distribué aux enfants, les forçant à " |
| 3460 |
"entrer en arrêt-distribution-signal après être sortis de l'appel système " |
| 3461 |
"qu'ils ont créé." |
| 3462 |
|
| 3463 |
#. type: Plain text |
| 3464 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3465 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3466 |
msgid "Detaching of the tracee is performed by:" |
| 3467 |
msgstr "Le détachement de l'observé est réalisé par :" |
| 3468 |
|
| 3469 |
#. type: Plain text |
| 3470 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3471 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3472 |
#, no-wrap |
| 3473 |
msgid "ptrace(PTRACE_DETACH, pid, 0, sig);\n" |
| 3474 |
msgstr "ptrace(PTRACE_DETACH, pid, 0, sig);\n" |
| 3475 |
|
| 3476 |
#. type: Plain text |
| 3477 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3478 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3479 |
msgid "" |
| 3480 |
"B<PTRACE_DETACH> is a restarting operation; therefore it requires the tracee " |
| 3481 |
"to be in ptrace-stop. If the tracee is in signal-delivery-stop, a signal " |
| 3482 |
"can be injected. Otherwise, the I<sig> parameter may be silently ignored." |
| 3483 |
msgstr "" |
| 3484 |
"B<PTRACE_DETACH> est une opération de redémarrage ; par conséquent elle " |
| 3485 |
"nécessite que l'observé soit en arrêt-ptrace. Si l'observé est en arrêt-" |
| 3486 |
"distribution-signal, un signal peut être injecté. Sinon, le paramètre I<sig> " |
| 3487 |
"pourrait être silencieusement ignoré." |
| 3488 |
|
| 3489 |
#. FIXME Describe how to detach from a group-stopped tracee so that it |
| 3490 |
#. doesn't run, but continues to wait for SIGCONT. |
| 3491 |
#. type: Plain text |
| 3492 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3493 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3494 |
msgid "" |
| 3495 |
"If the tracee is running when the tracer wants to detach it, the usual " |
| 3496 |
"solution is to send B<SIGSTOP> (using B<tgkill>(2), to make sure it goes to " |
| 3497 |
"the correct thread), wait for the tracee to stop in signal-delivery-stop for " |
| 3498 |
"B<SIGSTOP> and then detach it (suppressing B<SIGSTOP> injection). A design " |
| 3499 |
"bug is that this can race with concurrent B<SIGSTOP>s. Another complication " |
| 3500 |
"is that the tracee may enter other ptrace-stops and needs to be restarted " |
| 3501 |
"and waited for again, until B<SIGSTOP> is seen. Yet another complication is " |
| 3502 |
"to be sure that the tracee is not already ptrace-stopped, because no signal " |
| 3503 |
"delivery happens while it is\\[em]not even B<SIGSTOP>." |
| 3504 |
msgstr "" |
| 3505 |
"Si l'observé est en cours d'exécution quand l'observateur veut le détacher, " |
| 3506 |
"la solution habituelle est d'envoyer B<SIGSTOP> (en utilisant B<tgkill>(2), " |
| 3507 |
"pour s'assurer qu'il va au bon thread), d'attendre que l'observé s'arrête en " |
| 3508 |
"arrêt-distribution-signal pour B<SIGSTOP> et ensuite de le détacher (en " |
| 3509 |
"supprimant l'injection B<SIGSTOP>). Un bogue de conception est que l'observé " |
| 3510 |
"pourrait entrer dans d'autres arrêts-ptrace et avoir besoin d'être redémarré " |
| 3511 |
"et attendre encore, jusqu'à ce que B<SIGSTOP> soit vu. Encore une autre " |
| 3512 |
"complication est de s'assurer que l'observé n'est pas déjà arrêté-ptrace, " |
| 3513 |
"parce qu'aucune distribution de signal n'arrive tant qu'il l'est — pas même " |
| 3514 |
"B<SIGSTOP>." |
| 3515 |
|
| 3516 |
#. type: Plain text |
| 3517 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3518 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3519 |
msgid "" |
| 3520 |
"If the tracer dies, all tracees are automatically detached and restarted, " |
| 3521 |
"unless they were in group-stop. Handling of restart from group-stop is " |
| 3522 |
"currently buggy, but the \"as planned\" behavior is to leave tracee stopped " |
| 3523 |
"and waiting for B<SIGCONT>. If the tracee is restarted from signal-delivery-" |
| 3524 |
"stop, the pending signal is injected." |
| 3525 |
msgstr "" |
| 3526 |
"Si l'observateur meurt, tous les observés sont automatiquement détachés et " |
| 3527 |
"redémarrés, sauf s'il étaient en arrêt-groupe. Le gestion de redémarrage " |
| 3528 |
"depuis un arrêt-groupe est en ce moment dysfonctionnelle, mais le " |
| 3529 |
"comportement « prévu » est de laisser les observés arrêtés et d'attendre un " |
| 3530 |
"B<SIGCONT>. Si l'observé est redémarré depuis un arrêt-distribution-signal, " |
| 3531 |
"le signal en attente est injecté." |
| 3532 |
|
| 3533 |
#. type: SS |
| 3534 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3535 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3536 |
#, no-wrap |
| 3537 |
msgid "execve(2) under ptrace" |
| 3538 |
msgstr "execve(2) sous ptrace" |
| 3539 |
|
| 3540 |
# |
| 3541 |
#. clone(2) CLONE_THREAD says: |
| 3542 |
#. If any of the threads in a thread group performs an execve(2), |
| 3543 |
#. then all threads other than the thread group leader are terminated, |
| 3544 |
#. and the new program is executed in the thread group leader. |
| 3545 |
#. In Linux 3.1 sources, see fs/exec.c::de_thread() |
| 3546 |
#. type: Plain text |
| 3547 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3548 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3549 |
msgid "" |
| 3550 |
"When one thread in a multithreaded process calls B<execve>(2), the kernel " |
| 3551 |
"destroys all other threads in the process, and resets the thread ID of the " |
| 3552 |
"execing thread to the thread group ID (process ID). (Or, to put things " |
| 3553 |
"another way, when a multithreaded process does an B<execve>(2), at " |
| 3554 |
"completion of the call, it appears as though the B<execve>(2) occurred in " |
| 3555 |
"the thread group leader, regardless of which thread did the B<execve>(2).) " |
| 3556 |
"This resetting of the thread ID looks very confusing to tracers:" |
| 3557 |
msgstr "" |
| 3558 |
"Quand un thread de processus multithreadé appelle B<execve>(2), le noyau " |
| 3559 |
"détruit tous les autres threads du processus, et réinitialise l'identifiant " |
| 3560 |
"de thread du thread exécuté à l'identifiant de groupe de threads (PID) (ou, " |
| 3561 |
"pour le présenter autrement, quand un processus multithreadé fait un " |
| 3562 |
"B<execve>(2), à la fin de l'appel, il apparaît comme si l'B<execve>(2) " |
| 3563 |
"s'était appliqué au leader de groupe de threads, quelque soit le thread qui " |
| 3564 |
"a fait B<execve>(2)). Cette réinitialisation de l'identifiant de thread " |
| 3565 |
"semble est très déroutante pour les observateurs." |
| 3566 |
|
| 3567 |
#. type: IP |
| 3568 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3569 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3570 |
#, no-wrap |
| 3571 |
msgid "\\[bu]" |
| 3572 |
msgstr "-" |
| 3573 |
|
| 3574 |
#. type: Plain text |
| 3575 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3576 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3577 |
msgid "" |
| 3578 |
"All other threads stop in B<PTRACE_EVENT_EXIT> stop, if the " |
| 3579 |
"B<PTRACE_O_TRACEEXIT> option was turned on. Then all other threads except " |
| 3580 |
"the thread group leader report death as if they exited via B<_exit>(2) with " |
| 3581 |
"exit code 0." |
| 3582 |
msgstr "" |
| 3583 |
"Tous les autres threads s'arrêtent en arrêt B<PTRACE_EVENT_EXIT>, si " |
| 3584 |
"l'option B<PTRACE_O_TRACEEXIT> était activée. Alors tous les autres threads " |
| 3585 |
"sauf le leader de groupe de threads signalent leur mort comme s'il s'étaient " |
| 3586 |
"terminés par l'intermédiaire de B<_exit>(2) avec un code de retour B<0>." |
| 3587 |
|
| 3588 |
#. type: Plain text |
| 3589 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3590 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3591 |
msgid "" |
| 3592 |
"The execing tracee changes its thread ID while it is in the B<execve>(2). " |
| 3593 |
"(Remember, under ptrace, the \"pid\" returned from B<waitpid>(2), or fed " |
| 3594 |
"into ptrace calls, is the tracee's thread ID.) That is, the tracee's thread " |
| 3595 |
"ID is reset to be the same as its process ID, which is the same as the " |
| 3596 |
"thread group leader's thread ID." |
| 3597 |
msgstr "" |
| 3598 |
"L'observé en cours d'exécution modifie son identifiant de thread pendant " |
| 3599 |
"qu'il est dans l'B<execve>(2) (rappelez-vous que, sous ptrace, le « pid » " |
| 3600 |
"renvoyé par B<waitpid>(2) ou fourni dans les appels ptrace, est " |
| 3601 |
"l'identifiant de thread de l'observé). Ainsi, l'identifiant de thread de " |
| 3602 |
"l'observé est réinitialisé pour être le même que son identifiant de " |
| 3603 |
"processus (PID), qui est le même que l'identifiant de thread du leader de " |
| 3604 |
"groupe de threads." |
| 3605 |
|
| 3606 |
#. type: Plain text |
| 3607 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3608 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3609 |
msgid "" |
| 3610 |
"Then a B<PTRACE_EVENT_EXEC> stop happens, if the B<PTRACE_O_TRACEEXEC> " |
| 3611 |
"option was turned on." |
| 3612 |
msgstr "" |
| 3613 |
"Ensuite un arrêt B<PTRACE_EVENT_EXEC> arrive, si l'option " |
| 3614 |
"B<PTRACE_O_TRACEEXEC> était activée." |
| 3615 |
|
| 3616 |
#. type: Plain text |
| 3617 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3618 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3619 |
msgid "" |
| 3620 |
"If the thread group leader has reported its B<PTRACE_EVENT_EXIT> stop by " |
| 3621 |
"this time, it appears to the tracer that the dead thread leader \"reappears " |
| 3622 |
"from nowhere\". (Note: the thread group leader does not report death via " |
| 3623 |
"I<WIFEXITED(status)> until there is at least one other live thread. This " |
| 3624 |
"eliminates the possibility that the tracer will see it dying and then " |
| 3625 |
"reappearing.) If the thread group leader was still alive, for the tracer " |
| 3626 |
"this may look as if thread group leader returns from a different system call " |
| 3627 |
"than it entered, or even \"returned from a system call even though it was " |
| 3628 |
"not in any system call\". If the thread group leader was not traced (or was " |
| 3629 |
"traced by a different tracer), then during B<execve>(2) it will appear as " |
| 3630 |
"if it has become a tracee of the tracer of the execing tracee." |
| 3631 |
msgstr "" |
| 3632 |
"Si le leader de groupe de threads a signalé son arrêt B<PTRACE_EVENT_EXIT> " |
| 3633 |
"pendant ce temps, le leader de thread mort à l'air de « revenir de nulle " |
| 3634 |
"part » du point de vue de l'observateur (remarque : le leader de groupe de " |
| 3635 |
"threads ne signale pas sa mort à l'aide de I<WIFEXITED(status)> tant qu'au " |
| 3636 |
"moins un autre thread est en vie. Cela enlève la possibilité à l'observateur " |
| 3637 |
"de le voir mourir puis réapparaître). Si le leader de groupe de threads " |
| 3638 |
"était encore en vie, cela pourrait être vu par l'observateur comme si le " |
| 3639 |
"leader de groupe revenait d'un autre appel système que celui dans lequel il " |
| 3640 |
"était entré, ou même « revenait d'un appel système même s'il n'y avait pas " |
| 3641 |
"d'appel système ». Si le leader de groupe de threads n'était pas suivi (ou " |
| 3642 |
"était suivi par un autre observateur), alors pendant B<execve>(2) il " |
| 3643 |
"apparaîtra comme s'il était devenu un observé de l'observateur de l'observé " |
| 3644 |
"en cours d'exécution." |
| 3645 |
|
| 3646 |
#. type: Plain text |
| 3647 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3648 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3649 |
msgid "" |
| 3650 |
"All of the above effects are the artifacts of the thread ID change in the " |
| 3651 |
"tracee." |
| 3652 |
msgstr "" |
| 3653 |
"Tous les effets précédents sont des artifices de la modification " |
| 3654 |
"d'identifiant de thread de l'observé." |
| 3655 |
|
| 3656 |
#. type: Plain text |
| 3657 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3658 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3659 |
msgid "" |
| 3660 |
"The B<PTRACE_O_TRACEEXEC> option is the recommended tool for dealing with " |
| 3661 |
"this situation. First, it enables B<PTRACE_EVENT_EXEC> stop, which occurs " |
| 3662 |
"before B<execve>(2) returns. In this stop, the tracer can use " |
| 3663 |
"B<PTRACE_GETEVENTMSG> to retrieve the tracee's former thread ID. (This " |
| 3664 |
"feature was introduced in Linux 3.0.) Second, the B<PTRACE_O_TRACEEXEC> " |
| 3665 |
"option disables legacy B<SIGTRAP> generation on B<execve>(2)." |
| 3666 |
msgstr "" |
| 3667 |
"L'option B<PTRACE_O_TRACEEXEC> est l'outil conseillé pour s'occuper de cette " |
| 3668 |
"situation. D'abord, elle active l'arrêt B<PTRACE_EVENT_EXEC>, qui arrive " |
| 3669 |
"avant le retour d'B<execve>(2). Dans cet arrêt, l'observateur peut utiliser " |
| 3670 |
"B<PTRACE_GETEVENTMSG> pour récupérer l'ancien identifiant de thread de " |
| 3671 |
"l'observé (cette fonctionnalité a été introduite avec Linux 3.0). Ensuite, " |
| 3672 |
"l'option B<PTRACE_O_TRACEEXEC> désactive la création obsolète de B<SIGTRAP> " |
| 3673 |
"dans B<execve>(2)." |
| 3674 |
|
| 3675 |
#. type: Plain text |
| 3676 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3677 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3678 |
msgid "" |
| 3679 |
"When the tracer receives B<PTRACE_EVENT_EXEC> stop notification, it is " |
| 3680 |
"guaranteed that except this tracee and the thread group leader, no other " |
| 3681 |
"threads from the process are alive." |
| 3682 |
msgstr "" |
| 3683 |
"Quand l'observé reçoit une notification d'arrêt B<PTRACE_EVENT_EXEC>, il est " |
| 3684 |
"garanti qu'à part cet observé et le leader de groupe de threads, aucun autre " |
| 3685 |
"thread du processus n'est en vie." |
| 3686 |
|
| 3687 |
#. type: Plain text |
| 3688 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3689 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3690 |
msgid "" |
| 3691 |
"On receiving the B<PTRACE_EVENT_EXEC> stop notification, the tracer should " |
| 3692 |
"clean up all its internal data structures describing the threads of this " |
| 3693 |
"process, and retain only one data structure\\[em]one which describes the " |
| 3694 |
"single still running tracee, with" |
| 3695 |
msgstr "" |
| 3696 |
"Lors de la réception d'une notification d'arrêt B<PTRACE_EVENT_EXEC>, " |
| 3697 |
"l'observateur devrait nettoyer toutes ses structures de données internes " |
| 3698 |
"décrivant les threads de ce processus et ne garder qu'une seule structure de " |
| 3699 |
"données — celle qui décrit l'unique observé en cours d'exécution, avec" |
| 3700 |
|
| 3701 |
#. type: Plain text |
| 3702 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3703 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3704 |
#, no-wrap |
| 3705 |
msgid "thread ID == thread group ID == process ID.\n" |
| 3706 |
msgstr "identifiant de thread == identifiant de groupe de threads == identifiant de processus.\n" |
| 3707 |
|
| 3708 |
#. type: Plain text |
| 3709 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3710 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3711 |
msgid "Example: two threads call B<execve>(2) at the same time:" |
| 3712 |
msgstr "" |
| 3713 |
"Par exemple, soient deux threads qui appellent B<execve>(2) en même temps :" |
| 3714 |
|
| 3715 |
#. type: Plain text |
| 3716 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 3717 |
#: opensuse-tumbleweed |
| 3718 |
#, fuzzy, no-wrap |
| 3719 |
#| msgid "" |
| 3720 |
#| "*** we get syscall-enter-stop in thread 1: **\n" |
| 3721 |
#| "PID1 execve(\"/bin/foo\", \"foo\" E<lt>unfinished ...E<gt>\n" |
| 3722 |
#| "*** we issue PTRACE_SYSCALL for thread 1 **\n" |
| 3723 |
#| "*** we get syscall-enter-stop in thread 2: **\n" |
| 3724 |
#| "PID2 execve(\"/bin/bar\", \"bar\" E<lt>unfinished ...E<gt>\n" |
| 3725 |
#| "*** we issue PTRACE_SYSCALL for thread 2 **\n" |
| 3726 |
#| "*** we get PTRACE_EVENT_EXEC for PID0, we issue PTRACE_SYSCALL **\n" |
| 3727 |
#| "*** we get syscall-exit-stop for PID0: **\n" |
| 3728 |
#| "PID0 E<lt>... execve resumedE<gt> ) = 0\n" |
| 3729 |
msgid "" |
| 3730 |
"*** we get syscall-enter-stop in thread 1: **\n" |
| 3731 |
"PID1 execve(\"/bin/foo\", \"foo\" E<lt>unfinished ...E<gt>\n" |
| 3732 |
"*** we issue PTRACE_SYSCALL for thread 1 **\n" |
| 3733 |
"*** we get syscall-enter-stop in thread 2: **\n" |
| 3734 |
"PID2 execve(\"/bin/bar\", \"bar\" E<lt>unfinished ...E<gt>\n" |
| 3735 |
"*** we issue PTRACE_SYSCALL for thread 2 **\n" |
| 3736 |
"*** we get PTRACE_EVENT_EXEC for PID0, we issue PTRACE_SYSCALL **\n" |
| 3737 |
"*** we get syscall-exit-stop for PID0: **\n" |
| 3738 |
"PID0 E<lt>...\\& execve resumedE<gt> ) = 0\n" |
| 3739 |
msgstr "" |
| 3740 |
"*** arrêt-entrée-appel-système obtenu dans le thread 1 : **\n" |
| 3741 |
"PID1 execve(\"/bin/truc\", \"truc\" E<lt>pas terminé…E<gt>\n" |
| 3742 |
"*** PTRACE_SYSCALL émis pour le thread 1 **\n" |
| 3743 |
"*** arrêt-entrée-appel-système obtenu dans le thread 2 : **\n" |
| 3744 |
"PID2 execve(\"/bin/bidule\", \"bidule\" E<lt>pas terminé…E<gt>\n" |
| 3745 |
"*** PTRACE_SYSCALL émis pour le thread 2 **\n" |
| 3746 |
"*** PTRACE_EVENT_EXEC obtenu pour PID0, PTRACE_SYSCALL émis **\n" |
| 3747 |
"*** arrêt-sortie-appel-système obtenu pour PID0 : **\n" |
| 3748 |
"PID0 E<lt>… retour d'execveE<gt> ) = 0\n" |
| 3749 |
|
| 3750 |
#. type: Plain text |
| 3751 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3752 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3753 |
msgid "" |
| 3754 |
"If the B<PTRACE_O_TRACEEXEC> option is I<not> in effect for the execing " |
| 3755 |
"tracee, and if the tracee was B<PTRACE_ATTACH>ed rather that " |
| 3756 |
"B<PTRACE_SEIZE>d, the kernel delivers an extra B<SIGTRAP> to the tracee " |
| 3757 |
"after B<execve>(2) returns. This is an ordinary signal (similar to one " |
| 3758 |
"which can be generated by I<kill -TRAP>), not a special kind of ptrace-" |
| 3759 |
"stop. Employing B<PTRACE_GETSIGINFO> for this signal returns I<si_code> set " |
| 3760 |
"to 0 (I<SI_USER>). This signal may be blocked by signal mask, and thus may " |
| 3761 |
"be delivered (much) later." |
| 3762 |
msgstr "" |
| 3763 |
"Si l'option B<PTRACE_O_TRACEEXEC> n'est I<pas> effective pour l'observé en " |
| 3764 |
"cours d'exécution et si l'observé a été B<PTRACE_ATTACH>é et non " |
| 3765 |
"B<PTRACE_SEIZE>é, le noyau distribue un B<SIGTRAP> supplémentaire à " |
| 3766 |
"l'observé après le retour d'B<execve>(2). C'est un signal normal (similaire " |
| 3767 |
"à celui qui peut être créé par I<kill -TRAP>), pas une sorte spéciale " |
| 3768 |
"d'arrêt-ptrace. L'utilisation de B<PTRACE_GETSIGINFO> pour ce signal renvoie " |
| 3769 |
"I<si_code> configuré à B<0> (I<SI_USER>). Ce signal pourrait être bloqué par " |
| 3770 |
"un masque de signal et pourrait ainsi être distribué (bien) plus tard." |
| 3771 |
|
| 3772 |
#. type: Plain text |
| 3773 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3774 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3775 |
msgid "" |
| 3776 |
"Usually, the tracer (for example, B<strace>(1)) would not want to show this " |
| 3777 |
"extra post-execve B<SIGTRAP> signal to the user, and would suppress its " |
| 3778 |
"delivery to the tracee (if B<SIGTRAP> is set to B<SIG_DFL>, it is a killing " |
| 3779 |
"signal). However, determining I<which> B<SIGTRAP> to suppress is not easy. " |
| 3780 |
"Setting the B<PTRACE_O_TRACEEXEC> option or using B<PTRACE_SEIZE> and thus " |
| 3781 |
"suppressing this extra B<SIGTRAP> is the recommended approach." |
| 3782 |
msgstr "" |
| 3783 |
"Normalement, l'observateur (par exemple B<strace>(1)) ne voudrait pas " |
| 3784 |
"montrer ce signal B<SIGTRAP> supplémentaire postérieur à B<execve> à " |
| 3785 |
"l'utilisateur, et voudrait supprimer sa distribution à l'observé (si " |
| 3786 |
"B<SIGTRAP> est configuré à B<SIG_DFL>, c'est un signal tueur). Cependant, " |
| 3787 |
"déterminer I<quel> est le B<SIGTRAP> à supprimer n'est pas simple. La " |
| 3788 |
"configuration de l'option B<PTRACE_O_TRACEEXEC> ou l'utilisation de " |
| 3789 |
"B<PTRACE_SEIZE> et par conséquent la suppression du B<SIGTRAP> " |
| 3790 |
"supplémentaire est l'approche conseillée." |
| 3791 |
|
| 3792 |
#. type: SS |
| 3793 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3794 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3795 |
#, no-wrap |
| 3796 |
msgid "Real parent" |
| 3797 |
msgstr "Vrai parent" |
| 3798 |
|
| 3799 |
#. type: Plain text |
| 3800 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3801 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3802 |
msgid "" |
| 3803 |
"The ptrace API (ab)uses the standard UNIX parent/child signaling over " |
| 3804 |
"B<waitpid>(2). This used to cause the real parent of the process to stop " |
| 3805 |
"receiving several kinds of B<waitpid>(2) notifications when the child " |
| 3806 |
"process is traced by some other process." |
| 3807 |
msgstr "" |
| 3808 |
"L'interface de programmation de ptrace utilise (parfois mal) la norme UNIX " |
| 3809 |
"de signalement de parent ou enfant par l'intermédiaire de B<waitpid>(2). " |
| 3810 |
"Cela a régulièrement forcé le vrai parent du processus à arrêter de recevoir " |
| 3811 |
"plusieurs sortes de notifications de B<waitpid>(2) quand le processus enfant " |
| 3812 |
"est suivi par un autre processus." |
| 3813 |
|
| 3814 |
#. type: Plain text |
| 3815 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3816 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3817 |
msgid "" |
| 3818 |
"Many of these bugs have been fixed, but as of Linux 2.6.38 several still " |
| 3819 |
"exist; see BUGS below." |
| 3820 |
msgstr "" |
| 3821 |
"De nombreux bogues de ce type ont été corrigés, mais il en reste encore " |
| 3822 |
"beaucoup dans Linux 2.6.38. Consultez la section B<BOGUES> ci dessous." |
| 3823 |
|
| 3824 |
#. type: Plain text |
| 3825 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3826 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3827 |
msgid "As of Linux 2.6.38, the following is believed to work correctly:" |
| 3828 |
msgstr "Depuis Linux 2.6.38, ce qui suit est censé fonctionner correctement :" |
| 3829 |
|
| 3830 |
#. type: Plain text |
| 3831 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3832 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3833 |
msgid "" |
| 3834 |
"exit/death by signal is reported first to the tracer, then, when the tracer " |
| 3835 |
"consumes the B<waitpid>(2) result, to the real parent (to the real parent " |
| 3836 |
"only when the whole multithreaded process exits). If the tracer and the " |
| 3837 |
"real parent are the same process, the report is sent only once." |
| 3838 |
msgstr "" |
| 3839 |
"l'exécution ou la mort par signal sont d'abord signalées à l'observateur, " |
| 3840 |
"puis, quand l'observateur consomme le résultat de B<waitpid>(2), au vrai " |
| 3841 |
"parent (au vrai parent seulement quand l'intégralité du processus " |
| 3842 |
"multithreadé se termine). Si l'observateur et le vrai parent sont le même " |
| 3843 |
"processus, le signalement n'est envoyé qu'une fois." |
| 3844 |
|
| 3845 |
#. type: SH |
| 3846 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3847 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3848 |
#, no-wrap |
| 3849 |
msgid "RETURN VALUE" |
| 3850 |
msgstr "VALEUR RENVOYÉE" |
| 3851 |
|
| 3852 |
#. type: Plain text |
| 3853 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3854 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3855 |
msgid "" |
| 3856 |
"On success, the B<PTRACE_PEEK*> operations return the requested data (but " |
| 3857 |
"see NOTES), the B<PTRACE_SECCOMP_GET_FILTER> operation returns the number of " |
| 3858 |
"instructions in the BPF program, the B<PTRACE_GET_SYSCALL_INFO> operation " |
| 3859 |
"returns the number of bytes available to be written by the kernel, and other " |
| 3860 |
"operations return zero." |
| 3861 |
msgstr "" |
| 3862 |
"En cas de succès, l'opération B<PTRACE_PEEK*> renvoie les données demandées " |
| 3863 |
"(mais consultez les NOTES), l'opération B<PTRACE_SECCOMP_GET_FILTER> renvoie " |
| 3864 |
"le nombre d'instructions du programme BPF, l'opération " |
| 3865 |
"B<PTRACE_GET_SYSCALL_INFO> renvoie le nombre d'octets disponibles disponible " |
| 3866 |
"pour être écrits par le noyau, alors que les autres opérations renvoient " |
| 3867 |
"zéro." |
| 3868 |
|
| 3869 |
#. type: Plain text |
| 3870 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3871 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3872 |
msgid "" |
| 3873 |
"On error, all operations return -1, and I<errno> is set to indicate the " |
| 3874 |
"error. Since the value returned by a successful B<PTRACE_PEEK*> operation " |
| 3875 |
"may be -1, the caller must clear I<errno> before the call, and then check it " |
| 3876 |
"afterward to determine whether or not an error occurred." |
| 3877 |
msgstr "" |
| 3878 |
"En cas d'erreur, toutes les opérations renvoient B<-1> et I<errno> est " |
| 3879 |
"défini pour indiquer l'erreur. Comme la valeur renvoyée par une opération " |
| 3880 |
"B<PTRACE_PEEK*> peut légitimement être B<-1>, l'appelant doit effacer " |
| 3881 |
"I<errno> avant l'appel, et ensuite le vérifier pour savoir si une erreur " |
| 3882 |
"s'est produite." |
| 3883 |
|
| 3884 |
#. type: SH |
| 3885 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3886 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3887 |
#, no-wrap |
| 3888 |
msgid "ERRORS" |
| 3889 |
msgstr "ERREURS" |
| 3890 |
|
| 3891 |
#. type: TP |
| 3892 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3893 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3894 |
#, no-wrap |
| 3895 |
msgid "B<EBUSY>" |
| 3896 |
msgstr "B<EBUSY>" |
| 3897 |
|
| 3898 |
#. type: Plain text |
| 3899 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3900 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3901 |
msgid "" |
| 3902 |
"(i386 only) There was an error with allocating or freeing a debug register." |
| 3903 |
msgstr "" |
| 3904 |
"(i386 seulement) Une erreur est survenue lors de l'allocation ou de la " |
| 3905 |
"libération d'un registre de débogage." |
| 3906 |
|
| 3907 |
#. type: TP |
| 3908 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3909 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3910 |
#, no-wrap |
| 3911 |
msgid "B<EFAULT>" |
| 3912 |
msgstr "B<EFAULT>" |
| 3913 |
|
| 3914 |
#. type: Plain text |
| 3915 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3916 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3917 |
msgid "" |
| 3918 |
"There was an attempt to read from or write to an invalid area in the " |
| 3919 |
"tracer's or the tracee's memory, probably because the area wasn't mapped or " |
| 3920 |
"accessible. Unfortunately, under Linux, different variations of this fault " |
| 3921 |
"will return B<EIO> or B<EFAULT> more or less arbitrarily." |
| 3922 |
msgstr "" |
| 3923 |
"Tentative de lire ou écrire dans une zone mémoire non valable de " |
| 3924 |
"l'observateur ou de l'observé, probablement parce que la zone n'était pas " |
| 3925 |
"projetée ou accessible. Malheureusement sous Linux, certaines variantes de " |
| 3926 |
"cette erreur déclencheront B<EIO> ou B<EFAULT> plus ou moins arbitrairement." |
| 3927 |
|
| 3928 |
#. type: TP |
| 3929 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3930 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3931 |
#, no-wrap |
| 3932 |
msgid "B<EINVAL>" |
| 3933 |
msgstr "B<EINVAL>" |
| 3934 |
|
| 3935 |
#. type: Plain text |
| 3936 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3937 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3938 |
msgid "An attempt was made to set an invalid option." |
| 3939 |
msgstr "Tentative d'utiliser une option non valable." |
| 3940 |
|
| 3941 |
#. type: TP |
| 3942 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3943 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3944 |
#, no-wrap |
| 3945 |
msgid "B<EIO>" |
| 3946 |
msgstr "B<EIO>" |
| 3947 |
|
| 3948 |
#. type: Plain text |
| 3949 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3950 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3951 |
msgid "" |
| 3952 |
"I<op> is invalid, or an attempt was made to read from or write to an invalid " |
| 3953 |
"area in the tracer's or the tracee's memory, or there was a word-alignment " |
| 3954 |
"violation, or an invalid signal was specified during a restart operation." |
| 3955 |
msgstr "" |
| 3956 |
"L'opération I<op> n'est pas valable ou une tentative de lecture ou " |
| 3957 |
"d'écriture dans une zone non valable de mémoire de l'observateur ou de " |
| 3958 |
"l'observé a eu lieu. Un problème d'alignement a aussi pu survenir sur une " |
| 3959 |
"frontière de mot, ou un signal non valable a été spécifié pendant une " |
| 3960 |
"opération de redémarrage." |
| 3961 |
|
| 3962 |
#. type: TP |
| 3963 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3964 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3965 |
#, no-wrap |
| 3966 |
msgid "B<EPERM>" |
| 3967 |
msgstr "B<EPERM>" |
| 3968 |
|
| 3969 |
#. type: Plain text |
| 3970 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3971 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3972 |
msgid "" |
| 3973 |
"The specified process cannot be traced. This could be because the tracer " |
| 3974 |
"has insufficient privileges (the required capability is B<CAP_SYS_PTRACE>); " |
| 3975 |
"unprivileged processes cannot trace processes that they cannot send signals " |
| 3976 |
"to or those running set-user-ID/set-group-ID programs, for obvious reasons. " |
| 3977 |
"Alternatively, the process may already be being traced, or (before Linux " |
| 3978 |
"2.6.26) be B<init>(1) (PID 1)." |
| 3979 |
msgstr "" |
| 3980 |
"Le processus indiqué ne peut pas être suivi. Cela peut être dû à un manque " |
| 3981 |
"de privilège de l'observateur (la capacité nécessaire est " |
| 3982 |
"B<CAP_SYS_PTRACE>). Les processus non privilégiés ne peuvent pas suivre les " |
| 3983 |
"processus auxquels ils ne peuvent envoyer de signal, ou ceux qui s'exécutent " |
| 3984 |
"Set-UID/Set-GID, pour des raisons évidentes. En outre, le processus visé " |
| 3985 |
"peut être déjà suivi, ou (avant Linux 2.6.26) être B<init>(8) (le processus " |
| 3986 |
"numéro 1)." |
| 3987 |
|
| 3988 |
#. type: TP |
| 3989 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3990 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3991 |
#, no-wrap |
| 3992 |
msgid "B<ESRCH>" |
| 3993 |
msgstr "B<ESRCH>" |
| 3994 |
|
| 3995 |
#. type: Plain text |
| 3996 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3997 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3998 |
msgid "" |
| 3999 |
"The specified process does not exist, or is not currently being traced by " |
| 4000 |
"the caller, or is not stopped (for operations that require a stopped tracee)." |
| 4001 |
msgstr "" |
| 4002 |
"Le processus indiqué n'existe pas, ou n'est pas suivi par l'appelant, ou " |
| 4003 |
"n'est pas arrêté (pour les opérations qui ont besoin d'un observé arrêté)." |
| 4004 |
|
| 4005 |
#. type: SH |
| 4006 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4007 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4008 |
#, no-wrap |
| 4009 |
msgid "STANDARDS" |
| 4010 |
msgstr "NORMES" |
| 4011 |
|
| 4012 |
#. type: Plain text |
| 4013 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4014 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4015 |
msgid "None." |
| 4016 |
msgstr "Aucun." |
| 4017 |
|
| 4018 |
#. type: SH |
| 4019 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4020 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4021 |
#, no-wrap |
| 4022 |
msgid "HISTORY" |
| 4023 |
msgstr "HISTORIQUE" |
| 4024 |
|
| 4025 |
#. type: Plain text |
| 4026 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4027 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4028 |
msgid "SVr4, 4.3BSD." |
| 4029 |
msgstr "SVr4, 4.3BSD." |
| 4030 |
|
| 4031 |
#. See commit 00cd5c37afd5f431ac186dd131705048c0a11fdb |
| 4032 |
#. type: Plain text |
| 4033 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4034 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4035 |
msgid "" |
| 4036 |
"Before Linux 2.6.26, B<init>(1), the process with PID 1, may not be traced." |
| 4037 |
msgstr "" |
| 4038 |
"Avant Linux 2.6.26, B<init>(8), le processus numéro 1, ne peut pas être " |
| 4039 |
"suivi." |
| 4040 |
|
| 4041 |
#. type: SH |
| 4042 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4043 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4044 |
#, no-wrap |
| 4045 |
msgid "NOTES" |
| 4046 |
msgstr "NOTES" |
| 4047 |
|
| 4048 |
#. type: Plain text |
| 4049 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4050 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4051 |
msgid "" |
| 4052 |
"Although arguments to B<ptrace>() are interpreted according to the " |
| 4053 |
"prototype given, glibc currently declares B<ptrace>() as a variadic " |
| 4054 |
"function with only the I<op> argument fixed. It is recommended to always " |
| 4055 |
"supply four arguments, even if the requested operation does not use them, " |
| 4056 |
"setting unused/ignored arguments to I<0L> or I<(void\\ *)\\ 0>." |
| 4057 |
msgstr "" |
| 4058 |
"Bien que les arguments de B<ptrace>() soient interprétés comme dans le " |
| 4059 |
"prototype donné, la bibliothèque glibc déclare B<ptrace> comme une fonction " |
| 4060 |
"variadique où seul l'argument I<op> est corrigé. Il vaut mieux toujours " |
| 4061 |
"fournir quatre arguments, même si l'opération demandée ne les utilise pas, " |
| 4062 |
"en configurant les arguments non utilisés ou ignorés à I<0L> ou I<(void\\ *)" |
| 4063 |
"\\ 0>." |
| 4064 |
|
| 4065 |
#. type: Plain text |
| 4066 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4067 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4068 |
msgid "" |
| 4069 |
"A tracees parent continues to be the tracer even if that tracer calls " |
| 4070 |
"B<execve>(2)." |
| 4071 |
msgstr "Le parent d'observés reste observateur même s'il appelle B<execve>(2)." |
| 4072 |
|
| 4073 |
#. See http://lkml.org/lkml/2008/5/8/375 |
| 4074 |
#. type: Plain text |
| 4075 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4076 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4077 |
msgid "" |
| 4078 |
"The layout of the contents of memory and the USER area are quite operating-" |
| 4079 |
"system- and architecture-specific. The offset supplied, and the data " |
| 4080 |
"returned, might not entirely match with the definition of I<struct user>." |
| 4081 |
msgstr "" |
| 4082 |
"La disposition du contenu de la mémoire et de la zone USER dépendent du " |
| 4083 |
"système d'exploitation et de l'architecture. Le décalage fourni et les " |
| 4084 |
"données renvoyées peuvent ne pas correspondre entièrement avec la définition " |
| 4085 |
"d'une structure I<struct user>." |
| 4086 |
|
| 4087 |
#. type: Plain text |
| 4088 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4089 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4090 |
msgid "" |
| 4091 |
"The size of a \"word\" is determined by the operating-system variant (e.g., " |
| 4092 |
"for 32-bit Linux it is 32 bits)." |
| 4093 |
msgstr "" |
| 4094 |
"La taille d'un mot («\\ word\\ ») est déterminée par la version du système " |
| 4095 |
"d'exploitation (par exemple 32 bits pour Linux 32 bits)." |
| 4096 |
|
| 4097 |
#. """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |
| 4098 |
#. type: Plain text |
| 4099 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4100 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4101 |
msgid "" |
| 4102 |
"This page documents the way the B<ptrace>() call works currently in Linux. " |
| 4103 |
"Its behavior differs significantly on other flavors of UNIX. In any case, " |
| 4104 |
"use of B<ptrace>() is highly specific to the operating system and " |
| 4105 |
"architecture." |
| 4106 |
msgstr "" |
| 4107 |
"Cette page documente le fonctionnement actuel de B<ptrace>() sous Linux. " |
| 4108 |
"Celui-ci peut varier significativement d'autres types d'UNIX. De toute " |
| 4109 |
"façon, l'utilisation de B<ptrace>() dépend fortement de l'architecture et du " |
| 4110 |
"système d'exploitation." |
| 4111 |
|
| 4112 |
#. type: SS |
| 4113 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4114 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4115 |
#, no-wrap |
| 4116 |
msgid "Ptrace access mode checking" |
| 4117 |
msgstr "Vérification du mode d'accès ptrace" |
| 4118 |
|
| 4119 |
#. type: Plain text |
| 4120 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4121 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4122 |
msgid "" |
| 4123 |
"Various parts of the kernel-user-space API (not just B<ptrace>() " |
| 4124 |
"operations), require so-called \"ptrace access mode\" checks, whose outcome " |
| 4125 |
"determines whether an operation is permitted (or, in a few cases, causes a " |
| 4126 |
"\"read\" operation to return sanitized data). These checks are performed in " |
| 4127 |
"cases where one process can inspect sensitive information about, or in some " |
| 4128 |
"cases modify the state of, another process. The checks are based on factors " |
| 4129 |
"such as the credentials and capabilities of the two processes, whether or " |
| 4130 |
"not the \"target\" process is dumpable, and the results of checks performed " |
| 4131 |
"by any enabled Linux Security Module (LSM)\\[em]for example, SELinux, Yama, " |
| 4132 |
"or Smack\\[em]and by the commoncap LSM (which is always invoked)." |
| 4133 |
msgstr "" |
| 4134 |
"Divers endroits de l'API de l'espace utilisateur du noyau (pas seulement les " |
| 4135 |
"opérations B<ptrace>()) exigent ce qu'on appelle des « vérifications de mode " |
| 4136 |
"d'accès ptrace », dont le résultat détermine si une opération est autorisée " |
| 4137 |
"(ou, dans certains cas, fait renvoyer à l'opération « read » des données " |
| 4138 |
"nettoyées). Ces vérifications sont effectuées dans les cas où un processus " |
| 4139 |
"peut accéder à des informations sensibles concernant un autre processus ou " |
| 4140 |
"modifier son état. Les vérifications s'opèrent sur la base de facteurs tels " |
| 4141 |
"que les droits et les capacités des deux processus, le fait que le processus " |
| 4142 |
"« cible » puisse générer un fichier core, et des résultats des vérifications " |
| 4143 |
"effectuées par un module de sécurité Linux activé (LSM) (par exemple " |
| 4144 |
"SELinux, Yama ou Smack) et par le LSM commoncap (qui est toujours appelé)." |
| 4145 |
|
| 4146 |
#. commit 006ebb40d3d65338bd74abb03b945f8d60e362bd |
| 4147 |
#. type: Plain text |
| 4148 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4149 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4150 |
msgid "" |
| 4151 |
"Prior to Linux 2.6.27, all access checks were of a single type. Since Linux " |
| 4152 |
"2.6.27, two access mode levels are distinguished:" |
| 4153 |
msgstr "" |
| 4154 |
"Avant Linux 2.6.27, toutes les vérifications d'accès étaient d'un seul type. " |
| 4155 |
"Depuis Linux 2.6.27, on distingue deux niveaux de modes d'accès :" |
| 4156 |
|
| 4157 |
#. type: TP |
| 4158 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4159 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4160 |
#, no-wrap |
| 4161 |
msgid "B<PTRACE_MODE_READ>" |
| 4162 |
msgstr "B<PTRACE_MODE_READ>" |
| 4163 |
|
| 4164 |
#. type: Plain text |
| 4165 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4166 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4167 |
msgid "" |
| 4168 |
"For \"read\" operations or other operations that are less dangerous, such " |
| 4169 |
"as: B<get_robust_list>(2); B<kcmp>(2); reading I</proc/>pidI</auxv>, I</proc/" |
| 4170 |
">pidI</environ>, or I</proc/>pidI</stat>; or B<readlink>(2) of a I</proc/" |
| 4171 |
">pidI</ns/*> file." |
| 4172 |
msgstr "" |
| 4173 |
"Pour les opérations « read » ou d'autres moins dangereuses telles que : " |
| 4174 |
"B<get_robust_list>(2) ; B<kcmp>(2) ; la lecture de I</proc/>pidI</auxv>, I</" |
| 4175 |
"proc/>pidI</environ> ou de I</proc/>pidI</stat> ; ou le B<readlink>(2) d'un " |
| 4176 |
"fichier I</proc/>pidI</ns/*>." |
| 4177 |
|
| 4178 |
#. type: TP |
| 4179 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4180 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4181 |
#, no-wrap |
| 4182 |
msgid "B<PTRACE_MODE_ATTACH>" |
| 4183 |
msgstr "B<PTRACE_MODE_ATTACH>" |
| 4184 |
|
| 4185 |
# |
| 4186 |
# |
| 4187 |
#. #-#-#-#-# archlinux: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 4188 |
#. Regarding the above description of the distinction between |
| 4189 |
#. PTRACE_MODE_READ and PTRACE_MODE_ATTACH, Stephen Smalley notes: |
| 4190 |
#. That was the intent when the distinction was introduced, but it doesn't |
| 4191 |
#. appear to have been properly maintained, e.g., there is now a common |
| 4192 |
#. helper lock_trace() that is used for |
| 4193 |
#. /proc/pid/{stack,syscall,personality} but checks PTRACE_MODE_ATTACH, and |
| 4194 |
#. PTRACE_MODE_ATTACH is also used in timerslack_ns_write/show(). Likely |
| 4195 |
#. should review and make them consistent. There was also some debate |
| 4196 |
#. about proper handling of /proc/pid/fd. Arguably that one might belong |
| 4197 |
#. back in the _ATTACH camp. |
| 4198 |
#. type: Plain text |
| 4199 |
#. #-#-#-#-# debian-trixie: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 4200 |
#. Regarding the above description of the distinction between |
| 4201 |
#. PTRACE_MODE_READ and PTRACE_MODE_ATTACH, Stephen Smalley notes: |
| 4202 |
#. That was the intent when the distinction was introduced, but it doesn't |
| 4203 |
#. appear to have been properly maintained, e.g. there is now a common |
| 4204 |
#. helper lock_trace() that is used for |
| 4205 |
#. /proc/pid/{stack,syscall,personality} but checks PTRACE_MODE_ATTACH, and |
| 4206 |
#. PTRACE_MODE_ATTACH is also used in timerslack_ns_write/show(). Likely |
| 4207 |
#. should review and make them consistent. There was also some debate |
| 4208 |
#. about proper handling of /proc/pid/fd. Arguably that one might belong |
| 4209 |
#. back in the _ATTACH camp. |
| 4210 |
#. type: Plain text |
| 4211 |
#. #-#-#-#-# debian-unstable: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 4212 |
#. Regarding the above description of the distinction between |
| 4213 |
#. PTRACE_MODE_READ and PTRACE_MODE_ATTACH, Stephen Smalley notes: |
| 4214 |
#. That was the intent when the distinction was introduced, but it doesn't |
| 4215 |
#. appear to have been properly maintained, e.g., there is now a common |
| 4216 |
#. helper lock_trace() that is used for |
| 4217 |
#. /proc/pid/{stack,syscall,personality} but checks PTRACE_MODE_ATTACH, and |
| 4218 |
#. PTRACE_MODE_ATTACH is also used in timerslack_ns_write/show(). Likely |
| 4219 |
#. should review and make them consistent. There was also some debate |
| 4220 |
#. about proper handling of /proc/pid/fd. Arguably that one might belong |
| 4221 |
#. back in the _ATTACH camp. |
| 4222 |
#. type: Plain text |
| 4223 |
#. #-#-#-#-# fedora-44: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 4224 |
#. Regarding the above description of the distinction between |
| 4225 |
#. PTRACE_MODE_READ and PTRACE_MODE_ATTACH, Stephen Smalley notes: |
| 4226 |
#. That was the intent when the distinction was introduced, but it doesn't |
| 4227 |
#. appear to have been properly maintained, e.g. there is now a common |
| 4228 |
#. helper lock_trace() that is used for |
| 4229 |
#. /proc/pid/{stack,syscall,personality} but checks PTRACE_MODE_ATTACH, and |
| 4230 |
#. PTRACE_MODE_ATTACH is also used in timerslack_ns_write/show(). Likely |
| 4231 |
#. should review and make them consistent. There was also some debate |
| 4232 |
#. about proper handling of /proc/pid/fd. Arguably that one might belong |
| 4233 |
#. back in the _ATTACH camp. |
| 4234 |
#. type: Plain text |
| 4235 |
#. #-#-#-#-# fedora-rawhide: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 4236 |
#. Regarding the above description of the distinction between |
| 4237 |
#. PTRACE_MODE_READ and PTRACE_MODE_ATTACH, Stephen Smalley notes: |
| 4238 |
#. That was the intent when the distinction was introduced, but it doesn't |
| 4239 |
#. appear to have been properly maintained, e.g. there is now a common |
| 4240 |
#. helper lock_trace() that is used for |
| 4241 |
#. /proc/pid/{stack,syscall,personality} but checks PTRACE_MODE_ATTACH, and |
| 4242 |
#. PTRACE_MODE_ATTACH is also used in timerslack_ns_write/show(). Likely |
| 4243 |
#. should review and make them consistent. There was also some debate |
| 4244 |
#. about proper handling of /proc/pid/fd. Arguably that one might belong |
| 4245 |
#. back in the _ATTACH camp. |
| 4246 |
#. type: Plain text |
| 4247 |
#. #-#-#-#-# mageia-cauldron: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 4248 |
#. Regarding the above description of the distinction between |
| 4249 |
#. PTRACE_MODE_READ and PTRACE_MODE_ATTACH, Stephen Smalley notes: |
| 4250 |
#. That was the intent when the distinction was introduced, but it doesn't |
| 4251 |
#. appear to have been properly maintained, e.g., there is now a common |
| 4252 |
#. helper lock_trace() that is used for |
| 4253 |
#. /proc/pid/{stack,syscall,personality} but checks PTRACE_MODE_ATTACH, and |
| 4254 |
#. PTRACE_MODE_ATTACH is also used in timerslack_ns_write/show(). Likely |
| 4255 |
#. should review and make them consistent. There was also some debate |
| 4256 |
#. about proper handling of /proc/pid/fd. Arguably that one might belong |
| 4257 |
#. back in the _ATTACH camp. |
| 4258 |
#. type: Plain text |
| 4259 |
#. #-#-#-#-# opensuse-leap-16-1: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 4260 |
#. Regarding the above description of the distinction between |
| 4261 |
#. PTRACE_MODE_READ and PTRACE_MODE_ATTACH, Stephen Smalley notes: |
| 4262 |
#. That was the intent when the distinction was introduced, but it doesn't |
| 4263 |
#. appear to have been properly maintained, e.g., there is now a common |
| 4264 |
#. helper lock_trace() that is used for |
| 4265 |
#. /proc/pid/{stack,syscall,personality} but checks PTRACE_MODE_ATTACH, and |
| 4266 |
#. PTRACE_MODE_ATTACH is also used in timerslack_ns_write/show(). Likely |
| 4267 |
#. should review and make them consistent. There was also some debate |
| 4268 |
#. about proper handling of /proc/pid/fd. Arguably that one might belong |
| 4269 |
#. back in the _ATTACH camp. |
| 4270 |
#. type: Plain text |
| 4271 |
#. #-#-#-#-# opensuse-tumbleweed: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 4272 |
#. Regarding the above description of the distinction between |
| 4273 |
#. PTRACE_MODE_READ and PTRACE_MODE_ATTACH, Stephen Smalley notes: |
| 4274 |
#. That was the intent when the distinction was introduced, but it doesn't |
| 4275 |
#. appear to have been properly maintained, e.g., there is now a common |
| 4276 |
#. helper lock_trace() that is used for |
| 4277 |
#. /proc/pid/{stack,syscall,personality} but checks PTRACE_MODE_ATTACH, and |
| 4278 |
#. PTRACE_MODE_ATTACH is also used in timerslack_ns_write/show(). Likely |
| 4279 |
#. should review and make them consistent. There was also some debate |
| 4280 |
#. about proper handling of /proc/pid/fd. Arguably that one might belong |
| 4281 |
#. back in the _ATTACH camp. |
| 4282 |
#. type: Plain text |
| 4283 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4284 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4285 |
msgid "" |
| 4286 |
"For \"write\" operations, or other operations that are more dangerous, such " |
| 4287 |
"as: ptrace attaching (B<PTRACE_ATTACH>) to another process or calling " |
| 4288 |
"B<process_vm_writev>(2). (B<PTRACE_MODE_ATTACH> was effectively the default " |
| 4289 |
"before Linux 2.6.27.)" |
| 4290 |
msgstr "" |
| 4291 |
"Pour les opérations « write » ou d'autres plus dangereuses telles que : le " |
| 4292 |
"rattachement de ptrace (B<PTRACE_ATTACH>) à un autre processus ou un appel " |
| 4293 |
"B<process_vm_writev>(2) (B<PTRACE_MODE_ATTACH> était celui par défaut avant " |
| 4294 |
"Linux 2.6.27)." |
| 4295 |
|
| 4296 |
#. commit caaee6234d05a58c5b4d05e7bf766131b810a657 |
| 4297 |
#. type: Plain text |
| 4298 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4299 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4300 |
msgid "" |
| 4301 |
"Since Linux 4.5, the above access mode checks are combined (ORed) with one " |
| 4302 |
"of the following modifiers:" |
| 4303 |
msgstr "" |
| 4304 |
"Depuis Linux 4.5, les vérifications de mode d'accès ci-dessus sont combinées " |
| 4305 |
"(opération OU) avec un ou plusieurs des modificateurs suivants :" |
| 4306 |
|
| 4307 |
#. type: TP |
| 4308 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4309 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4310 |
#, no-wrap |
| 4311 |
msgid "B<PTRACE_MODE_FSCREDS>" |
| 4312 |
msgstr "B<PTRACE_MODE_FSCREDS>" |
| 4313 |
|
| 4314 |
#. type: Plain text |
| 4315 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4316 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4317 |
msgid "" |
| 4318 |
"Use the caller's filesystem UID and GID (see B<credentials>(7)) or " |
| 4319 |
"effective capabilities for LSM checks." |
| 4320 |
msgstr "" |
| 4321 |
"Utiliser l'identifiant de groupe ou d’utilisateur du système de fichiers de " |
| 4322 |
"l'appelant (voir B<credentials>(7)) ou les capacités effectives pour les " |
| 4323 |
"vérifications LSM." |
| 4324 |
|
| 4325 |
#. type: TP |
| 4326 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4327 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4328 |
#, no-wrap |
| 4329 |
msgid "B<PTRACE_MODE_REALCREDS>" |
| 4330 |
msgstr "B<PTRACE_MODE_REALCREDS>" |
| 4331 |
|
| 4332 |
#. type: Plain text |
| 4333 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4334 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4335 |
msgid "" |
| 4336 |
"Use the caller's real UID and GID or permitted capabilities for LSM checks. " |
| 4337 |
"This was effectively the default before Linux 4.5." |
| 4338 |
msgstr "" |
| 4339 |
"Utiliser l'identifiant de groupe ou d’utilisateur réel de l'appelant ou les " |
| 4340 |
"capacités autorisées pour les vérifications LSM. C'était l'action par défaut " |
| 4341 |
"avant Linux 4.5." |
| 4342 |
|
| 4343 |
#. type: Plain text |
| 4344 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4345 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4346 |
msgid "" |
| 4347 |
"Because combining one of the credential modifiers with one of the " |
| 4348 |
"aforementioned access modes is typical, some macros are defined in the " |
| 4349 |
"kernel sources for the combinations:" |
| 4350 |
msgstr "" |
| 4351 |
"La combinaison d'un des modificateurs de droits avec un des modes d'accès ci-" |
| 4352 |
"dessus étant classique, certaines macros sont définies dans les sources du " |
| 4353 |
"noyau pour les combinaisons :" |
| 4354 |
|
| 4355 |
#. type: TP |
| 4356 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4357 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4358 |
#, no-wrap |
| 4359 |
msgid "B<PTRACE_MODE_READ_FSCREDS>" |
| 4360 |
msgstr "B<PTRACE_MODE_READ_FSCREDS>" |
| 4361 |
|
| 4362 |
#. type: Plain text |
| 4363 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4364 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4365 |
msgid "Defined as B<PTRACE_MODE_READ | PTRACE_MODE_FSCREDS>." |
| 4366 |
msgstr "Définie en tant que B<PTRACE_MODE_READ | PTRACE_MODE_FSCREDS>." |
| 4367 |
|
| 4368 |
#. type: TP |
| 4369 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4370 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4371 |
#, no-wrap |
| 4372 |
msgid "B<PTRACE_MODE_READ_REALCREDS>" |
| 4373 |
msgstr "B<PTRACE_MODE_READ_REALCREDS>" |
| 4374 |
|
| 4375 |
#. type: Plain text |
| 4376 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4377 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4378 |
msgid "Defined as B<PTRACE_MODE_READ | PTRACE_MODE_REALCREDS>." |
| 4379 |
msgstr "Définie en tant que B<PTRACE_MODE_READ | PTRACE_MODE_REALCREDS>." |
| 4380 |
|
| 4381 |
#. type: TP |
| 4382 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4383 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4384 |
#, no-wrap |
| 4385 |
msgid "B<PTRACE_MODE_ATTACH_FSCREDS>" |
| 4386 |
msgstr "B<PTRACE_MODE_ATTACH_FSCREDS>" |
| 4387 |
|
| 4388 |
#. type: Plain text |
| 4389 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4390 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4391 |
msgid "Defined as B<PTRACE_MODE_ATTACH | PTRACE_MODE_FSCREDS>." |
| 4392 |
msgstr "Définie en tant que B<PTRACE_MODE_ATTACH | PTRACE_MODE_FSCREDS>." |
| 4393 |
|
| 4394 |
#. type: TP |
| 4395 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4396 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4397 |
#, no-wrap |
| 4398 |
msgid "B<PTRACE_MODE_ATTACH_REALCREDS>" |
| 4399 |
msgstr "B<PTRACE_MODE_ATTACH_REALCREDS>" |
| 4400 |
|
| 4401 |
#. type: Plain text |
| 4402 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4403 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4404 |
msgid "Defined as B<PTRACE_MODE_ATTACH | PTRACE_MODE_REALCREDS>." |
| 4405 |
msgstr "Définie en tant que B<PTRACE_MODE_ATTACH | PTRACE_MODE_REALCREDS>." |
| 4406 |
|
| 4407 |
#. type: Plain text |
| 4408 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4409 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4410 |
msgid "One further modifier can be ORed with the access mode:" |
| 4411 |
msgstr "" |
| 4412 |
"Un modificateur supplémentaire peut être lié (opération OU) au mode d'accès :" |
| 4413 |
|
| 4414 |
#. type: TP |
| 4415 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4416 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4417 |
#, no-wrap |
| 4418 |
msgid "B<PTRACE_MODE_NOAUDIT> (since Linux 3.3)" |
| 4419 |
msgstr "B<PTRACE_MODE_NOAUDIT> (depuis Linux 3.3)" |
| 4420 |
|
| 4421 |
#. commit 69f594a38967f4540ce7a29b3fd214e68a8330bd |
| 4422 |
#. Just for /proc/pid/stat |
| 4423 |
#. type: Plain text |
| 4424 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4425 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4426 |
msgid "" |
| 4427 |
"Don't audit this access mode check. This modifier is employed for ptrace " |
| 4428 |
"access mode checks (such as checks when reading I</proc/>pidI</stat>) that " |
| 4429 |
"merely cause the output to be filtered or sanitized, rather than causing an " |
| 4430 |
"error to be returned to the caller. In these cases, accessing the file is " |
| 4431 |
"not a security violation and there is no reason to generate a security audit " |
| 4432 |
"record. This modifier suppresses the generation of such an audit record for " |
| 4433 |
"the particular access check." |
| 4434 |
msgstr "" |
| 4435 |
"Ne pas effectuer la vérification de ce mode d'accès. Ce modificateur est " |
| 4436 |
"utilisé pour les vérifications de mode d'accès ptrace (telles que celles " |
| 4437 |
"faites lors de la lecture de I</proc/>pidI</stat>) qui filtrent ou nettoient " |
| 4438 |
"la sortie au lieu de renvoyer une erreur à l'appelant. Dans ces cas, l'accès " |
| 4439 |
"au fichier n'est pas une violation de sécurité et il n'y aucune raison de " |
| 4440 |
"générer un enregistrement de l'évaluation de la sécurité. Ce modificateur " |
| 4441 |
"supprime la génération d'un tel enregistrement pour cette vérification " |
| 4442 |
"d'accès particulière." |
| 4443 |
|
| 4444 |
#. type: Plain text |
| 4445 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4446 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4447 |
msgid "" |
| 4448 |
"Note that all of the B<PTRACE_MODE_*> constants described in this subsection " |
| 4449 |
"are kernel-internal, and not visible to user space. The constant names are " |
| 4450 |
"mentioned here in order to label the various kinds of ptrace access mode " |
| 4451 |
"checks that are performed for various system calls and accesses to various " |
| 4452 |
"pseudofiles (e.g., under I</proc>). These names are used in other manual " |
| 4453 |
"pages to provide a simple shorthand for labeling the different kernel checks." |
| 4454 |
msgstr "" |
| 4455 |
"Remarquez que toutes les constantes B<PTRACE_MODE_*> décrites dans cette " |
| 4456 |
"sous-section sont internes au noyau et invisibles à l'espace utilisateur. Le " |
| 4457 |
"nom des constantes est mentionné ici pour identifier les différents types de " |
| 4458 |
"vérification des modes d'accès ptrace effectuées pour divers appels système " |
| 4459 |
"et divers accès à des pseudofichiers (comme dans I</proc>). Ces noms sont " |
| 4460 |
"utilisés dans d'autres pages de manuel pour fournir un raccourci simple " |
| 4461 |
"d'identification des vérifications du noyau." |
| 4462 |
|
| 4463 |
#. type: Plain text |
| 4464 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4465 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4466 |
msgid "" |
| 4467 |
"The algorithm employed for ptrace access mode checking determines whether " |
| 4468 |
"the calling process is allowed to perform the corresponding action on the " |
| 4469 |
"target process. (In the case of opening I</proc/>pid files, the \"calling " |
| 4470 |
"process\" is the one opening the file, and the process with the " |
| 4471 |
"corresponding PID is the \"target process\".) The algorithm is as follows:" |
| 4472 |
msgstr "" |
| 4473 |
"L'algorithme utilisé pour la vérification des modes d'accès ptrace détermine " |
| 4474 |
"si le processus appelant est autorisé à effectuer l'action correspondante " |
| 4475 |
"sur le processus cible (pour l'ouverture des fichiers I</proc/>pid, le " |
| 4476 |
"« processus appelant » est celui qui ouvre le fichier et le processus dont " |
| 4477 |
"le PID correspond est le « processus cible »). L’algorithme est comme suit :" |
| 4478 |
|
| 4479 |
#. type: IP |
| 4480 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4481 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4482 |
#, no-wrap |
| 4483 |
msgid "(1)" |
| 4484 |
msgstr "(1)" |
| 4485 |
|
| 4486 |
#. type: Plain text |
| 4487 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4488 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4489 |
msgid "" |
| 4490 |
"If the calling thread and the target thread are in the same thread group, " |
| 4491 |
"access is always allowed." |
| 4492 |
msgstr "" |
| 4493 |
"Si le thread appelant et cible sont dans le même groupe de threads, l'accès " |
| 4494 |
"est toujours autorisé." |
| 4495 |
|
| 4496 |
#. type: IP |
| 4497 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4498 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4499 |
#, no-wrap |
| 4500 |
msgid "(2)" |
| 4501 |
msgstr "(2)" |
| 4502 |
|
| 4503 |
#. type: Plain text |
| 4504 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4505 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4506 |
msgid "" |
| 4507 |
"If the access mode specifies B<PTRACE_MODE_FSCREDS>, then, for the check in " |
| 4508 |
"the next step, employ the caller's filesystem UID and GID. (As noted in " |
| 4509 |
"B<credentials>(7), the filesystem UID and GID almost always have the same " |
| 4510 |
"values as the corresponding effective IDs.)" |
| 4511 |
msgstr "" |
| 4512 |
"Si le mode d'accès indique B<PTRACE_MODE_FSCREDS>, lors de la vérification " |
| 4513 |
"de la prochaine étape, utiliser l'identifiant d'utilisateur et de groupe du " |
| 4514 |
"système de fichiers appelant (comme indiqué dans B<credentials>(7), les " |
| 4515 |
"identifiants d'utilisateur et de groupe du système de fichiers ont presque " |
| 4516 |
"toujours la même valeur que les identifiants effectifs correspondant)." |
| 4517 |
|
| 4518 |
#. type: Plain text |
| 4519 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4520 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4521 |
msgid "" |
| 4522 |
"Otherwise, the access mode specifies B<PTRACE_MODE_REALCREDS>, so use the " |
| 4523 |
"caller's real UID and GID for the checks in the next step. (Most APIs that " |
| 4524 |
"check the caller's UID and GID use the effective IDs. For historical " |
| 4525 |
"reasons, the B<PTRACE_MODE_REALCREDS> check uses the real IDs instead.)" |
| 4526 |
msgstr "" |
| 4527 |
"Sinon le mode d'accès indique B<PTRACE_MODE_REALCREDS>, donc utiliser " |
| 4528 |
"l'identifiant d'utilisateur et de groupe réels de l'appelant lors des " |
| 4529 |
"vérifications de la prochaine étape (la plupart des API qui vérifient les " |
| 4530 |
"identifiants d’utilisateur et de groupe utilisent les identifiants " |
| 4531 |
"effectifs. Pour des raisons historiques, la vérification " |
| 4532 |
"B<PTRACE_MODE_REALCREDS> utilise plutôt ceux réels)." |
| 4533 |
|
| 4534 |
#. type: IP |
| 4535 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4536 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4537 |
#, no-wrap |
| 4538 |
msgid "(3)" |
| 4539 |
msgstr "(3)" |
| 4540 |
|
| 4541 |
#. type: Plain text |
| 4542 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4543 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4544 |
msgid "Deny access if I<neither> of the following is true:" |
| 4545 |
msgstr "Interdire l'accès si I<rien> de ce qui suit n'est vrai :" |
| 4546 |
|
| 4547 |
#. type: Plain text |
| 4548 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4549 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4550 |
msgid "" |
| 4551 |
"The real, effective, and saved-set user IDs of the target match the caller's " |
| 4552 |
"user ID, I<and> the real, effective, and saved-set group IDs of the target " |
| 4553 |
"match the caller's group ID." |
| 4554 |
msgstr "" |
| 4555 |
"Les identifiants utilisateur réel, effectif et défini de la cible " |
| 4556 |
"correspondent à l'identifiant utilisateur de l'appelant I<et> les " |
| 4557 |
"identifiants réels, effectifs et définis de groupe de la cible correspondent " |
| 4558 |
"à ceux de groupe de l'appelant." |
| 4559 |
|
| 4560 |
#. type: Plain text |
| 4561 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4562 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4563 |
msgid "" |
| 4564 |
"The caller has the B<CAP_SYS_PTRACE> capability in the user namespace of the " |
| 4565 |
"target." |
| 4566 |
msgstr "" |
| 4567 |
"L'appelant a la capacité B<CAP_SYS_PTRACE> dans l'espace de noms utilisateur " |
| 4568 |
"de la cible." |
| 4569 |
|
| 4570 |
#. type: IP |
| 4571 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4572 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4573 |
#, no-wrap |
| 4574 |
msgid "(4)" |
| 4575 |
msgstr "(4)" |
| 4576 |
|
| 4577 |
#. type: Plain text |
| 4578 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4579 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4580 |
msgid "" |
| 4581 |
"Deny access if the target process \"dumpable\" attribute has a value other " |
| 4582 |
"than 1 (B<SUID_DUMP_USER>; see the discussion of B<PR_SET_DUMPABLE> in " |
| 4583 |
"B<prctl>(2)), and the caller does not have the B<CAP_SYS_PTRACE> capability " |
| 4584 |
"in the user namespace of the target process." |
| 4585 |
msgstr "" |
| 4586 |
"Interdire l'accès si l'attribut « dumpable » du processus cible a une autre " |
| 4587 |
"valeur que B<1> (B<SUID_DUMP_USER> ; voir le point sur B<PR_SET_DUMPABLE> " |
| 4588 |
"dans B<prctl>(2)) et l'appelant n'a pas la capacité B<CAP_SYS_PTRACE> dans " |
| 4589 |
"l'espace de noms de l'utilisateur du processus cible." |
| 4590 |
|
| 4591 |
#. type: IP |
| 4592 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4593 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4594 |
#, no-wrap |
| 4595 |
msgid "(5)" |
| 4596 |
msgstr "(5)" |
| 4597 |
|
| 4598 |
#. (in cap_ptrace_access_check()): |
| 4599 |
#. type: Plain text |
| 4600 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4601 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4602 |
msgid "" |
| 4603 |
"The kernel LSM I<security_ptrace_access_check>() interface is invoked to " |
| 4604 |
"see if ptrace access is permitted. The results depend on the LSM(s). The " |
| 4605 |
"implementation of this interface in the commoncap LSM performs the following " |
| 4606 |
"steps:" |
| 4607 |
msgstr "" |
| 4608 |
"L'interface I<security_ptrace_access_check>() du LSM du noyau est appelée " |
| 4609 |
"pour voir si l'accès ptrace est autorisé. Le résultat dépend des LSM. " |
| 4610 |
"L'implémentation de cette interface dans le LSM commoncap suit les étapes " |
| 4611 |
"suivantes :" |
| 4612 |
|
| 4613 |
#. type: IP |
| 4614 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4615 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4616 |
#, no-wrap |
| 4617 |
msgid "(5.1)" |
| 4618 |
msgstr "(5.1)" |
| 4619 |
|
| 4620 |
#. type: Plain text |
| 4621 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4622 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4623 |
msgid "" |
| 4624 |
"If the access mode includes B<PTRACE_MODE_FSCREDS>, then use the caller's " |
| 4625 |
"I<effective> capability set in the following check; otherwise (the access " |
| 4626 |
"mode specifies B<PTRACE_MODE_REALCREDS>, so) use the caller's I<permitted> " |
| 4627 |
"capability set." |
| 4628 |
msgstr "" |
| 4629 |
"Si le mode d'accès comprend B<PTRACE_MODE_FSCREDS>, utiliser l’ensemble des " |
| 4630 |
"capacités I<effectives> de l'appelant dans la prochaine vérification ; sinon " |
| 4631 |
"(si le mode d'accès indique B<PTRACE_MODE_REALCREDS>), utiliser l’ensemble " |
| 4632 |
"des capacités I<autorisées> de l'appelant." |
| 4633 |
|
| 4634 |
#. type: IP |
| 4635 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4636 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4637 |
#, no-wrap |
| 4638 |
msgid "(5.2)" |
| 4639 |
msgstr "(5.2)" |
| 4640 |
|
| 4641 |
#. type: Plain text |
| 4642 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4643 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4644 |
msgid "" |
| 4645 |
"The caller and the target process are in the same user namespace, and the " |
| 4646 |
"caller's capabilities are a superset of the target process's I<permitted> " |
| 4647 |
"capabilities." |
| 4648 |
msgstr "" |
| 4649 |
"Les processus appelant et cible sont dans le même espace de noms utilisateur " |
| 4650 |
"et les capacités de l'appelant sont un surensemble des capacités " |
| 4651 |
"I<autorisées> du processus cible." |
| 4652 |
|
| 4653 |
#. type: Plain text |
| 4654 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4655 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4656 |
msgid "" |
| 4657 |
"The caller has the B<CAP_SYS_PTRACE> capability in the target process's user " |
| 4658 |
"namespace." |
| 4659 |
msgstr "" |
| 4660 |
"L'appelant a la capacité B<CAP_SYS_PTRACE> dans l'espace de noms utilisateur " |
| 4661 |
"du processus cible." |
| 4662 |
|
| 4663 |
#. type: Plain text |
| 4664 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4665 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4666 |
msgid "" |
| 4667 |
"Note that the commoncap LSM does not distinguish between B<PTRACE_MODE_READ> " |
| 4668 |
"and B<PTRACE_MODE_ATTACH>." |
| 4669 |
msgstr "" |
| 4670 |
"Remarquez que le LSM commoncap ne fait pas de différence entre " |
| 4671 |
"B<PTRACE_MODE_READ> et B<PTRACE_MODE_ATTACH>." |
| 4672 |
|
| 4673 |
#. type: IP |
| 4674 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4675 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4676 |
#, no-wrap |
| 4677 |
msgid "(6)" |
| 4678 |
msgstr "(6)" |
| 4679 |
|
| 4680 |
# |
| 4681 |
#. """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |
| 4682 |
#. type: Plain text |
| 4683 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4684 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4685 |
msgid "" |
| 4686 |
"If access has not been denied by any of the preceding steps, then access is " |
| 4687 |
"allowed." |
| 4688 |
msgstr "" |
| 4689 |
"Si l'accès n'a pas été interdit par une étape précédente, il est autorisé." |
| 4690 |
|
| 4691 |
#. type: SS |
| 4692 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4693 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4694 |
#, no-wrap |
| 4695 |
msgid "/proc/sys/kernel/yama/ptrace_scope" |
| 4696 |
msgstr "/proc/sys/kernel/yama/ptrace_scope" |
| 4697 |
|
| 4698 |
#. commit 2d514487faf188938a4ee4fb3464eeecfbdcf8eb |
| 4699 |
#. type: Plain text |
| 4700 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4701 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4702 |
msgid "" |
| 4703 |
"On systems with the Yama Linux Security Module (LSM) installed (i.e., the " |
| 4704 |
"kernel was configured with B<CONFIG_SECURITY_YAMA>), the I</proc/sys/kernel/" |
| 4705 |
"yama/ptrace_scope> file (available since Linux 3.4) can be used to restrict " |
| 4706 |
"the ability to trace a process with B<ptrace>() (and thus also the ability " |
| 4707 |
"to use tools such as B<strace>(1) and B<gdb>(1)). The goal of such " |
| 4708 |
"restrictions is to prevent attack escalation whereby a compromised process " |
| 4709 |
"can ptrace-attach to other sensitive processes (e.g., a GPG agent or an SSH " |
| 4710 |
"session) owned by the user in order to gain additional credentials that may " |
| 4711 |
"exist in memory and thus expand the scope of the attack." |
| 4712 |
msgstr "" |
| 4713 |
"Sur des systèmes ayant un Yama Linux Security Module (LSM) installé (donc si " |
| 4714 |
"le noyau a été configuré avec B<CONFIG_SECURITY_YAMA>), le fichier I</proc/" |
| 4715 |
"sys/kernel/yama/ptrace_scope> (disponible depuis Linux 3.4) peut être " |
| 4716 |
"utilisé pour restreindre la possibilité d'observer un processus avec " |
| 4717 |
"B<ptrace>() (et ainsi, celle d'utiliser des outils tels que B<strace>(1) et " |
| 4718 |
"B<gdb>(1)). Le but de telles restrictions est d'empêcher des attaques en " |
| 4719 |
"cascade par lesquelles un processus infecté peut s'attacher avec un ptrace à " |
| 4720 |
"d'autres processus sensibles (comme un agent GPG ou une session SSH) " |
| 4721 |
"appartenant à l'utilisateur, afin d'obtenir d'autres droits qui pourraient " |
| 4722 |
"exister en mémoire et ainsi, élargir l'objectif de l'attaque." |
| 4723 |
|
| 4724 |
#. type: Plain text |
| 4725 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4726 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4727 |
msgid "More precisely, the Yama LSM limits two types of operations:" |
| 4728 |
msgstr "Plus précisément, le Yama LSM limite deux types d'opérations :" |
| 4729 |
|
| 4730 |
#. type: Plain text |
| 4731 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4732 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4733 |
msgid "" |
| 4734 |
"Any operation that performs a ptrace access mode B<PTRACE_MODE_ATTACH> " |
| 4735 |
"check\\[em]for example, B<ptrace>() B<PTRACE_ATTACH>. (See the \"Ptrace " |
| 4736 |
"access mode checking\" discussion above.)" |
| 4737 |
msgstr "" |
| 4738 |
"Toute opération qui effectue une vérification B<PTRACE_MODE_ATTACH> de mode " |
| 4739 |
"d'accès (par exemple, B<PTRACE_ATTACH> de B<ptrace>(), voir le point sur les " |
| 4740 |
"« vérifications de mode d'accès ptrace » ci-dessus)." |
| 4741 |
|
| 4742 |
#. type: Plain text |
| 4743 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4744 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4745 |
msgid "B<ptrace>() B<PTRACE_TRACEME>." |
| 4746 |
msgstr "B<PTRACE_TRACEME> B<ptrace>()." |
| 4747 |
|
| 4748 |
#. type: Plain text |
| 4749 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4750 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4751 |
msgid "" |
| 4752 |
"A process that has the B<CAP_SYS_PTRACE> capability can update the I</proc/" |
| 4753 |
"sys/kernel/yama/ptrace_scope> file with one of the following values:" |
| 4754 |
msgstr "" |
| 4755 |
"Un processus ayant la capacité B<CAP_SYS_PTRACE> peut mettre à jour le " |
| 4756 |
"fichier I</proc/sys/kernel/yama/ptrace_scope> avec une ou plusieurs des " |
| 4757 |
"valeurs suivantes :" |
| 4758 |
|
| 4759 |
#. type: TP |
| 4760 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4761 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4762 |
#, no-wrap |
| 4763 |
msgid "0 (\"classic ptrace permissions\")" |
| 4764 |
msgstr "B<0> (droits ptrace « classiques »)" |
| 4765 |
|
| 4766 |
#. type: Plain text |
| 4767 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4768 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4769 |
msgid "" |
| 4770 |
"No additional restrictions on operations that perform B<PTRACE_MODE_ATTACH> " |
| 4771 |
"checks (beyond those imposed by the commoncap and other LSMs)." |
| 4772 |
msgstr "" |
| 4773 |
"Aucune restriction supplémentaire sur les opérations qui effectuent des " |
| 4774 |
"vérifications B<PTRACE_MODE_ATTACH> (au-delà de celles imposées par le LSM " |
| 4775 |
"commoncap et les autres)." |
| 4776 |
|
| 4777 |
#. type: Plain text |
| 4778 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4779 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4780 |
msgid "The use of B<PTRACE_TRACEME> is unchanged." |
| 4781 |
msgstr "L'utilisation de B<PTRACE_TRACEME> ne change pas." |
| 4782 |
|
| 4783 |
#. type: TP |
| 4784 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4785 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4786 |
#, no-wrap |
| 4787 |
msgid "1 (\"restricted ptrace\") [default value]" |
| 4788 |
msgstr "B<1> (« ptrace restreint » (valeur par défaut)" |
| 4789 |
|
| 4790 |
#. type: Plain text |
| 4791 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4792 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4793 |
msgid "" |
| 4794 |
"When performing an operation that requires a B<PTRACE_MODE_ATTACH> check, " |
| 4795 |
"the calling process must either have the B<CAP_SYS_PTRACE> capability in the " |
| 4796 |
"user namespace of the target process or it must have a predefined " |
| 4797 |
"relationship with the target process. By default, the predefined " |
| 4798 |
"relationship is that the target process must be a descendant of the caller." |
| 4799 |
msgstr "" |
| 4800 |
"Lors d'une opération qui exige une vérification B<PTRACE_MODE_ATTACH>, le " |
| 4801 |
"processus appelant doit avoir soit la capacité B<CAP_SYS_PTRACE> dans " |
| 4802 |
"l'espace de noms utilisateur du processus cible, soit une relation " |
| 4803 |
"prédéfinie avec le processus cible. Par défaut, la relation prédéfinie est " |
| 4804 |
"que le processus cible doit être un descendant de l'appelant." |
| 4805 |
|
| 4806 |
#. type: Plain text |
| 4807 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 4808 |
#: opensuse-tumbleweed |
| 4809 |
#, fuzzy |
| 4810 |
#| msgid "" |
| 4811 |
#| "A target process can employ the B<prctl>(2) B<PR_SET_PTRACER> operation " |
| 4812 |
#| "to declare an additional PID that is allowed to perform " |
| 4813 |
#| "B<PTRACE_MODE_ATTACH> operations on the target. See the kernel source " |
| 4814 |
#| "file I<Documentation/admin-guide/LSM/Yama.rst> (or I<Documentation/" |
| 4815 |
#| "security/Yama.txt> before Linux 4.13) for further details." |
| 4816 |
msgid "" |
| 4817 |
"A target process can employ the B<prctl>(2) B<PR_SET_PTRACER> operation to " |
| 4818 |
"declare an additional PID that is allowed to perform B<PTRACE_MODE_ATTACH> " |
| 4819 |
"operations on the target. See the kernel source file I<Documentation/admin-" |
| 4820 |
"guide/LSM/Yama.rst> for further details." |
| 4821 |
msgstr "" |
| 4822 |
"Un processus cible peut utiliser l'opération B<PR_SET_PTRACER> de " |
| 4823 |
"B<prctl>(2) pour déclarer un PID supplémentaire autorisé à effectuer des " |
| 4824 |
"opérations B<PTRACE_MODE_ATTACH> sur la cible. Voir le fichier " |
| 4825 |
"I<Documentation/admin-guide/LSM/Yama.rst> des sources du noyau (ou " |
| 4826 |
"I<Documentation/security/Yama.txt> avant Linux 4.13) pour plus de détails." |
| 4827 |
|
| 4828 |
#. type: TP |
| 4829 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4830 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4831 |
#, no-wrap |
| 4832 |
msgid "2 (\"admin-only attach\")" |
| 4833 |
msgstr "B<2> (attachement « admin-only »)" |
| 4834 |
|
| 4835 |
#. type: Plain text |
| 4836 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4837 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4838 |
msgid "" |
| 4839 |
"Only processes with the B<CAP_SYS_PTRACE> capability in the user namespace " |
| 4840 |
"of the target process may perform B<PTRACE_MODE_ATTACH> operations or trace " |
| 4841 |
"children that employ B<PTRACE_TRACEME>." |
| 4842 |
msgstr "" |
| 4843 |
"Seuls les processus ayant la capacité B<CAP_SYS_PTRACE> dans l'espace de " |
| 4844 |
"noms de l'utilisateur du processus cible peuvent effectuer des opérations " |
| 4845 |
"B<PTRACE_MODE_ATTACH> ou observer les enfants qui utilisent " |
| 4846 |
"B<PTRACE_TRACEME>." |
| 4847 |
|
| 4848 |
#. type: TP |
| 4849 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4850 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4851 |
#, no-wrap |
| 4852 |
msgid "3 (\"no attach\")" |
| 4853 |
msgstr "B<3> (« pas d'attachement »)" |
| 4854 |
|
| 4855 |
#. type: Plain text |
| 4856 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4857 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4858 |
msgid "" |
| 4859 |
"No process may perform B<PTRACE_MODE_ATTACH> operations or trace children " |
| 4860 |
"that employ B<PTRACE_TRACEME>." |
| 4861 |
msgstr "" |
| 4862 |
"Aucun processus ne peut effectuer d'opération B<PTRACE_MODE_ATTACH> ou " |
| 4863 |
"observer les enfants qui utilisent B<PTRACE_TRACEME>." |
| 4864 |
|
| 4865 |
#. type: Plain text |
| 4866 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4867 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4868 |
msgid "Once this value has been written to the file, it cannot be changed." |
| 4869 |
msgstr "" |
| 4870 |
"Une fois que cette valeur a été écrite dans le fichier, elle ne peut pas " |
| 4871 |
"être modifiée." |
| 4872 |
|
| 4873 |
# |
| 4874 |
#. """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |
| 4875 |
#. type: Plain text |
| 4876 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4877 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4878 |
msgid "" |
| 4879 |
"With respect to values 1 and 2, note that creating a new user namespace " |
| 4880 |
"effectively removes the protection offered by Yama. This is because a " |
| 4881 |
"process in the parent user namespace whose effective UID matches the UID of " |
| 4882 |
"the creator of a child namespace has all capabilities (including " |
| 4883 |
"B<CAP_SYS_PTRACE>) when performing operations within the child user " |
| 4884 |
"namespace (and further-removed descendants of that namespace). " |
| 4885 |
"Consequently, when a process tries to use user namespaces to sandbox itself, " |
| 4886 |
"it inadvertently weakens the protections offered by the Yama LSM." |
| 4887 |
msgstr "" |
| 4888 |
"Par rapport aux valeurs B<1> et B<2>, remarquez que la création d'un nouvel " |
| 4889 |
"espace de noms utilisateur supprime de fait la protection apportée par Yama. " |
| 4890 |
"Cela parce qu'un processus dans l'espace de noms de l'utilisateur parent " |
| 4891 |
"dont l'identifiant utilisateur effectif correspond à celui de l'espace de " |
| 4892 |
"noms enfant a toutes les capacités (y compris B<CAP_SYS_PTRACE>) lorsqu'il " |
| 4893 |
"effectue des opérations dans l'espace de noms utilisateur de l'enfant (et " |
| 4894 |
"les descendants supprimés plus tard de cet espace de noms). Par conséquent, " |
| 4895 |
"quand un processus essaie d'utiliser les espaces de noms utilisateur pour " |
| 4896 |
"s'isoler lui-même, il affaiblit à son insu les protections apportées par le " |
| 4897 |
"Yama LSM." |
| 4898 |
|
| 4899 |
#. type: SS |
| 4900 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4901 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4902 |
#, no-wrap |
| 4903 |
msgid "C library/kernel differences" |
| 4904 |
msgstr "Différences entre bibliothèque C et noyau" |
| 4905 |
|
| 4906 |
#. type: Plain text |
| 4907 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4908 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4909 |
msgid "" |
| 4910 |
"At the system call level, the B<PTRACE_PEEKTEXT>, B<PTRACE_PEEKDATA>, and " |
| 4911 |
"B<PTRACE_PEEKUSER> operations have a different API: they store the result at " |
| 4912 |
"the address specified by the I<data> parameter, and the return value is the " |
| 4913 |
"error flag. The glibc wrapper function provides the API given in " |
| 4914 |
"DESCRIPTION above, with the result being returned via the function return " |
| 4915 |
"value." |
| 4916 |
msgstr "" |
| 4917 |
"L'interface de programmation de l'appel système est différente pour les " |
| 4918 |
"opérations B<PTRACE_PEEKTEXT>, B<PTRACE_PEEKDATA> et B<PTRACE_PEEKUSER> : " |
| 4919 |
"elles stockent le résultat à l’adresse indiquée par le paramètre I<data>, et " |
| 4920 |
"la valeur de retour est l’attribut d’erreur. La fonction glibc encapsulant " |
| 4921 |
"cet appel fournit une interface détaillée dans la section B<DESCRIPTION> ci-" |
| 4922 |
"dessus, et le résultat qu'elle renvoie est le résultat de l'appel système." |
| 4923 |
|
| 4924 |
#. type: SH |
| 4925 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4926 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4927 |
#, no-wrap |
| 4928 |
msgid "BUGS" |
| 4929 |
msgstr "BOGUES" |
| 4930 |
|
| 4931 |
#. type: Plain text |
| 4932 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4933 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4934 |
msgid "" |
| 4935 |
"On hosts with Linux 2.6 kernel headers, B<PTRACE_SETOPTIONS> is declared " |
| 4936 |
"with a different value than the one for Linux 2.4. This leads to " |
| 4937 |
"applications compiled with Linux 2.6 kernel headers failing when run on " |
| 4938 |
"Linux 2.4. This can be worked around by redefining B<PTRACE_SETOPTIONS> to " |
| 4939 |
"B<PTRACE_OLDSETOPTIONS>, if that is defined." |
| 4940 |
msgstr "" |
| 4941 |
"Sur les machines ayant des en-têtes du noyau Linux 2.6, B<PTRACE_SETOPTIONS> " |
| 4942 |
"est déclaré avec une valeur différente de celle de Linux 2.4. De ce fait, " |
| 4943 |
"les applications compilées avec des en-têtes du noyau Linux 2.6 ne peuvent " |
| 4944 |
"pas s'exécuter sous Linux 2.4. Il est possible de contourner cette " |
| 4945 |
"difficulté en redéfinissant B<PTRACE_SETOPTIONS> à B<PTRACE_OLDSETOPTIONS>, " |
| 4946 |
"si cette dernière constante est définie." |
| 4947 |
|
| 4948 |
#. type: Plain text |
| 4949 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4950 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4951 |
msgid "" |
| 4952 |
"Group-stop notifications are sent to the tracer, but not to real parent. " |
| 4953 |
"Last confirmed on 2.6.38.6." |
| 4954 |
msgstr "" |
| 4955 |
"Les notifications d'arrêt-groupe sont envoyées à l'observateur, mais pas au " |
| 4956 |
"vrai parent. C'était encore vrai sur 2.6.38.6." |
| 4957 |
|
| 4958 |
#. #-#-#-#-# archlinux: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 4959 |
#. Note from Denys Vlasenko: |
| 4960 |
#. Here "exits" means any kind of death - _exit, exit_group, |
| 4961 |
#. signal death. Signal death and exit_group cases are trivial, |
| 4962 |
#. though: since signal death and exit_group kill all other threads |
| 4963 |
#. too, "until all other threads exit" thing happens rather soon |
| 4964 |
#. in these cases. Therefore, only _exit presents observably |
| 4965 |
#. puzzling behavior to ptrace users: thread leader _exit's, |
| 4966 |
#. but WIFEXITED isn't reported! We are trying to explain here |
| 4967 |
#. why it is so. |
| 4968 |
#. FIXME . need to test/verify this scenario |
| 4969 |
#. type: Plain text |
| 4970 |
#. #-#-#-#-# debian-trixie: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 4971 |
#. Note from Denys Vlasenko: |
| 4972 |
#. Here "exits" means any kind of death - _exit, exit_group, |
| 4973 |
#. signal death. Signal death and exit_group cases are trivial, |
| 4974 |
#. though: since signal death and exit_group kill all other threads |
| 4975 |
#. too, "until all other threads exit" thing happens rather soon |
| 4976 |
#. in these cases. Therefore, only _exit presents observably |
| 4977 |
#. puzzling behavior to ptrace users: thread leader _exit's, |
| 4978 |
#. but WIFEXITED isn't reported! We are trying to explain here |
| 4979 |
#. why it is so. |
| 4980 |
#. FIXME . need to test/verify this scenario |
| 4981 |
#. type: Plain text |
| 4982 |
#. #-#-#-#-# debian-unstable: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 4983 |
#. Note from Denys Vlasenko: |
| 4984 |
#. Here "exits" means any kind of death - _exit, exit_group, |
| 4985 |
#. signal death. Signal death and exit_group cases are trivial, |
| 4986 |
#. though: since signal death and exit_group kill all other threads |
| 4987 |
#. too, "until all other threads exit" thing happens rather soon |
| 4988 |
#. in these cases. Therefore, only _exit presents observably |
| 4989 |
#. puzzling behavior to ptrace users: thread leader _exit's, |
| 4990 |
#. but WIFEXITED isn't reported! We are trying to explain here |
| 4991 |
#. why it is so. |
| 4992 |
#. FIXME . need to test/verify this scenario |
| 4993 |
#. type: Plain text |
| 4994 |
#. #-#-#-#-# fedora-44: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 4995 |
#. Note from Denys Vlasenko: |
| 4996 |
#. Here "exits" means any kind of death - _exit, exit_group, |
| 4997 |
#. signal death. Signal death and exit_group cases are trivial, |
| 4998 |
#. though: since signal death and exit_group kill all other threads |
| 4999 |
#. too, "until all other threads exit" thing happens rather soon |
| 5000 |
#. in these cases. Therefore, only _exit presents observably |
| 5001 |
#. puzzling behavior to ptrace users: thread leader _exit's, |
| 5002 |
#. but WIFEXITED isn't reported! We are trying to explain here |
| 5003 |
#. why it is so. |
| 5004 |
#. FIXME . need to test/verify this scenario |
| 5005 |
#. type: Plain text |
| 5006 |
#. #-#-#-#-# fedora-rawhide: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 5007 |
#. Note from Denys Vlasenko: |
| 5008 |
#. Here "exits" means any kind of death - _exit, exit_group, |
| 5009 |
#. signal death. Signal death and exit_group cases are trivial, |
| 5010 |
#. though: since signal death and exit_group kill all other threads |
| 5011 |
#. too, "until all other threads exit" thing happens rather soon |
| 5012 |
#. in these cases. Therefore, only _exit presents observably |
| 5013 |
#. puzzling behavior to ptrace users: thread leader _exit's, |
| 5014 |
#. but WIFEXITED isn't reported! We are trying to explain here |
| 5015 |
#. why it is so. |
| 5016 |
#. FIXME . need to test/verify this scenario |
| 5017 |
#. type: Plain text |
| 5018 |
#. #-#-#-#-# mageia-cauldron: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 5019 |
#. Note from Denys Vlasenko: |
| 5020 |
#. Here "exits" means any kind of death - _exit, exit_group, |
| 5021 |
#. signal death. Signal death and exit_group cases are trivial, |
| 5022 |
#. though: since signal death and exit_group kill all other threads |
| 5023 |
#. too, "until all other threads exit" thing happens rather soon |
| 5024 |
#. in these cases. Therefore, only _exit presents observably |
| 5025 |
#. puzzling behavior to ptrace users: thread leader _exit's, |
| 5026 |
#. but WIFEXITED isn't reported! We are trying to explain here |
| 5027 |
#. why it is so. |
| 5028 |
#. FIXME . need to test/verify this scenario |
| 5029 |
#. type: Plain text |
| 5030 |
#. #-#-#-#-# opensuse-leap-16-1: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 5031 |
#. Note from Denys Vlasenko: |
| 5032 |
#. Here "exits" means any kind of death - _exit, exit_group, |
| 5033 |
#. signal death. Signal death and exit_group cases are trivial, |
| 5034 |
#. though: since signal death and exit_group kill all other threads |
| 5035 |
#. too, "until all other threads exit" thing happens rather soon |
| 5036 |
#. in these cases. Therefore, only _exit presents observably |
| 5037 |
#. puzzling behavior to ptrace users: thread leader _exit's, |
| 5038 |
#. but WIFEXITED isn't reported! We are trying to explain here |
| 5039 |
#. why it is so. |
| 5040 |
#. FIXME . need to test/verify this scenario |
| 5041 |
#. type: Plain text |
| 5042 |
#. #-#-#-#-# opensuse-tumbleweed: ptrace.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 5043 |
#. Note from Denys Vlasenko: |
| 5044 |
#. Here "exits" means any kind of death - _exit, exit_group, |
| 5045 |
#. signal death. Signal death and exit_group cases are trivial, |
| 5046 |
#. though: since signal death and exit_group kill all other threads |
| 5047 |
#. too, "until all other threads exit" thing happens rather soon |
| 5048 |
#. in these cases. Therefore, only _exit presents observably |
| 5049 |
#. puzzling behavior to ptrace users: thread leader _exit's, |
| 5050 |
#. but WIFEXITED isn't reported! We are trying to explain here |
| 5051 |
#. why it is so. |
| 5052 |
#. FIXME . need to test/verify this scenario |
| 5053 |
#. type: Plain text |
| 5054 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 5055 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 5056 |
msgid "" |
| 5057 |
"If a thread group leader is traced and exits by calling B<_exit>(2), a " |
| 5058 |
"B<PTRACE_EVENT_EXIT> stop will happen for it (if requested), but the " |
| 5059 |
"subsequent B<WIFEXITED> notification will not be delivered until all other " |
| 5060 |
"threads exit. As explained above, if one of other threads calls " |
| 5061 |
"B<execve>(2), the death of the thread group leader will I<never> be " |
| 5062 |
"reported. If the execed thread is not traced by this tracer, the tracer " |
| 5063 |
"will never know that B<execve>(2) happened. One possible workaround is to " |
| 5064 |
"B<PTRACE_DETACH> the thread group leader instead of restarting it in this " |
| 5065 |
"case. Last confirmed on 2.6.38.6." |
| 5066 |
msgstr "" |
| 5067 |
"Si un leader de groupe de threads est suivi et existe en appelant " |
| 5068 |
"B<_exit>(2), un arrêt B<PTRACE_EVENT_EXIT> lui arrivera (si réclamé), mais " |
| 5069 |
"la notification B<WIFEXITED> suivante ne sera pas distribuée avant la fin de " |
| 5070 |
"tous les autres threads. Comme expliqué précédemment, si un des autres " |
| 5071 |
"threads appelle B<execve>(2), la mort du leader de groupe de threads ne sera " |
| 5072 |
"I<jamais> signalée. Si le thread exécuté n'est pas suivi par cet " |
| 5073 |
"observateur, l'observé ne saura jamais qu'B<execve>(2) est arrivé. Un " |
| 5074 |
"contournement possible est de B<PTRACE_DETACH>er le leader de groupe de " |
| 5075 |
"threads au lieu de le redémarrer dans ce cas. C'était encore vrai sur " |
| 5076 |
"2.6.38.6." |
| 5077 |
|
| 5078 |
#. type: Plain text |
| 5079 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 5080 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 5081 |
msgid "" |
| 5082 |
"A B<SIGKILL> signal may still cause a B<PTRACE_EVENT_EXIT> stop before " |
| 5083 |
"actual signal death. This may be changed in the future; B<SIGKILL> is meant " |
| 5084 |
"to always immediately kill tasks even under ptrace. Last confirmed on Linux " |
| 5085 |
"3.13." |
| 5086 |
msgstr "" |
| 5087 |
"Un signal B<SIGKILL> pourrait encore provoquer un arrêt B<PTRACE_EVENT_EXIT> " |
| 5088 |
"avant une véritable mort du signal. Cela pourrait évoluer à l'avenir. " |
| 5089 |
"B<SIGKILL> est supposé tuer immédiatement les tâches même sous ptrace. " |
| 5090 |
"C'était encore vrai sur Linux 3.13." |
| 5091 |
|
| 5092 |
#. type: Plain text |
| 5093 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 5094 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 5095 |
msgid "" |
| 5096 |
"Some system calls return with B<EINTR> if a signal was sent to a tracee, but " |
| 5097 |
"delivery was suppressed by the tracer. (This is very typical operation: it " |
| 5098 |
"is usually done by debuggers on every attach, in order to not introduce a " |
| 5099 |
"bogus B<SIGSTOP>). As of Linux 3.2.9, the following system calls are " |
| 5100 |
"affected (this list is likely incomplete): B<epoll_wait>(2), and B<read>(2) " |
| 5101 |
"from an B<inotify>(7) file descriptor. The usual symptom of this bug is " |
| 5102 |
"that when you attach to a quiescent process with the command" |
| 5103 |
msgstr "" |
| 5104 |
"Certains appels système renvoient B<EINTR> si un signal a été envoyé à " |
| 5105 |
"l'observé, mais que la distribution a été supprimée par l'observateur (c'est " |
| 5106 |
"une opération tout à fait caractéristique : elle est normalement réalisée " |
| 5107 |
"par les débogueurs sur tous les attachements, afin de ne pas introduire de " |
| 5108 |
"B<SIGSTOP> défectueux). Depuis Linux 3.2.9, les appels système suivants sont " |
| 5109 |
"concernés (cette liste est sans doute incomplète) : B<epoll_wait>(2) et " |
| 5110 |
"B<read>(2) depuis un descripteur de fichier B<inotify>(7). Le symptôme " |
| 5111 |
"classique de ce bogue est qu'en attachant à un processus quiescent avec la " |
| 5112 |
"commande" |
| 5113 |
|
| 5114 |
#. type: Plain text |
| 5115 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 5116 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 5117 |
#, no-wrap |
| 5118 |
msgid "strace -p E<lt>process-IDE<gt>\n" |
| 5119 |
msgstr "strace -p E<lt>process-IDE<gt>\n" |
| 5120 |
|
| 5121 |
#. type: Plain text |
| 5122 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 5123 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 5124 |
msgid "then, instead of the usual and expected one-line output such as" |
| 5125 |
msgstr "alors, au lieu de la ligne de sortie habituelle attendue comme" |
| 5126 |
|
| 5127 |
#. type: Plain text |
| 5128 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 5129 |
#: opensuse-tumbleweed |
| 5130 |
#, fuzzy, no-wrap |
| 5131 |
#| msgid "restart_syscall(E<lt>... resuming interrupted call ...E<gt>_\n" |
| 5132 |
msgid "restart_syscall(E<lt>...\\& resuming interrupted call ...E<gt>_\n" |
| 5133 |
msgstr "restart_syscall(E<lt>... reprise de l'appel interrompu ...E<gt>_\n" |
| 5134 |
|
| 5135 |
#. type: Plain text |
| 5136 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 5137 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 5138 |
#, no-wrap |
| 5139 |
msgid "select(6, [5], NULL, [5], NULL_\n" |
| 5140 |
msgstr "select(6, [5], NULL, [5], NULL_\n" |
| 5141 |
|
| 5142 |
#. type: Plain text |
| 5143 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 5144 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 5145 |
msgid "" |
| 5146 |
"('_' denotes the cursor position), you observe more than one line. For " |
| 5147 |
"example:" |
| 5148 |
msgstr "" |
| 5149 |
"(« _ » indique la position du curseur), plusieurs lignes sont affichées. Par " |
| 5150 |
"exemple :" |
| 5151 |
|
| 5152 |
#. type: Plain text |
| 5153 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 5154 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 5155 |
#, no-wrap |
| 5156 |
msgid "" |
| 5157 |
" clock_gettime(CLOCK_MONOTONIC, {15370, 690928118}) = 0\n" |
| 5158 |
" epoll_wait(4,_\n" |
| 5159 |
msgstr "" |
| 5160 |
" clock_gettime(CLOCK_MONOTONIC, {15370, 690928118}) = 0\n" |
| 5161 |
" epoll_wait(4,_\n" |
| 5162 |
|
| 5163 |
#. type: Plain text |
| 5164 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 5165 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 5166 |
msgid "" |
| 5167 |
"What is not visible here is that the process was blocked in " |
| 5168 |
"B<epoll_wait>(2) before B<strace>(1) has attached to it. Attaching caused " |
| 5169 |
"B<epoll_wait>(2) to return to user space with the error B<EINTR>. In this " |
| 5170 |
"particular case, the program reacted to B<EINTR> by checking the current " |
| 5171 |
"time, and then executing B<epoll_wait>(2) again. (Programs which do not " |
| 5172 |
"expect such \"stray\" B<EINTR> errors may behave in an unintended way upon " |
| 5173 |
"an B<strace>(1) attach.)" |
| 5174 |
msgstr "" |
| 5175 |
"Ce qui n'est pas visible ici est que le processus a été bloqué dans " |
| 5176 |
"B<epoll_wait>(2) avant que B<strace>(1) ne s'y soit attaché. L'attachement a " |
| 5177 |
"forcé B<epoll_wait>(2) à revenir dans l'espace utilisateur avec l'erreur " |
| 5178 |
"B<EINTR>. Dans ce cas particulier, le programme a réagit à B<EINTR> en " |
| 5179 |
"vérifiant l'heure actuelle et en exécutant encore B<epoll_wait>(2) (les " |
| 5180 |
"programmes qui ne s'attendent pas à de telles erreurs B<EINTR> « perdue » " |
| 5181 |
"risquent de se comporter de façon inattendue sur une attache B<strace>(1))." |
| 5182 |
|
| 5183 |
#. type: Plain text |
| 5184 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 5185 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 5186 |
msgid "" |
| 5187 |
"Contrary to the normal rules, the glibc wrapper for B<ptrace>() can set " |
| 5188 |
"I<errno> to zero." |
| 5189 |
msgstr "" |
| 5190 |
"Contrairement aux règles normales, l'enveloppe de la glibc pour B<ptrace>() " |
| 5191 |
"peut positionner I<errno> sur zéro." |
| 5192 |
|
| 5193 |
#. type: SH |
| 5194 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 5195 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 5196 |
#, no-wrap |
| 5197 |
msgid "SEE ALSO" |
| 5198 |
msgstr "VOIR AUSSI" |
| 5199 |
|
| 5200 |
#. type: Plain text |
| 5201 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 5202 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 5203 |
msgid "" |
| 5204 |
"B<gdb>(1), B<ltrace>(1), B<strace>(1), B<clone>(2), B<execve>(2), " |
| 5205 |
"B<fork>(2), B<gettid>(2), B<prctl>(2), B<seccomp>(2), B<sigaction>(2), " |
| 5206 |
"B<tgkill>(2), B<vfork>(2), B<waitpid>(2), B<exec>(3), B<capabilities>(7), " |
| 5207 |
"B<signal>(7)" |
| 5208 |
msgstr "" |
| 5209 |
"B<gdb>(1), B<ltrace>(1), B<strace>(1), B<clone>(2), B<execve>(2), " |
| 5210 |
"B<fork>(2), B<gettid>(2), B<prctl>(2), B<seccomp>(2), B<sigaction>(2), " |
| 5211 |
"B<tgkill>(2), B<vfork>(2), B<waitpid>(2), B<exec>(3), B<capabilities>(7), " |
| 5212 |
"B<signal>(7)" |
| 5213 |
|
| 5214 |
#. type: TH |
| 5215 |
#: debian-trixie |
| 5216 |
#, no-wrap |
| 5217 |
msgid "2024-05-02" |
| 5218 |
msgstr "2 mai 2024" |
| 5219 |
|
| 5220 |
#. type: TH |
| 5221 |
#: debian-trixie |
| 5222 |
#, no-wrap |
| 5223 |
msgid "Linux man-pages 6.9.1" |
| 5224 |
msgstr "Pages du manuel de Linux 6.9.1" |
| 5225 |
|
| 5226 |
#. type: Plain text |
| 5227 |
#: debian-trixie |
| 5228 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 5229 |
msgstr "Bibliothèque C standard (I<libc>, I<-lc>)" |
| 5230 |
|
| 5231 |
#. type: Plain text |
| 5232 |
#: debian-trixie |
| 5233 |
msgid "" |
| 5234 |
"Read the tracee's registers. I<addr> specifies, in an architecture-" |
| 5235 |
"dependent way, the type of registers to be read. B<NT_PRSTATUS> (with " |
| 5236 |
"numerical value 1) usually results in reading of general-purpose " |
| 5237 |
"registers. If the CPU has, for example, floating-point and/or vector " |
| 5238 |
"registers, they can be retrieved by setting I<addr> to the corresponding " |
| 5239 |
"B<NT_foo> constant. I<data> points to a B<struct iovec>, which describes " |
| 5240 |
"the destination buffer's location and length. On return, the kernel " |
| 5241 |
"modifies B<iov.len> to indicate the actual number of bytes returned." |
| 5242 |
msgstr "" |
| 5243 |
"Lire les registres de l'observé. I<addr> indique, de manière dépendante de " |
| 5244 |
"l'architecture, le type de registres à lire. B<NT_PRSTATUS> (avec une valeur " |
| 5245 |
"numérique de 1) a pour conséquence habituelle la lecture de registres " |
| 5246 |
"généraux. Si le processeur a, par exemple, des registres en virgule " |
| 5247 |
"flottante ou en vecteur, ils peuvent être récupéré en configurant I<addr> à " |
| 5248 |
"la constante B<NT_foo> correspondante. I<data> pointe vers une B<struct " |
| 5249 |
"iovec>, qui décrit l'emplacement et la taille du tampon de destination. Le " |
| 5250 |
"noyau modifie B<iov.len> au retour pour indiquer le véritable nombre " |
| 5251 |
"d'octets renvoyés." |
| 5252 |
|
| 5253 |
#. type: Plain text |
| 5254 |
#: debian-trixie fedora-44 fedora-rawhide |
| 5255 |
#, no-wrap |
| 5256 |
msgid "" |
| 5257 |
"struct ptrace_syscall_info {\n" |
| 5258 |
" __u8 op; /* Type of system call stop */\n" |
| 5259 |
" __u32 arch; /* AUDIT_ARCH_* value; see seccomp(2) */\n" |
| 5260 |
" __u64 instruction_pointer; /* CPU instruction pointer */\n" |
| 5261 |
" __u64 stack_pointer; /* CPU stack pointer */\n" |
| 5262 |
" union {\n" |
| 5263 |
" struct { /* op == PTRACE_SYSCALL_INFO_ENTRY */\n" |
| 5264 |
" __u64 nr; /* System call number */\n" |
| 5265 |
" __u64 args[6]; /* System call arguments */\n" |
| 5266 |
" } entry;\n" |
| 5267 |
" struct { /* op == PTRACE_SYSCALL_INFO_EXIT */\n" |
| 5268 |
" __s64 rval; /* System call return value */\n" |
| 5269 |
" __u8 is_error; /* System call error flag;\n" |
| 5270 |
" Boolean: does rval contain\n" |
| 5271 |
" an error value (-ERRCODE) or\n" |
| 5272 |
" a nonerror return value? */\n" |
| 5273 |
" } exit;\n" |
| 5274 |
" struct { /* op == PTRACE_SYSCALL_INFO_SECCOMP */\n" |
| 5275 |
" __u64 nr; /* System call number */\n" |
| 5276 |
" __u64 args[6]; /* System call arguments */\n" |
| 5277 |
" __u32 ret_data; /* SECCOMP_RET_DATA portion\n" |
| 5278 |
" of SECCOMP_RET_TRACE\n" |
| 5279 |
" return value */\n" |
| 5280 |
" } seccomp;\n" |
| 5281 |
" };\n" |
| 5282 |
"};\n" |
| 5283 |
msgstr "" |
| 5284 |
"struct ptrace_syscall_info {\n" |
| 5285 |
" __u8 op; /* Type d'appel système d'arrêt */\n" |
| 5286 |
" __u32 arch; /* Valeur AUDIT_ARCH_* ; voir seccomp(2) */\n" |
| 5287 |
" __u64 instruction_pointer; /* Pointeur vers l'instruction du processeur */\n" |
| 5288 |
" __u64 stack_pointer; /* Pointeur vers la pile du processeur */\n" |
| 5289 |
" union {\n" |
| 5290 |
" struct { /* op == PTRACE_SYSCALL_INFO_ENTRY */\n" |
| 5291 |
" __u64 nr; /* Numéro de l'appel système */\n" |
| 5292 |
" __u64 args[6]; /* Paramètres de l'appel système */\n" |
| 5293 |
" } entry;\n" |
| 5294 |
" struct { /* op == PTRACE_SYSCALL_INFO_EXIT */\n" |
| 5295 |
" __s64 rval; /* Code de retour de l'appel système */\n" |
| 5296 |
" __u8 is_error; /* Attribut d'erreur de l'appel système ;\n" |
| 5297 |
" Booléen : rval contient-il\n" |
| 5298 |
" un code d'erreur (-ERRCODE) ou\n" |
| 5299 |
" un code de retour de non erreur ? */\n" |
| 5300 |
" } exit;\n" |
| 5301 |
" struct { /* op == PTRACE_SYSCALL_INFO_SECCOMP */\n" |
| 5302 |
" __u64 nr; /* Numéro de l'appel système */\n" |
| 5303 |
" __u64 args[6]; /* Paramètres de l'appel système */\n" |
| 5304 |
" __u32 ret_data; /* Partie SECCOMP_RET_DATA de la valeur\n" |
| 5305 |
" de retour de SECCOMP_RET_TRACE */\n" |
| 5306 |
" } seccomp;\n" |
| 5307 |
" };\n" |
| 5308 |
"};\n" |
| 5309 |
|
| 5310 |
#. type: Plain text |
| 5311 |
#: debian-trixie fedora-44 fedora-rawhide |
| 5312 |
#, no-wrap |
| 5313 |
msgid "" |
| 5314 |
"*** we get syscall-enter-stop in thread 1: **\n" |
| 5315 |
"PID1 execve(\"/bin/foo\", \"foo\" E<lt>unfinished ...E<gt>\n" |
| 5316 |
"*** we issue PTRACE_SYSCALL for thread 1 **\n" |
| 5317 |
"*** we get syscall-enter-stop in thread 2: **\n" |
| 5318 |
"PID2 execve(\"/bin/bar\", \"bar\" E<lt>unfinished ...E<gt>\n" |
| 5319 |
"*** we issue PTRACE_SYSCALL for thread 2 **\n" |
| 5320 |
"*** we get PTRACE_EVENT_EXEC for PID0, we issue PTRACE_SYSCALL **\n" |
| 5321 |
"*** we get syscall-exit-stop for PID0: **\n" |
| 5322 |
"PID0 E<lt>... execve resumedE<gt> ) = 0\n" |
| 5323 |
msgstr "" |
| 5324 |
"*** arrêt-entrée-appel-système obtenu dans le thread 1 : **\n" |
| 5325 |
"PID1 execve(\"/bin/truc\", \"truc\" E<lt>pas terminé…E<gt>\n" |
| 5326 |
"*** PTRACE_SYSCALL émis pour le thread 1 **\n" |
| 5327 |
"*** arrêt-entrée-appel-système obtenu dans le thread 2 : **\n" |
| 5328 |
"PID2 execve(\"/bin/bidule\", \"bidule\" E<lt>pas terminé…E<gt>\n" |
| 5329 |
"*** PTRACE_SYSCALL émis pour le thread 2 **\n" |
| 5330 |
"*** PTRACE_EVENT_EXEC obtenu pour PID0, PTRACE_SYSCALL émis **\n" |
| 5331 |
"*** arrêt-sortie-appel-système obtenu pour PID0 : **\n" |
| 5332 |
"PID0 E<lt>… retour d'execveE<gt> ) = 0\n" |
| 5333 |
|
| 5334 |
#. commit 90bb766440f2147486a2acc3e793d7b8348b0c22 |
| 5335 |
#. type: Plain text |
| 5336 |
#: debian-trixie fedora-44 fedora-rawhide |
| 5337 |
msgid "" |
| 5338 |
"A target process can employ the B<prctl>(2) B<PR_SET_PTRACER> operation to " |
| 5339 |
"declare an additional PID that is allowed to perform B<PTRACE_MODE_ATTACH> " |
| 5340 |
"operations on the target. See the kernel source file I<Documentation/admin-" |
| 5341 |
"guide/LSM/Yama.rst> (or I<Documentation/security/Yama.txt> before Linux " |
| 5342 |
"4.13) for further details." |
| 5343 |
msgstr "" |
| 5344 |
"Un processus cible peut utiliser l'opération B<PR_SET_PTRACER> de " |
| 5345 |
"B<prctl>(2) pour déclarer un PID supplémentaire autorisé à effectuer des " |
| 5346 |
"opérations B<PTRACE_MODE_ATTACH> sur la cible. Voir le fichier " |
| 5347 |
"I<Documentation/admin-guide/LSM/Yama.rst> des sources du noyau (ou " |
| 5348 |
"I<Documentation/security/Yama.txt> avant Linux 4.13) pour plus de détails." |
| 5349 |
|
| 5350 |
#. type: Plain text |
| 5351 |
#: debian-trixie fedora-44 fedora-rawhide |
| 5352 |
#, no-wrap |
| 5353 |
msgid "restart_syscall(E<lt>... resuming interrupted call ...E<gt>_\n" |
| 5354 |
msgstr "restart_syscall(E<lt>... reprise de l'appel interrompu ...E<gt>_\n" |
| 5355 |
|
| 5356 |
#. type: TH |
| 5357 |
#: fedora-44 fedora-rawhide |
| 5358 |
#, no-wrap |
| 5359 |
msgid "2024-11-17" |
| 5360 |
msgstr "17 novembre 2024" |
| 5361 |
|
| 5362 |
#. type: TH |
| 5363 |
#: fedora-44 fedora-rawhide |
| 5364 |
#, no-wrap |
| 5365 |
msgid "Linux man-pages 6.13" |
| 5366 |
msgstr "Pages du manuel de Linux 6.13" |
| 5367 |
|
| 5368 |
#. type: TH |
| 5369 |
#: mageia-cauldron |
| 5370 |
#, no-wrap |
| 5371 |
msgid "Linux man-pages 6.17" |
| 5372 |
msgstr "Pages du manuel de Linux 6.17" |
| 5373 |
|
| 5374 |
#. type: TH |
| 5375 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 5376 |
#, no-wrap |
| 5377 |
msgid "Linux man-pages (unreleased)" |
| 5378 |
msgstr "Pages du manuel de Linux (non publiées)" |