| 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. |
| 16 |
# Denis Barbier <[email protected]>, 2006, 2010. |
| 17 |
# David Prévot <[email protected]>, 2010, 2012-2014. |
| 18 |
# Lucien Gentis <[email protected]>, 2023. |
| 19 |
msgid "" |
| 20 |
msgstr "" |
| 21 |
"Project-Id-Version: manpages-l10n 4.21.0\n" |
| 22 |
"POT-Creation-Date: 2026-06-05 06:45+0200\n" |
| 23 |
"PO-Revision-Date: 2024-03-12 01:27+0100\n" |
| 24 |
"Last-Translator: Lucien Gentis <[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: VIM 8.2 with GTK3 GUI\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 "system" |
| 38 |
msgstr "system" |
| 39 |
|
| 40 |
#. type: TH |
| 41 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 42 |
#: opensuse-tumbleweed |
| 43 |
#, no-wrap |
| 44 |
msgid "2026-02-08" |
| 45 |
msgstr "8 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 "system - execute a shell command" |
| 64 |
msgstr "system - Exécuter une commande d'interpréteur" |
| 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>stdlib.hE<gt>>\n" |
| 91 |
msgstr "B<#include E<lt>stdlib.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 "B<int system(const char *>I<command>B<);>\n" |
| 98 |
msgstr "B<int system(const char *>I<commande>B<);>\n" |
| 99 |
|
| 100 |
#. type: SH |
| 101 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 102 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 103 |
#, no-wrap |
| 104 |
msgid "DESCRIPTION" |
| 105 |
msgstr "DESCRIPTION" |
| 106 |
|
| 107 |
#. type: Plain text |
| 108 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 109 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 110 |
msgid "" |
| 111 |
"The B<system>() library function behaves as if it used B<fork>(2) to " |
| 112 |
"create a child process that executed the shell command specified in " |
| 113 |
"I<command> using B<execl>(3) as follows:" |
| 114 |
msgstr "" |
| 115 |
"La fonction de bibliothèque B<system>() se comporte comme si elle utilisait " |
| 116 |
"B<fork>(2) pour créer un processus enfant qui exécuterait la commande " |
| 117 |
"d’interpréteur indiquée dans I<commande> en utilisant B<execl>(3) comme " |
| 118 |
"ceci :" |
| 119 |
|
| 120 |
#. type: Plain text |
| 121 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 122 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 123 |
#, no-wrap |
| 124 |
msgid "execl(\"/bin/sh\", \"sh\", \"-c\", command, (char *) NULL);\n" |
| 125 |
msgstr "execl(\"/bin/sh\", \"sh\", \"-c\", commande, (char *) NULL);\n" |
| 126 |
|
| 127 |
#. type: Plain text |
| 128 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 129 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 130 |
msgid "B<system>() returns after the command has been completed." |
| 131 |
msgstr "B<system>() se termine après l’exécution de la commande." |
| 132 |
|
| 133 |
#. type: Plain text |
| 134 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 135 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 136 |
msgid "" |
| 137 |
"During execution of the command, B<SIGCHLD> will be blocked, and B<SIGINT> " |
| 138 |
"and B<SIGQUIT> will be ignored, in the process that calls B<system>(). " |
| 139 |
"(These signals will be handled according to their defaults inside the child " |
| 140 |
"process that executes I<command>.)" |
| 141 |
msgstr "" |
| 142 |
"Lors de l’exécution de la commande, B<SIGCHLD> sera bloqué, et B<SIGINT> et " |
| 143 |
"B<SIGQUIT> seront ignorés dans le processus qui appelle B<system>() (ces " |
| 144 |
"signaux seront traités conformément à leurs valeurs par défaut dans le " |
| 145 |
"processus enfant qui exécute I<commande>)." |
| 146 |
|
| 147 |
#. type: Plain text |
| 148 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 149 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 150 |
msgid "" |
| 151 |
"If I<command> is NULL, then B<system>() returns a status indicating whether " |
| 152 |
"a shell is available on the system." |
| 153 |
msgstr "" |
| 154 |
"Si la valeur de I<commande> est NULL, B<system>() renvoie un état indiquant " |
| 155 |
"si un interpréteur de commande est disponible sur le système." |
| 156 |
|
| 157 |
#. type: SH |
| 158 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 159 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 160 |
#, no-wrap |
| 161 |
msgid "RETURN VALUE" |
| 162 |
msgstr "VALEUR RENVOYÉE" |
| 163 |
|
| 164 |
#. type: Plain text |
| 165 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 166 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 167 |
msgid "The return value of B<system>() is one of the following:" |
| 168 |
msgstr "La valeur renvoyée par B<system>() est une des suivantes :" |
| 169 |
|
| 170 |
#. type: IP |
| 171 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 172 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 173 |
#, no-wrap |
| 174 |
msgid "\\[bu]" |
| 175 |
msgstr "-" |
| 176 |
|
| 177 |
#. type: Plain text |
| 178 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 179 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 180 |
msgid "" |
| 181 |
"If I<command> is NULL, then a nonzero value if a shell is available, or 0 if " |
| 182 |
"no shell is available." |
| 183 |
msgstr "" |
| 184 |
"Si I<commande> est NULL, alors une valeur différente de zéro est renvoyée si " |
| 185 |
"un interpréteur de commandes est accessible, et B<0> sinon." |
| 186 |
|
| 187 |
#. type: Plain text |
| 188 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 189 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 190 |
msgid "" |
| 191 |
"If a child process could not be created, or its status could not be " |
| 192 |
"retrieved, the return value is -1 and I<errno> is set to indicate the error." |
| 193 |
msgstr "" |
| 194 |
"Si un processus enfant n’a pas pu être créé ou si son état n’a pas pu être " |
| 195 |
"récupéré, la valeur renvoyée est B<-1> et I<errno> est définie pour indiquer " |
| 196 |
"l'erreur." |
| 197 |
|
| 198 |
#. type: Plain text |
| 199 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 200 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 201 |
msgid "" |
| 202 |
"If a shell could not be executed in the child process, then the return value " |
| 203 |
"is as though the child shell terminated by calling B<_exit>(2) with the " |
| 204 |
"status 127." |
| 205 |
msgstr "" |
| 206 |
"Si un interpréteur n’a pas pu s’exécuter dans le processus enfant, alors la " |
| 207 |
"valeur renvoyée est comme si l’interpréteur enfant s’était terminé en " |
| 208 |
"appelant B<_exit>(2) avec l’état 127." |
| 209 |
|
| 210 |
#. type: Plain text |
| 211 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 212 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 213 |
msgid "" |
| 214 |
"If all system calls succeed, then the return value is the termination status " |
| 215 |
"of the child shell used to execute I<command>. (The termination status of a " |
| 216 |
"shell is the termination status of the last command it executes.)" |
| 217 |
msgstr "" |
| 218 |
"Si tous les appels système réussissent, alors la valeur renvoyée est l’état " |
| 219 |
"de retour de l’interpréteur enfant utilisé pour exécuter I<commande> (l’état " |
| 220 |
"final d’un interpréteur est l’état final de la dernière commande qu’il " |
| 221 |
"exécute)." |
| 222 |
|
| 223 |
#. type: Plain text |
| 224 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 225 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 226 |
msgid "" |
| 227 |
"In the last two cases, the return value is a \"wait status\" that can be " |
| 228 |
"examined using the macros described in B<waitpid>(2). (i.e., " |
| 229 |
"B<WIFEXITED>(), B<WEXITSTATUS>(), and so on)." |
| 230 |
msgstr "" |
| 231 |
"Dans les deux derniers cas, la valeur renvoyée est un « état d’attente » qui " |
| 232 |
"peut être examiné en utilisant les macros décrites dans B<waitpid>(2) (c’est-" |
| 233 |
"à-dire B<WIFEXITED>(), B<WEXITSTATUS>(), etc.)." |
| 234 |
|
| 235 |
#. type: Plain text |
| 236 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 237 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 238 |
msgid "B<system>() does not affect the wait status of any other children." |
| 239 |
msgstr "" |
| 240 |
"B<system>() n'affecte pas l'état d'attente des autres processus enfants." |
| 241 |
|
| 242 |
#. type: SH |
| 243 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 244 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 245 |
#, no-wrap |
| 246 |
msgid "ERRORS" |
| 247 |
msgstr "ERREURS" |
| 248 |
|
| 249 |
#. type: Plain text |
| 250 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 251 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 252 |
msgid "B<system>() can fail with any of the same errors as B<fork>(2)." |
| 253 |
msgstr "" |
| 254 |
"B<system>() peut échouer avec une des erreurs décrites pour B<fork>(2)." |
| 255 |
|
| 256 |
#. type: SH |
| 257 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 258 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 259 |
#, no-wrap |
| 260 |
msgid "ATTRIBUTES" |
| 261 |
msgstr "ATTRIBUTS" |
| 262 |
|
| 263 |
#. type: Plain text |
| 264 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 265 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 266 |
msgid "" |
| 267 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 268 |
msgstr "" |
| 269 |
"Pour une explication des termes utilisés dans cette section, consulter " |
| 270 |
"B<attributes>(7)." |
| 271 |
|
| 272 |
#. type: tbl table |
| 273 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 274 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 275 |
#, no-wrap |
| 276 |
msgid "Interface" |
| 277 |
msgstr "Interface" |
| 278 |
|
| 279 |
#. type: tbl table |
| 280 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 281 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 282 |
#, no-wrap |
| 283 |
msgid "Attribute" |
| 284 |
msgstr "Attribut" |
| 285 |
|
| 286 |
#. type: tbl table |
| 287 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 288 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 289 |
#, no-wrap |
| 290 |
msgid "Value" |
| 291 |
msgstr "Valeur" |
| 292 |
|
| 293 |
#. type: tbl table |
| 294 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 295 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 296 |
#, no-wrap |
| 297 |
msgid ".na\n" |
| 298 |
msgstr ".na\n" |
| 299 |
|
| 300 |
#. type: tbl table |
| 301 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 302 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 303 |
#, no-wrap |
| 304 |
msgid ".nh\n" |
| 305 |
msgstr ".nh\n" |
| 306 |
|
| 307 |
#. type: tbl table |
| 308 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 309 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 310 |
#, no-wrap |
| 311 |
msgid "B<system>()" |
| 312 |
msgstr "B<system>()" |
| 313 |
|
| 314 |
#. type: tbl table |
| 315 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 316 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 317 |
#, no-wrap |
| 318 |
msgid "Thread safety" |
| 319 |
msgstr "Sécurité des threads" |
| 320 |
|
| 321 |
#. type: tbl table |
| 322 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 323 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 324 |
#, no-wrap |
| 325 |
msgid "MT-Safe" |
| 326 |
msgstr "MT-Safe" |
| 327 |
|
| 328 |
#. type: SH |
| 329 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 330 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 331 |
#, no-wrap |
| 332 |
msgid "STANDARDS" |
| 333 |
msgstr "NORMES" |
| 334 |
|
| 335 |
#. type: Plain text |
| 336 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 337 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 338 |
msgid "C11, POSIX.1-2008." |
| 339 |
msgstr "C11, POSIX.1-2008." |
| 340 |
|
| 341 |
#. type: SH |
| 342 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 343 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 344 |
#, no-wrap |
| 345 |
msgid "HISTORY" |
| 346 |
msgstr "HISTORIQUE" |
| 347 |
|
| 348 |
#. type: Plain text |
| 349 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 350 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 351 |
msgid "POSIX.1-2001, C89." |
| 352 |
msgstr "POSIX.1-2001, C89." |
| 353 |
|
| 354 |
#. type: SH |
| 355 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 356 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 357 |
#, no-wrap |
| 358 |
msgid "NOTES" |
| 359 |
msgstr "NOTES" |
| 360 |
|
| 361 |
#. type: Plain text |
| 362 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 363 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 364 |
msgid "" |
| 365 |
"B<system>() provides simplicity and convenience: it handles all of the " |
| 366 |
"details of calling B<fork>(2), B<execl>(3), and B<waitpid>(2), as well as " |
| 367 |
"the necessary manipulations of signals; in addition, the shell performs the " |
| 368 |
"usual substitutions and I/O redirections for I<command>. The main cost of " |
| 369 |
"B<system>() is inefficiency: additional system calls are required to create " |
| 370 |
"the process that runs the shell and to execute the shell." |
| 371 |
msgstr "" |
| 372 |
"B<system>() fournit simplicité et commodité : elle gère tous les détails des " |
| 373 |
"appels de B<fork>(2), B<execl>(3) et B<waitpid>(2), ainsi que les " |
| 374 |
"manipulations nécessaires des signaux ; de plus, l’interpréteur de commande " |
| 375 |
"réalise les substitutions habituelles et les redirections des entrées et " |
| 376 |
"sorties de I<commande>. L'inconvénient principal de B<system>() est son " |
| 377 |
"manque d'efficacité : des appels système supplémentaires sont nécessaires " |
| 378 |
"pour créer le processus qui exécute l’interpréteur de commande et pour " |
| 379 |
"exécuter l’interpréteur de commande." |
| 380 |
|
| 381 |
#. type: Plain text |
| 382 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 383 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 384 |
msgid "" |
| 385 |
"If the B<_XOPEN_SOURCE> feature test macro is defined (before including " |
| 386 |
"I<any> header files), then the macros described in B<waitpid>(2) " |
| 387 |
"(B<WEXITSTATUS>(), etc.) are made available when including " |
| 388 |
"I<E<lt>stdlib.hE<gt>>." |
| 389 |
msgstr "" |
| 390 |
"Si la macro de test de fonctionnalité B<_XOPEN_SOURCE> est définie (avant " |
| 391 |
"d'inclure I<tout> fichier d'en\\(hytête), les macros décrites dans " |
| 392 |
"B<waitpid>(2) (B<WEXITSTATUS>(), etc.) sont disponibles en incluant " |
| 393 |
"I<E<lt>stdlib.hE<gt>>." |
| 394 |
|
| 395 |
#. type: Plain text |
| 396 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 397 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 398 |
msgid "" |
| 399 |
"As mentioned, B<system>() ignores B<SIGINT> and B<SIGQUIT>. This may make " |
| 400 |
"programs that call it from a loop uninterruptible, unless they take care " |
| 401 |
"themselves to check the exit status of the child. For example:" |
| 402 |
msgstr "" |
| 403 |
"Comme mentionné plus haut, B<system>() ignore B<SIGINT> et B<SIGQUIT>. Un " |
| 404 |
"programme qui l'appelle depuis une boucle risque de ne pas pouvoir être " |
| 405 |
"interrompu, à moins qu'il ne vérifie le code de retour de l'enfant. Par " |
| 406 |
"exemple :" |
| 407 |
|
| 408 |
#. type: Plain text |
| 409 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 410 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 411 |
#, no-wrap |
| 412 |
msgid "" |
| 413 |
"while (something) {\n" |
| 414 |
" int ret = system(\"foo\");\n" |
| 415 |
"\\&\n" |
| 416 |
" if (WIFSIGNALED(ret) &&\n" |
| 417 |
" (WTERMSIG(ret) == SIGINT || WTERMSIG(ret) == SIGQUIT))\n" |
| 418 |
" break;\n" |
| 419 |
"}\n" |
| 420 |
msgstr "" |
| 421 |
"while (quelque_chose) {\n" |
| 422 |
" int ret = system(\"toto\");\n" |
| 423 |
"\\&\n" |
| 424 |
" if (WIFSIGNALED(ret) &&\n" |
| 425 |
" (WTERMSIG(ret) == SIGINT || WTERMSIG(ret) == SIGQUIT))\n" |
| 426 |
" break;\n" |
| 427 |
"}\n" |
| 428 |
|
| 429 |
#. type: Plain text |
| 430 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 431 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 432 |
msgid "" |
| 433 |
"According to POSIX.1, it is unspecified whether handlers registered using " |
| 434 |
"B<pthread_atfork>(3) are called during the execution of B<system>(). In " |
| 435 |
"the glibc implementation, such handlers are not called." |
| 436 |
msgstr "" |
| 437 |
"Selon POSIX.1, il n'est pas précisé si les gestionnaires enregistrés à " |
| 438 |
"l'aide de B<pthread_atfork>(3) sont appelés au cours de l'exécution de " |
| 439 |
"B<system>(). Dans l'implémentation de la glibc, de tels gestionnaires ne " |
| 440 |
"sont pas appelés." |
| 441 |
|
| 442 |
#. type: Plain text |
| 443 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 444 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 445 |
msgid "" |
| 446 |
"Before glibc 2.1.3, the check for the availability of I</bin/sh> was not " |
| 447 |
"actually performed if I<command> was NULL; instead it was always assumed to " |
| 448 |
"be available, and B<system>() always returned 1 in this case. Since glibc " |
| 449 |
"2.1.3, this check is performed because, even though POSIX.1-2001 requires a " |
| 450 |
"conforming implementation to provide a shell, that shell may not be " |
| 451 |
"available or executable if the calling program has previously called " |
| 452 |
"B<chroot>(2) (which is not specified by POSIX.1-2001)." |
| 453 |
msgstr "" |
| 454 |
"Avant la glibc 2.1.3, la vérification de la disponibilité de I</bin/sh> " |
| 455 |
"n'était pas réellement exécutée lorsque I<commande> était NULL. Il était " |
| 456 |
"supposé être toujours disponible, et B<system>() renvoyait toujours B<1> " |
| 457 |
"dans ce cas. Depuis la glibc 2.1.3, cette vérification est effectuée, car, " |
| 458 |
"même si POSIX.1-2001 impose une implémentation conforme pour fournir un " |
| 459 |
"interpréteur, cet interpréteur peut ne pas être disponible ou exécutable si " |
| 460 |
"le programme appelant a auparavant appelé B<chroot>(2) (ce qui n'est pas " |
| 461 |
"spécifié dans POSIX.1-2001)." |
| 462 |
|
| 463 |
#. type: Plain text |
| 464 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 465 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 466 |
msgid "" |
| 467 |
"It is possible for the shell command to terminate with a status of 127, " |
| 468 |
"which yields a B<system>() return value that is indistinguishable from the " |
| 469 |
"case where a shell could not be executed in the child process." |
| 470 |
msgstr "" |
| 471 |
"La commande d’interpréteur peut se terminer avec un état de 127, ce qui " |
| 472 |
"provoque une valeur renvoyée de B<system>() non distinguable du cas où un " |
| 473 |
"interpréteur n’a pas pu être exécuté dans le processus enfant." |
| 474 |
|
| 475 |
#. type: SS |
| 476 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 477 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 478 |
#, no-wrap |
| 479 |
msgid "Caveats" |
| 480 |
msgstr "Avertissements" |
| 481 |
|
| 482 |
#. type: Plain text |
| 483 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 484 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 485 |
msgid "" |
| 486 |
"Do not use B<system>() from a privileged program (a set-user-ID or set-" |
| 487 |
"group-ID program, or a program with capabilities) because strange values " |
| 488 |
"for some environment variables might be used to subvert system integrity. " |
| 489 |
"For example, B<PATH> could be manipulated so that an arbitrary program is " |
| 490 |
"executed with privilege. Use the B<exec>(3) family of functions instead, " |
| 491 |
"but not B<execlp>(3) or B<execvp>(3) (which also use the B<PATH> " |
| 492 |
"environment variable to search for an executable)." |
| 493 |
msgstr "" |
| 494 |
"N'utilisez pas B<system>() à partir d'un programme avec privilèges (un " |
| 495 |
"programme set-user-ID, set-group-ID ou possédant des capacités), car des " |
| 496 |
"valeurs particulières de certaines variables d'environnement pourraient être " |
| 497 |
"utilisées pour corrompre l'intégrité du système. Par exemple, B<PATH> " |
| 498 |
"pourrait être redéfinie de façon à exécuter un programme arbitraire avec " |
| 499 |
"privilèges. Utilisez plutôt la famille de fonctions B<exec>(3), mais pas " |
| 500 |
"B<execlp>(3) ou B<execvp>(3) (qui utilisent aussi la variable " |
| 501 |
"d'environnement B<PATH> pour rechercher un exécutable)." |
| 502 |
|
| 503 |
#. type: Plain text |
| 504 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 505 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 506 |
msgid "" |
| 507 |
"B<system>() will not, in fact, work properly from programs with set-user-ID " |
| 508 |
"or set-group-ID privileges on systems on which I</bin/sh> is bash version 2: " |
| 509 |
"as a security measure, bash 2 drops privileges on startup. (Debian uses a " |
| 510 |
"different shell, B<dash>(1), which does not do this when invoked as B<sh>.)" |
| 511 |
msgstr "" |
| 512 |
"En fait, B<system>() ne fonctionnera pas correctement à partir de programmes " |
| 513 |
"ayant des privilèges set-user-ID ou set-group-ID sur les systèmes où I</bin/" |
| 514 |
"sh> redirige vers bash version 2, car ce dernier annule les privilèges au " |
| 515 |
"démarrage par mesure de sécurité (Debian utilise un interpréteur de commande " |
| 516 |
"différent, B<dash>(1), qui n'effectue pas cette annulation de privilèges si " |
| 517 |
"on l'invoque à l'aide du lien symbolique B<sh>)." |
| 518 |
|
| 519 |
#. type: Plain text |
| 520 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 521 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 522 |
msgid "" |
| 523 |
"Any user input that is employed as part of I<command> should be I<carefully> " |
| 524 |
"sanitized, to ensure that unexpected shell commands or command options are " |
| 525 |
"not executed. Such risks are especially grave when using B<system>() from " |
| 526 |
"a privileged program." |
| 527 |
msgstr "" |
| 528 |
"Toute entrée utilisateur qui constitue une partie de I<commande> doit être " |
| 529 |
"nettoyée I<avec soin> afin de s'assurer que des commandes de l'interpréteur " |
| 530 |
"ou des options de commandes inattendues ne seront pas exécutées. Les risques " |
| 531 |
"de ce type sont particulièrement graves lorsqu'on utilise B<system>() à " |
| 532 |
"partir d'un programme avec privilèges." |
| 533 |
|
| 534 |
#. type: SH |
| 535 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 536 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 537 |
#, no-wrap |
| 538 |
msgid "BUGS" |
| 539 |
msgstr "BOGUES" |
| 540 |
|
| 541 |
#. [BUG 211029](https://bugzilla.kernel.org/show_bug.cgi?id=211029) |
| 542 |
#. [glibc bug](https://sourceware.org/bugzilla/show_bug.cgi?id=27143) |
| 543 |
#. [POSIX bug](https://www.austingroupbugs.net/view.php?id=1440) |
| 544 |
#. type: Plain text |
| 545 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 546 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 547 |
msgid "" |
| 548 |
"If the command name starts with a hyphen, B<sh>(1) interprets the command " |
| 549 |
"name as an option, and the behavior is undefined. (See the B<-c> option to " |
| 550 |
"B<sh>(1).) To work around this problem, prepend the command with a space as " |
| 551 |
"in the following call:" |
| 552 |
msgstr "" |
| 553 |
"Si le nom de la commande commence par un trait d'union, B<sh>(1) interprète " |
| 554 |
"ce nom comme une option et le résultat est indéterminé (voir l'option B<-c> " |
| 555 |
"de B<sh>(1)). Pour contourner ce problème, préfixez le nom de la commande " |
| 556 |
"avec une espace comme dans l'appel suivant :" |
| 557 |
|
| 558 |
#. type: Plain text |
| 559 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 560 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 561 |
#, no-wrap |
| 562 |
msgid " system(\" -unfortunate-command-name\");\n" |
| 563 |
msgstr " system(\" -nom-de-commande-problématique\");\n" |
| 564 |
|
| 565 |
#. type: SH |
| 566 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 567 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 568 |
#, no-wrap |
| 569 |
msgid "SEE ALSO" |
| 570 |
msgstr "VOIR AUSSI" |
| 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 |
msgid "" |
| 576 |
"B<sh>(1), B<execve>(2), B<fork>(2), B<sigaction>(2), B<sigprocmask>(2), " |
| 577 |
"B<wait>(2), B<exec>(3), B<signal>(7)" |
| 578 |
msgstr "" |
| 579 |
"B<sh>(1), B<execve>(2), B<fork>(2), B<sigaction>(2), B<sigprocmask>(2), " |
| 580 |
"B<wait>(2), B<exec>(3), B<signal>(7)" |
| 581 |
|
| 582 |
#. type: TH |
| 583 |
#: debian-trixie |
| 584 |
#, no-wrap |
| 585 |
msgid "2024-05-02" |
| 586 |
msgstr "2 mai 2024" |
| 587 |
|
| 588 |
#. type: TH |
| 589 |
#: debian-trixie |
| 590 |
#, no-wrap |
| 591 |
msgid "Linux man-pages 6.9.1" |
| 592 |
msgstr "Pages du manuel de Linux 6.9.1" |
| 593 |
|
| 594 |
#. type: Plain text |
| 595 |
#: debian-trixie |
| 596 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 597 |
msgstr "Bibliothèque C standard (I<libc>, I<-lc>)" |
| 598 |
|
| 599 |
#. type: TH |
| 600 |
#: fedora-44 fedora-rawhide |
| 601 |
#, no-wrap |
| 602 |
msgid "2024-07-23" |
| 603 |
msgstr "23 juillet 2024" |
| 604 |
|
| 605 |
#. type: TH |
| 606 |
#: fedora-44 fedora-rawhide |
| 607 |
#, no-wrap |
| 608 |
msgid "Linux man-pages 6.13" |
| 609 |
msgstr "Pages du manuel de Linux 6.13" |
| 610 |
|
| 611 |
#. type: TH |
| 612 |
#: mageia-cauldron |
| 613 |
#, no-wrap |
| 614 |
msgid "Linux man-pages 6.17" |
| 615 |
msgstr "Pages du manuel de Linux 6.17" |
| 616 |
|
| 617 |
#. type: TH |
| 618 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 619 |
#, no-wrap |
| 620 |
msgid "Linux man-pages (unreleased)" |
| 621 |
msgstr "Pages du manuel de Linux (non publiées)" |