Debian Codegraph @

po/fr/man2/bpf.2.po

raw
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, 2013, 2014.
18 # Cédric Boutillier <[email protected]>, 2011, 2012, 2013.
19 # Frédéric Hantrais <[email protected]>, 2013, 2014.
20 # Jean-Philippe MENGUAL <[email protected]>, 2020-2023.
21 msgid ""
22 msgstr ""
23 "Project-Id-Version: manpages-l10n 4.24.0\n"
24 "POT-Creation-Date: 2026-06-05 06:19+0200\n"
25 "PO-Revision-Date: 2024-11-05 12:11+0100\n"
26 "Last-Translator: Jean-Philippe MENGUAL <[email protected]>\n"
27 "Language-Team: French <[email protected]>\n"
28 "Language: fr\n"
29 "MIME-Version: 1.0\n"
30 "Content-Type: text/plain; charset=UTF-8\n"
31 "Content-Transfer-Encoding: 8bit\n"
32 "Plural-Forms: nplurals=2; plural=n > 1;\n"
33 "X-Generator: Lokalize 22.12.3\n"
34
35 #. type: TH
36 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
37 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
38 #, no-wrap
39 msgid "bpf"
40 msgstr "bpf"
41
42 #. type: TH
43 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
44 #: opensuse-tumbleweed
45 #, no-wrap
46 msgid "2026-02-10"
47 msgstr "10 février 2026"
48
49 #. type: TH
50 #: archlinux debian-unstable
51 #, no-wrap
52 msgid "Linux man-pages 6.18"
53 msgstr "Pages du manuel de Linux 6.18"
54
55 #. type: SH
56 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
57 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
58 #, no-wrap
59 msgid "NAME"
60 msgstr "NOM"
61
62 #. type: Plain text
63 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
64 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
65 msgid "bpf - perform a command on an extended BPF map or program"
66 msgstr "bpf - Lancer une commande sur une mappe ou un programme BPF"
67
68 #. type: SH
69 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
70 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
71 #, no-wrap
72 msgid "SYNOPSIS"
73 msgstr "SYNOPSIS"
74
75 #. type: Plain text
76 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
77 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
78 #, no-wrap
79 msgid "B<#include E<lt>linux/bpf.hE<gt>>\n"
80 msgstr "B<#include E<lt>linux/bpf.hE<gt>>\n"
81
82 #. type: Plain text
83 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
84 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
85 #, no-wrap
86 msgid "B<int bpf(int >I<cmd>B<, union bpf_attr *>I<attr>B<, unsigned int >I<size>B<);>\n"
87 msgstr "B<int bpf(int >I<cmd>B<, union bpf_attr *>I<attr>B<, unsigned int >I<size>B<);>\n"
88
89 #. type: SH
90 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
91 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
92 #, no-wrap
93 msgid "DESCRIPTION"
94 msgstr "DESCRIPTION"
95
96 #. type: Plain text
97 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
98 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
99 msgid ""
100 "The B<bpf>() system call performs a range of operations related to extended "
101 "Berkeley Packet Filters. Extended BPF (or eBPF) is similar to the original "
102 "(\"classic\") BPF (cBPF) used to filter network packets. For both cBPF and "
103 "eBPF programs, the kernel statically analyzes the programs before loading "
104 "them, in order to ensure that they cannot harm the running system."
105 msgstr ""
106 "L'appel système B<bpf>() effectue une série d'opérations liées aux Berkeley "
107 "Packet Filters étendus (« filtres de paquets Berkeley »). BPF étendu (ou "
108 "eBPF) est identique au BPF « classique » originel (cBPF) utilisé pour "
109 "filtrer les paquets réseau. Pour les programmes tant cBPF qu’eBPF, le noyau "
110 "analyse de manière statique les programmes avant de les charger, afin de "
111 "garantir qu'ils ne puissent pas mettre en danger le système en cours "
112 "d’exécution."
113
114 #. See 'enum bpf_func_id' in include/uapi/linux/bpf.h
115 #. type: Plain text
116 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
117 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
118 msgid ""
119 "eBPF extends cBPF in multiple ways, including the ability to call a fixed "
120 "set of in-kernel helper functions (via the B<BPF_CALL> opcode extension "
121 "provided by eBPF) and access shared data structures such as eBPF maps."
122 msgstr ""
123 "eBPF étend cBPF de plusieurs manières, notamment par la possibilité "
124 "d'appeler un ensemble fixé de fonctions d'aide du noyau (à l’aide de "
125 "l'extension d’opcode B<BPF_CALL> fournie par eBPF) et d'accéder aux "
126 "structures de données partagées telles que les mappes eBPF."
127
128 #. type: SS
129 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
130 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
131 #, no-wrap
132 msgid "Extended BPF Design/Architecture"
133 msgstr "Conception/architecture de BPF étendu"
134
135 #. type: Plain text
136 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
137 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
138 msgid ""
139 "eBPF maps are a generic data structure for storage of different data types. "
140 "Data types are generally treated as binary blobs, so a user just specifies "
141 "the size of the key and the size of the value at map-creation time. In "
142 "other words, a key/value for a given map can have an arbitrary structure."
143 msgstr ""
144 "Les mappes eBPF sont des structures de données génériques pour stocker "
145 "différents types de données. Les types de données sont généralement traités "
146 "comme des blobs binaires, donc l'utilisateur indique seulement la taille de "
147 "la clé et celle de la valeur au moment de la création de la mappe. En "
148 "d'autres termes, la clé/valeur d'une mappe donnée peut avoir une structure "
149 "arbitraire."
150
151 #. type: Plain text
152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
154 msgid ""
155 "A user process can create multiple maps (with key/value-pairs being opaque "
156 "bytes of data) and access them via file descriptors. Different eBPF "
157 "programs can access the same maps in parallel. It's up to the user process "
158 "and eBPF program to decide what they store inside maps."
159 msgstr ""
160 "Un processus utilisateur peut créer plusieurs mappes (dont les paires clé/"
161 "valeur sont des octets de données opaques) et y accéder par les descripteurs "
162 "de fichier. Différents programmes eBPF peuvent accéder aux mêmes mappes en "
163 "parallèle. Il appartient au processus utilisateur et au programme eBPF de "
164 "décider ce qu'ils stockent dans leurs mappes."
165
166 #. Defined by the kernel constant MAX_TAIL_CALL_CNT in include/linux/bpf.h
167 #. type: Plain text
168 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
169 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
170 msgid ""
171 "There's one special map type, called a program array. This type of map "
172 "stores file descriptors referring to other eBPF programs. When a lookup in "
173 "the map is performed, the program flow is redirected in-place to the "
174 "beginning of another eBPF program and does not return back to the calling "
175 "program. The level of nesting has a fixed limit of 32, so that infinite "
176 "loops cannot be crafted. At run time, the program file descriptors stored "
177 "in the map can be modified, so program functionality can be altered based on "
178 "specific requirements. All programs referred to in a program-array map must "
179 "have been previously loaded into the kernel via B<bpf>(). If a map lookup "
180 "fails, the current program continues its execution. See "
181 "B<BPF_MAP_TYPE_PROG_ARRAY> below for further details."
182 msgstr ""
183 "Il existe un type de mappe spécial appelé un tableau de programmes "
184 "(« program array »). Ce type de mappe stocke des descripteurs de fichiers "
185 "qui renvoient à d'autres programmes eBPF. Quand une recherche est effectuée "
186 "sur la mappe, le flux du programme est redirigé directement au début d'un "
187 "autre programme eBPF et il ne renvoie rien au programme appelant. Le niveau "
188 "de redirections est de 32 pour éviter de créer des boucles infinies. Au "
189 "moment de l'exécution, les descripteurs de fichier du programme stockés dans "
190 "la mappe peuvent être modifiés, donc la fonctionnalité de programme peut "
191 "être modifiée sur la base d'exigences spécifiques. Tous les programmes "
192 "auxquels renvoie une mappe tableau de programmes (program-array) doivent "
193 "avoir été précédemment chargés dans le noyau avec B<bpf>(). Si une recherche "
194 "de mappe échoue, le programme en cours poursuit son exécution. Voir "
195 "B<BPF_MAP_TYPE_PROG_ARRAY> ci-dessous pour des détails."
196
197 #. type: Plain text
198 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
199 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
200 msgid ""
201 "Generally, eBPF programs are loaded by the user process and automatically "
202 "unloaded when the process exits. In some cases, for example, B<tc-bpf>(8), "
203 "the program will continue to stay alive inside the kernel even after the "
204 "process that loaded the program exits. In that case, the tc subsystem holds "
205 "a reference to the eBPF program after the file descriptor has been closed by "
206 "the user-space program. Thus, whether a specific program continues to live "
207 "inside the kernel depends on how it is further attached to a given kernel "
208 "subsystem after it was loaded via B<bpf>()."
209 msgstr ""
210 "Généralement, les programmes eBPF sont chargés par le processus de "
211 "l'utilisateur et déchargés automatiquement quand le processus se termine. "
212 "Dans certains cas, par exemple B<tc-bpf>(8), le programme restera en vie "
213 "dans le noyau même après que le processus qui l'a chargé est fini. Dans ce "
214 "cas, le sous-système B<tc> garde une référence au programme eBPF après que "
215 "le descripteur de fichier est fermé par le programme de l'espace "
216 "utilisateur. Ainsi, la survie d'un programme spécifique dans le noyau dépend "
217 "de la manière dont il a été rattaché à un sous-système donné du noyau après "
218 "qu'il a été chargé par B<bpf>()."
219
220 #. type: Plain text
221 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
222 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
223 msgid ""
224 "Each eBPF program is a set of instructions that is safe to run until its "
225 "completion. An in-kernel verifier statically determines that the eBPF "
226 "program terminates and is safe to execute. During verification, the kernel "
227 "increments reference counts for each of the maps that the eBPF program uses, "
228 "so that the attached maps can't be removed until the program is unloaded."
229 msgstr ""
230 "Chaque programme eBPF est un ensemble d'instructions qu'on peut exécuter en "
231 "sécurité jusqu'à leur fin. Un vérificateur interne au noyau détermine de "
232 "manière statique ce que le programme eBPF interrompt et s'il peut être "
233 "exécuté en toute sécurité. Pendant la vérification, le noyau ajoute un "
234 "numéro de référence de manière incrémentale pour chacune des mappes "
235 "utilisées par le programme eBPF, si bien que les mappes qui y sont "
236 "rattachées ne peuvent pas être supprimées avant que le programme soit "
237 "déchargé."
238
239 #. type: Plain text
240 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
241 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
242 msgid ""
243 "eBPF programs can be attached to different events. These events can be the "
244 "arrival of network packets, tracing events, classification events by network "
245 "queueing disciplines (for eBPF programs attached to a B<tc>(8) classifier), "
246 "and other types that may be added in the future. A new event triggers "
247 "execution of the eBPF program, which may store information about the event "
248 "in eBPF maps. Beyond storing data, eBPF programs may call a fixed set of in-"
249 "kernel helper functions."
250 msgstr ""
251 "Les programmes eBPF peuvent être rattachés à différents événements. Ces "
252 "événements peuvent être l'arrivée de paquets réseaux, le traçage "
253 "d'événements, la classification d'événements en disciplines de files "
254 "d'attente réseau (pour les programmes eBPF rattachés à un classificateur "
255 "B<tc>(8)), et d'autres types qui pourront être ajoutés dans le futur. Un "
256 "nouvel événement provoque l'exécution d'un programme eBPF, qui peut stocker "
257 "des informations sur l’évènement dans des mappes eBPF. Par-delà les données "
258 "stockées, les programmes eBPF peuvent appeler un ensemble fixé de fonctions "
259 "d'aide internes au noyau."
260
261 #. type: Plain text
262 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
263 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
264 msgid ""
265 "The same eBPF program can be attached to multiple events and different eBPF "
266 "programs can access the same map:"
267 msgstr ""
268 "Un même programme eBPF peut être rattaché à plusieurs événements (évt) et "
269 "divers programmes eBPF peuvent accéder à la même mappe :"
270
271 #. type: Plain text
272 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
273 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
274 #, no-wrap
275 msgid ""
276 "tracing tracing tracing packet packet packet\n"
277 "event A event B event C on eth0 on eth1 on eth2\n"
278 " | | | | | \\[ha]\n"
279 " | | | | v |\n"
280 " --E<gt> tracing E<lt>-- tracing socket tc ingress tc egress\n"
281 " prog_1 prog_2 prog_3 classifier action\n"
282 " | | | | prog_4 prog_5\n"
283 " |--- -----| |------| map_3 | |\n"
284 " map_1 map_2 --| map_4 |--\n"
285 msgstr ""
286 "traçage traçage traçage paquet paquet paquet\n"
287 " évt A évt B évt C sur eth0 sur eth1 sur eth2\n"
288 " | | | | | \\[ha]\n"
289 " | | | | v |\n"
290 " --E<gt> traçage E<lt>-- traçage socket tc ingress tc egress\n"
291 " prog_1 prog_2 prog_3 classifieur action\n"
292 " | | | | prog_4 prog_5\n"
293 " |--- -----| |------| mappe_3 | |\n"
294 " mappe_1 mappe_2 --| mappe_4 |--\n"
295
296 #. type: SS
297 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
298 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
299 #, no-wrap
300 msgid "Arguments"
301 msgstr "Argument"
302
303 #. type: Plain text
304 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
305 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
306 msgid ""
307 "The operation to be performed by the B<bpf>() system call is determined by "
308 "the I<cmd> argument. Each operation takes an accompanying argument, "
309 "provided via I<attr>, which is a pointer to a union of type I<bpf_attr> (see "
310 "below). The unused fields and padding must be zeroed out before the call. "
311 "The I<size> argument is the size of the union pointed to by I<attr>."
312 msgstr ""
313 "L'opération à effectuer par l'appel système B<bpf>() est déterminée par le "
314 "paramètre I<cmd>. Chaque opération prend un paramètre, fourni par I<attr>, "
315 "qui est un pointeur vers une union de type I<bpf_attr> (voir ci-dessous). "
316 "Les champs inutilisés et de remplissage doivent être mis à zéro avant "
317 "l'appel. Le paramètre I<size> est la taille de l'union vers laquelle pointe "
318 "I<attr>."
319
320 #. type: Plain text
321 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
322 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
323 msgid "The value provided in I<cmd> is one of the following:"
324 msgstr "La valeur fournie dans I<cmd> est une parmi :"
325
326 #. type: TP
327 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
328 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
329 #, no-wrap
330 msgid "B<BPF_MAP_CREATE>"
331 msgstr "B<BPF_MAP_CREATE>"
332
333 #. type: Plain text
334 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
335 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
336 msgid ""
337 "Create a map and return a file descriptor that refers to the map. The close-"
338 "on-exec file descriptor flag (see B<fcntl>(2)) is automatically enabled for "
339 "the new file descriptor."
340 msgstr ""
341 "Créer une mappe et renvoyer un descripteur de fichier qui s'y rapporte. Le "
342 "drapeau de descripteur de fichier I<close-on-exec> (voir B<fcntl>(2)) est "
343 "automatiquement activé pour le nouveau descripteur de fichier."
344
345 #. type: TP
346 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
347 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
348 #, no-wrap
349 msgid "B<BPF_MAP_LOOKUP_ELEM>"
350 msgstr "B<BPF_MAP_LOOKUP_ELEM>"
351
352 #. type: Plain text
353 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
354 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
355 msgid "Look up an element by key in a specified map and return its value."
356 msgstr ""
357 "Chercher un élément par clé dans une mappe spécifiée et renvoyer sa valeur."
358
359 #. type: TP
360 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
361 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
362 #, no-wrap
363 msgid "B<BPF_MAP_UPDATE_ELEM>"
364 msgstr "B<BPF_MAP_UPDATE_ELEM>"
365
366 #. type: Plain text
367 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
368 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
369 msgid "Create or update an element (key/value pair) in a specified map."
370 msgstr ""
371 "Créer ou mettre à jour un élément (paire clé/valeur) dans une mappe "
372 "spécifiée."
373
374 #. type: TP
375 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
376 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
377 #, no-wrap
378 msgid "B<BPF_MAP_DELETE_ELEM>"
379 msgstr "B<BPF_MAP_DELETE_ELEM>"
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 "Look up and delete an element by key in a specified map."
385 msgstr "Chercher et effacer un élément par clé dans une mappe spécifiée."
386
387 #. type: TP
388 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
389 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
390 #, no-wrap
391 msgid "B<BPF_MAP_GET_NEXT_KEY>"
392 msgstr "B<BPF_MAP_GET_NEXT_KEY>"
393
394 #. type: Plain text
395 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
396 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
397 msgid ""
398 "Look up an element by key in a specified map and return the key of the next "
399 "element."
400 msgstr ""
401 "Chercher un élément par clé dans une mappe spécifiée et renvoyer la clé de "
402 "l'élément suivant."
403
404 #. type: TP
405 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
406 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
407 #, no-wrap
408 msgid "B<BPF_PROG_LOAD>"
409 msgstr "B<BPF_PROG_LOAD>"
410
411 #. type: Plain text
412 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
413 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
414 msgid ""
415 "Verify and load an eBPF program, returning a new file descriptor associated "
416 "with the program. The close-on-exec file descriptor flag (see B<fcntl>(2)) "
417 "is automatically enabled for the new file descriptor."
418 msgstr ""
419 "Vérifier et charger un programme eBPF, en renvoyant un nouveau descripteur "
420 "de fichier associé au programme. Le drapeau de descripteur de fichier "
421 "I<close-on-exec> (voir B<fcntl>(2)) est activé automatiquement pour le "
422 "nouveau descripteur de fichier."
423
424 #. type: Plain text
425 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
426 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
427 msgid ""
428 "The I<bpf_attr> union consists of various anonymous structures that are used "
429 "by different B<bpf>() commands:"
430 msgstr ""
431 "L'union I<bpf_attr> consiste dans diverses structures anonymes utilisées par "
432 "différentes commandes B<bpf>() :"
433
434 #. commit 2541517c32be2531e0da59dfd7efc1ce844644f5
435 #. type: Plain text
436 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
437 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
438 #, no-wrap
439 msgid ""
440 "union bpf_attr {\n"
441 " struct { /* Used by BPF_MAP_CREATE */\n"
442 " __u32 map_type;\n"
443 " __u32 key_size; /* size of key in bytes */\n"
444 " __u32 value_size; /* size of value in bytes */\n"
445 " __u32 max_entries; /* maximum number of entries\n"
446 " in a map */\n"
447 " };\n"
448 "\\&\n"
449 " struct { /* Used by BPF_MAP_*_ELEM and BPF_MAP_GET_NEXT_KEY\n"
450 " commands */\n"
451 " __u32 map_fd;\n"
452 " __aligned_u64 key;\n"
453 " union {\n"
454 " __aligned_u64 value;\n"
455 " __aligned_u64 next_key;\n"
456 " };\n"
457 " __u64 flags;\n"
458 " };\n"
459 "\\&\n"
460 " struct { /* Used by BPF_PROG_LOAD */\n"
461 " __u32 prog_type;\n"
462 " __u32 insn_cnt;\n"
463 " __aligned_u64 insns; /* \\[aq]const struct bpf_insn *\\[aq] */\n"
464 " __aligned_u64 license; /* \\[aq]const char *\\[aq] */\n"
465 " __u32 log_level; /* verbosity level of verifier */\n"
466 " __u32 log_size; /* size of user buffer */\n"
467 " __aligned_u64 log_buf; /* user supplied \\[aq]char *\\[aq]\n"
468 " buffer */\n"
469 " __u32 kern_version;\n"
470 " /* checked when prog_type=kprobe\n"
471 " (since Linux 4.1) */\n"
472 " };\n"
473 "} __attribute__((aligned(8)));\n"
474 msgstr ""
475 "union bpf_attr {\n"
476 " struct { /* Utilisé par BPF_MAP_CREATE */\n"
477 " __u32 map_type;\n"
478 " __u32 key_size; /* taille de la clé en octets */\n"
479 " __u32 value_size; /* taille de la valeur en octets */\n"
480 " __u32 max_entries; /* nombre maximal d'entrées\n"
481 " dans une mappe */\n"
482 " };\n"
483 "\\&\n"
484 " struct { /* Utilisé par les commandes BPF_MAP_*_ELEM et\n"
485 " BPF_MAP_GET_NEXT_KEY */\n"
486 " __u32 map_fd;\n"
487 " __aligned_u64 key;\n"
488 " union {\n"
489 " __aligned_u64 value;\n"
490 " __aligned_u64 next_key;\n"
491 " };\n"
492 " __u64 flags;\n"
493 " };\n"
494 "\\&\n"
495 " struct { /* Utilisé par BPF_PROG_LOAD */\n"
496 " __u32 prog_type;\n"
497 " __u32 insn_cnt;\n"
498 " __aligned_u64 insns; /* \\[aq]const struct bpf_insn *\\[aq] */\n"
499 " __aligned_u64 license; /* \\[aq]const char *\\[aq] */\n"
500 " __u32 log_level; /* niveau de bavardage du vérificateur */\n"
501 " __u32 log_size; /* taille du tampon utilisateur */\n"
502 " __aligned_u64 log_buf; /* l'utilisateur a fourni \\[aq]char *\\[aq]\n"
503 " de tampon */\n"
504 " __u32 kern_version;\n"
505 " /* vérifier quand prog_type=kprobe\n"
506 " (depuis Linux 4.1) */\n"
507 " };\n"
508 "} __attribute__((aligned(8)));\n"
509
510 #. type: SS
511 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
512 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
513 #, no-wrap
514 msgid "eBPF maps"
515 msgstr "mappes eBPF"
516
517 #. type: Plain text
518 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
519 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
520 msgid ""
521 "Maps are a generic data structure for storage of different types of data. "
522 "They allow sharing of data between eBPF kernel programs, and also between "
523 "kernel and user-space applications."
524 msgstr ""
525 "Les mappes sont des structures de données génériques pour stocker différents "
526 "types de données. Elles permettent de partager des données entre des "
527 "programmes eBPF du noyau, mais aussi entre les applications du noyau et de "
528 "l'espace utilisateur."
529
530 #. type: Plain text
531 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
532 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
533 msgid "Each map type has the following attributes:"
534 msgstr "Chaque type de mappe a les attributs suivants :"
535
536 #. type: IP
537 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
538 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
539 #, no-wrap
540 msgid "\\[bu]"
541 msgstr "-"
542
543 #. type: Plain text
544 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
545 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
546 msgid "type"
547 msgstr "type"
548
549 #. type: Plain text
550 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
551 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
552 msgid "maximum number of elements"
553 msgstr "nombre maximal d'éléments"
554
555 #. type: Plain text
556 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
557 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
558 msgid "key size in bytes"
559 msgstr "taille de la clé en octets"
560
561 #. type: Plain text
562 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
563 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
564 msgid "value size in bytes"
565 msgstr "valeur de la clé en octets"
566
567 #. type: Plain text
568 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
569 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
570 msgid ""
571 "The following wrapper functions demonstrate how various B<bpf>() commands "
572 "can be used to access the maps. The functions use the I<cmd> argument to "
573 "invoke different operations."
574 msgstr ""
575 "Les fonctions enveloppe suivantes montrent la manière dont diverses "
576 "commandes B<bpf>() peuvent être utilisées pour accéder aux mappes. Les "
577 "fonctions utilisent le paramètre I<cmd> pour appeler différentes opérations."
578
579 #. type: Plain text
580 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
581 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
582 msgid ""
583 "The B<BPF_MAP_CREATE> command creates a new map, returning a new file "
584 "descriptor that refers to the map."
585 msgstr ""
586 "La commande B<BPF_MAP_CREATE> crée une nouvelle mappe, renvoyant un nouveau "
587 "descripteur de fichier qui s'y rapporte."
588
589 #. type: Plain text
590 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
591 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
592 #, no-wrap
593 msgid ""
594 "int\n"
595 "bpf_create_map(enum bpf_map_type map_type,\n"
596 " unsigned int key_size,\n"
597 " unsigned int value_size,\n"
598 " unsigned int max_entries)\n"
599 "{\n"
600 " union bpf_attr attr = {\n"
601 " .map_type = map_type,\n"
602 " .key_size = key_size,\n"
603 " .value_size = value_size,\n"
604 " .max_entries = max_entries\n"
605 " };\n"
606 "\\&\n"
607 " return bpf(BPF_MAP_CREATE, &attr, sizeof(attr));\n"
608 "}\n"
609 msgstr ""
610 "int\n"
611 "bpf_create_map(enum bpf_map_type map_type,\n"
612 " unsigned int key_size,\n"
613 " unsigned int value_size,\n"
614 " unsigned int max_entries)\n"
615 "{\n"
616 " union bpf_attr attr = {\n"
617 " .map_type = map_type,\n"
618 " .key_size = key_size,\n"
619 " .value_size = value_size,\n"
620 " .max_entries = max_entries\n"
621 " };\n"
622 "\\&\n"
623 " return bpf(BPF_MAP_CREATE, &attr, sizeof(attr));\n"
624 "}\n"
625
626 #. type: Plain text
627 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
628 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
629 msgid ""
630 "The new map has the type specified by I<map_type>, and attributes as "
631 "specified in I<key_size>, I<value_size>, and I<max_entries>. On success, "
632 "this operation returns a file descriptor. On error, -1 is returned and "
633 "I<errno> is set to B<EINVAL>, B<EPERM>, or B<ENOMEM>."
634 msgstr ""
635 "La nouvelle mappe possède le type indiqué avec I<map_type> et les attributs "
636 "indiqués dans I<key_size>, I<value_size> et I<max_entries>. En cas de "
637 "succès, cette opération renvoie un descripteur de fichier. En cas d'erreur, "
638 "B<-1> est renvoyé et I<errno> est positionné sur B<EINVAL>, B<EPERM> ou "
639 "B<ENOMEM>."
640
641 #. type: Plain text
642 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
643 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
644 msgid ""
645 "The I<key_size> and I<value_size> attributes will be used by the verifier "
646 "during program loading to check that the program is calling "
647 "B<bpf_map_*_elem>() helper functions with a correctly initialized I<key> "
648 "and to check that the program doesn't access the map element I<value> beyond "
649 "the specified I<value_size>. For example, when a map is created with a "
650 "I<key_size> of 8 and the eBPF program calls"
651 msgstr ""
652 "Les attributs I<key_size> et I<value_size> seront utilisés par le "
653 "vérificateur lors du chargement du programme pour vérifier que le programme "
654 "appelle les fonctions d'aide B<bpf_map_*_elem>() avec une I<key> "
655 "correctement initialisée et pour vérifier que le programme n'accède pas à "
656 "une I<value> de l'élément de la mappe au-delà de la I<value_size> indiquée. "
657 "Par exemple, quand une mappe est créée avec I<key_size> de B<8> et que le "
658 "programme eBPF appelle un"
659
660 #. type: Plain text
661 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
662 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
663 #, no-wrap
664 msgid "bpf_map_lookup_elem(map_fd, fp - 4)\n"
665 msgstr "bpf_map_lookup_elem(map_fd, fp - 4)\n"
666
667 #. type: Plain text
668 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
669 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
670 msgid "the program will be rejected, since the in-kernel helper function"
671 msgstr "le programme sera rejeté, puisque la fonction d'aide du noyau"
672
673 #. type: Plain text
674 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
675 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
676 #, no-wrap
677 msgid "bpf_map_lookup_elem(map_fd, void *key)\n"
678 msgstr "bpf_map_lookup_elem(map_fd, void *key)\n"
679
680 #. type: Plain text
681 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
682 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
683 msgid ""
684 "expects to read 8 bytes from the location pointed to by I<key>, but the "
685 "I<fp\\ -\\ 4> (where I<fp> is the top of the stack) starting address will "
686 "cause out-of-bounds stack access."
687 msgstr ""
688 "s'attend à lire 8 octets à l'endroit où pointe I<key>, mais l'adresse de "
689 "départ I<fp\\ -\\ 4> (où I<fp> est le haut de la pile) crée un accès de la "
690 "pile hors limites."
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 "Similarly, when a map is created with a I<value_size> of 1 and the eBPF "
697 "program contains"
698 msgstr ""
699 "De même, lorsqu'une mappe est créée avec une I<value_size> de B<1> et que le "
700 "programme eBPF contient"
701
702 #. type: Plain text
703 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
704 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
705 #, no-wrap
706 msgid ""
707 "value = bpf_map_lookup_elem(...);\n"
708 "*(u32 *) value = 1;\n"
709 msgstr ""
710 "value = bpf_map_lookup_elem(...);\n"
711 "*(u32 *) value = 1;\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 ""
717 "the program will be rejected, since it accesses the I<value> pointer beyond "
718 "the specified 1 byte I<value_size> limit."
719 msgstr ""
720 "le programme sera rejeté puisqu'il accède au pointeur I<value> au-delà de la "
721 "la limite I<value_size> d’un octet spécifiée."
722
723 #. type: Plain text
724 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
725 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
726 msgid "Currently, the following values are supported for I<map_type>:"
727 msgstr ""
728 "Actuellement, les valeurs suivantes sont prises en charge par I<map_type> :"
729
730 #. type: Plain text
731 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
732 #: opensuse-tumbleweed
733 #, no-wrap
734 msgid ""
735 "enum bpf_map_type {\n"
736 " BPF_MAP_TYPE_UNSPEC, /* Reserve 0 as invalid map type */\n"
737 " BPF_MAP_TYPE_HASH,\n"
738 " BPF_MAP_TYPE_ARRAY,\n"
739 " BPF_MAP_TYPE_PROG_ARRAY,\n"
740 " BPF_MAP_TYPE_PERF_EVENT_ARRAY,\n"
741 " BPF_MAP_TYPE_PERCPU_HASH,\n"
742 " BPF_MAP_TYPE_PERCPU_ARRAY,\n"
743 " BPF_MAP_TYPE_STACK_TRACE,\n"
744 " BPF_MAP_TYPE_CGROUP_ARRAY,\n"
745 " BPF_MAP_TYPE_LRU_HASH,\n"
746 " BPF_MAP_TYPE_LRU_PERCPU_HASH,\n"
747 " BPF_MAP_TYPE_LPM_TRIE,\n"
748 " BPF_MAP_TYPE_ARRAY_OF_MAPS,\n"
749 " BPF_MAP_TYPE_HASH_OF_MAPS,\n"
750 " BPF_MAP_TYPE_DEVMAP,\n"
751 " BPF_MAP_TYPE_SOCKMAP,\n"
752 " BPF_MAP_TYPE_CPUMAP,\n"
753 " BPF_MAP_TYPE_XSKMAP,\n"
754 " BPF_MAP_TYPE_SOCKHASH,\n"
755 " BPF_MAP_TYPE_CGROUP_STORAGE,\n"
756 " BPF_MAP_TYPE_REUSEPORT_SOCKARRAY,\n"
757 " BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE,\n"
758 " BPF_MAP_TYPE_QUEUE,\n"
759 " BPF_MAP_TYPE_STACK,\n"
760 " /* See /usr/include/linux/bpf.h for the full list. */\n"
761 "};\n"
762 msgstr ""
763 "enum bpf_map_type {\n"
764 " BPF_MAP_TYPE_UNSPEC, /* Réserver 0 comme type de mappe non valable */\n"
765 " BPF_MAP_TYPE_HASH,\n"
766 " BPF_MAP_TYPE_ARRAY,\n"
767 " BPF_MAP_TYPE_PROG_ARRAY,\n"
768 " BPF_MAP_TYPE_PERF_EVENT_ARRAY,\n"
769 " BPF_MAP_TYPE_PERCPU_HASH,\n"
770 " BPF_MAP_TYPE_PERCPU_ARRAY,\n"
771 " BPF_MAP_TYPE_STACK_TRACE,\n"
772 " BPF_MAP_TYPE_CGROUP_ARRAY,\n"
773 " BPF_MAP_TYPE_LRU_HASH,\n"
774 " BPF_MAP_TYPE_LRU_PERCPU_HASH,\n"
775 " BPF_MAP_TYPE_LPM_TRIE,\n"
776 " BPF_MAP_TYPE_ARRAY_OF_MAPS,\n"
777 " BPF_MAP_TYPE_HASH_OF_MAPS,\n"
778 " BPF_MAP_TYPE_DEVMAP,\n"
779 " BPF_MAP_TYPE_SOCKMAP,\n"
780 " BPF_MAP_TYPE_CPUMAP,\n"
781 " BPF_MAP_TYPE_XSKMAP,\n"
782 " BPF_MAP_TYPE_SOCKHASH,\n"
783 " BPF_MAP_TYPE_CGROUP_STORAGE,\n"
784 " BPF_MAP_TYPE_REUSEPORT_SOCKARRAY,\n"
785 " BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE,\n"
786 " BPF_MAP_TYPE_QUEUE,\n"
787 " BPF_MAP_TYPE_STACK,\n"
788 " /* Voir /usr/include/linux/bpf.h pour la liste complète. */\n"
789 "};\n"
790
791 #. FIXME We need an explanation of why one might choose each of
792 #. these map implementations
793 #. type: Plain text
794 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
795 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
796 msgid ""
797 "I<map_type> selects one of the available map implementations in the kernel. "
798 "For all map types, eBPF programs access maps with the same "
799 "B<bpf_map_lookup_elem>() and B<bpf_map_update_elem>() helper functions. "
800 "Further details of the various map types are given below."
801 msgstr ""
802 "I<map_type> sélectionne une des implémentations de mappe disponibles dans le "
803 "noyau. Pour tous les types de mappe, les programmes eBPF accèdent aux mappes "
804 "avec les mêmes fonctions d'aide B<bpf_map_lookup_elem>() et "
805 "B<bpf_map_update_elem>(). Vous trouverez ci-dessous plus de détails sur les "
806 "différents types de mappes."
807
808 #. type: Plain text
809 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
810 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
811 msgid ""
812 "The B<BPF_MAP_LOOKUP_ELEM> command looks up an element with a given I<key> "
813 "in the map referred to by the file descriptor I<fd>."
814 msgstr ""
815 "La commande B<BPF_MAP_LOOKUP_ELEM> cherche un élément avec une I<key> donnée "
816 "dans la mappe à laquelle se rapporte le descripteur de fichier I<fd>."
817
818 #. type: Plain text
819 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
820 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
821 #, no-wrap
822 msgid ""
823 "int\n"
824 "bpf_lookup_elem(int fd, const void *key, void *value)\n"
825 "{\n"
826 " union bpf_attr attr = {\n"
827 " .map_fd = fd,\n"
828 " .key = ptr_to_u64(key),\n"
829 " .value = ptr_to_u64(value),\n"
830 " };\n"
831 "\\&\n"
832 " return bpf(BPF_MAP_LOOKUP_ELEM, &attr, sizeof(attr));\n"
833 "}\n"
834 msgstr ""
835 "int\n"
836 "bpf_lookup_elem(int fd, const void *key, void *value)\n"
837 "{\n"
838 " union bpf_attr attr = {\n"
839 " .map_fd = fd,\n"
840 " .key = ptr_to_u64(key),\n"
841 " .value = ptr_to_u64(value),\n"
842 " };\n"
843 "\\&\n"
844 " return bpf(BPF_MAP_LOOKUP_ELEM, &attr, sizeof(attr));\n"
845 "}\n"
846
847 #. type: Plain text
848 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
849 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
850 msgid ""
851 "If an element is found, the operation returns zero and stores the element's "
852 "value into I<value>, which must point to a buffer of I<value_size> bytes."
853 msgstr ""
854 "Si un élément est trouvé, l'opération renvoie zéro et stocke la valeur de "
855 "l'élément dans I<value>, qui doit pointer vers un tampon de I<value_size> "
856 "octets."
857
858 #. type: Plain text
859 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
860 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
861 msgid ""
862 "If no element is found, the operation returns -1 and sets I<errno> to "
863 "B<ENOENT>."
864 msgstr ""
865 "Si aucun élément n'est trouvé, l'opération renvoie B<-1> et I<errno> est "
866 "positionné sur B<ENOENT>."
867
868 #. type: Plain text
869 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
870 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
871 msgid ""
872 "The B<BPF_MAP_UPDATE_ELEM> command creates or updates an element with a "
873 "given I<key/value> in the map referred to by the file descriptor I<fd>."
874 msgstr ""
875 "La commande B<BPF_MAP_UPDATE_ELEM> crée ou met à jour un élément avec une "
876 "I<key/value> donnée dans la mappe à laquelle se rapporte le descripteur de "
877 "fichier I<fd>."
878
879 #. type: Plain text
880 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
881 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
882 #, no-wrap
883 msgid ""
884 "int\n"
885 "bpf_update_elem(int fd, const void *key, const void *value,\n"
886 " uint64_t flags)\n"
887 "{\n"
888 " union bpf_attr attr = {\n"
889 " .map_fd = fd,\n"
890 " .key = ptr_to_u64(key),\n"
891 " .value = ptr_to_u64(value),\n"
892 " .flags = flags,\n"
893 " };\n"
894 "\\&\n"
895 " return bpf(BPF_MAP_UPDATE_ELEM, &attr, sizeof(attr));\n"
896 "}\n"
897 msgstr ""
898 "int\n"
899 "bpf_update_elem(int fd, const void *key, const void *value,\n"
900 " uint64_t flags)\n"
901 "{\n"
902 " union bpf_attr attr = {\n"
903 " .map_fd = fd,\n"
904 " .key = ptr_to_u64(key),\n"
905 " .value = ptr_to_u64(value),\n"
906 " .flags = flags,\n"
907 " };\n"
908 "\\&\n"
909 " return bpf(BPF_MAP_UPDATE_ELEM, &attr, sizeof(attr));\n"
910 "}\n"
911
912 #. type: Plain text
913 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
914 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
915 msgid "The I<flags> argument should be specified as one of the following:"
916 msgstr ""
917 "Le paramètre I<flags> devrait être formé d'une des manières suivantes :"
918
919 #. type: TP
920 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
921 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
922 #, no-wrap
923 msgid "B<BPF_ANY>"
924 msgstr "B<BPF_ANY>"
925
926 #. type: Plain text
927 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
928 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
929 msgid "Create a new element or update an existing element."
930 msgstr "Créer un nouvel élément ou mettre à jour un élément existant."
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<BPF_NOEXIST>"
937 msgstr "B<BPF_NOEXIST>"
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 "Create a new element only if it did not exist."
943 msgstr "Créer un nouvel élément seulement s'il n'existe pas."
944
945 #. type: TP
946 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
947 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
948 #, no-wrap
949 msgid "B<BPF_EXIST>"
950 msgstr "B<BPF_EXIST>"
951
952 #. type: Plain text
953 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
954 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
955 msgid "Update an existing element."
956 msgstr "Mettre à jour un élément existant."
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 "On success, the operation returns zero. On error, -1 is returned and "
963 "I<errno> is set to B<EINVAL>, B<EPERM>, B<ENOMEM>, or B<E2BIG>. B<E2BIG> "
964 "indicates that the number of elements in the map reached the I<max_entries> "
965 "limit specified at map creation time. B<EEXIST> will be returned if "
966 "I<flags> specifies B<BPF_NOEXIST> and the element with I<key> already exists "
967 "in the map. B<ENOENT> will be returned if I<flags> specifies B<BPF_EXIST> "
968 "and the element with I<key> doesn't exist in the map."
969 msgstr ""
970 "En cas de succès, l'opération renvoie zéro. En cas d'erreur, B<-1> est "
971 "renvoyé et I<errno> est positionné sur B<EINVAL>, B<EPERM>, B<ENOMEM> ou "
972 "B<E2BIG>. B<E2BIG> indique que le nombre d'éléments de la mappe a atteint "
973 "la limite I<max_entries> spécifiée au moment de la création de la mappe. "
974 "B<EEXIST> sera renvoyé si I<flags> spécifie B<BPF_NOEXIST> et si l'élément "
975 "contenant I<key> existe déjà sur la mappe. B<ENOENT> sera renvoyé si "
976 "I<flags> spécifie B<BPF_EXIST> et si l'élément contenant I<key> n'existe pas "
977 "sur la mappe."
978
979 #. type: Plain text
980 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
981 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
982 msgid ""
983 "The B<BPF_MAP_DELETE_ELEM> command deletes the element whose key is I<key> "
984 "from the map referred to by the file descriptor I<fd>."
985 msgstr ""
986 "La commande B<BPF_MAP_DELETE_ELEM> efface l'élément dont la clé est I<key> "
987 "sur la mappe à laquelle se rapporte le descripteur de fichier I<fd>."
988
989 #. type: Plain text
990 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
991 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
992 #, no-wrap
993 msgid ""
994 "int\n"
995 "bpf_delete_elem(int fd, const void *key)\n"
996 "{\n"
997 " union bpf_attr attr = {\n"
998 " .map_fd = fd,\n"
999 " .key = ptr_to_u64(key),\n"
1000 " };\n"
1001 "\\&\n"
1002 " return bpf(BPF_MAP_DELETE_ELEM, &attr, sizeof(attr));\n"
1003 "}\n"
1004 msgstr ""
1005 "int\n"
1006 "bpf_delete_elem(int fd, const void *key)\n"
1007 "{\n"
1008 " union bpf_attr attr = {\n"
1009 " .map_fd = fd,\n"
1010 " .key = ptr_to_u64(key),\n"
1011 " };\n"
1012 "\\&\n"
1013 " return bpf(BPF_MAP_DELETE_ELEM, &attr, sizeof(attr));\n"
1014 "}\n"
1015
1016 #. type: Plain text
1017 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1018 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1019 msgid ""
1020 "On success, zero is returned. If the element is not found, -1 is returned "
1021 "and I<errno> is set to B<ENOENT>."
1022 msgstr ""
1023 "S'il réussit, cet appel système renvoie B<0>. Si l'élément n'est pas trouvé, "
1024 "B<-1> est renvoyé et I<errno> est positionné sur B<ENOENT>."
1025
1026 #. type: Plain text
1027 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1028 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1029 msgid ""
1030 "The B<BPF_MAP_GET_NEXT_KEY> command looks up an element by I<key> in the map "
1031 "referred to by the file descriptor I<fd> and sets the I<next_key> pointer to "
1032 "the key of the next element."
1033 msgstr ""
1034 "La commande B<BPF_MAP_GET_NEXT_KEY> recherche un élément par I<key> sur la "
1035 "mappe à laquelle se réfère le descripteur de fichier I<fd> et elle définit "
1036 "le pointeur I<next_key> vers la clé du prochain élément."
1037
1038 #. type: Plain text
1039 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1040 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1041 #, no-wrap
1042 msgid ""
1043 "int\n"
1044 "bpf_get_next_key(int fd, const void *key, void *next_key)\n"
1045 "{\n"
1046 " union bpf_attr attr = {\n"
1047 " .map_fd = fd,\n"
1048 " .key = ptr_to_u64(key),\n"
1049 " .next_key = ptr_to_u64(next_key),\n"
1050 " };\n"
1051 "\\&\n"
1052 " return bpf(BPF_MAP_GET_NEXT_KEY, &attr, sizeof(attr));\n"
1053 "}\n"
1054 msgstr ""
1055 "int\n"
1056 "bpf_get_next_key(int fd, const void *key, void *next_key)\n"
1057 "{\n"
1058 " union bpf_attr attr = {\n"
1059 " .map_fd = fd,\n"
1060 " .key = ptr_to_u64(key),\n"
1061 " .next_key = ptr_to_u64(next_key),\n"
1062 " };\n"
1063 "\\&\n"
1064 " return bpf(BPF_MAP_GET_NEXT_KEY, &attr, sizeof(attr));\n"
1065 "}\n"
1066
1067 #. type: Plain text
1068 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1069 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1070 msgid ""
1071 "If I<key> is found, the operation returns zero and sets the I<next_key> "
1072 "pointer to the key of the next element. If I<key> is not found, the "
1073 "operation returns zero and sets the I<next_key> pointer to the key of the "
1074 "first element. If I<key> is the last element, -1 is returned and I<errno> "
1075 "is set to B<ENOENT>. Other possible I<errno> values are B<ENOMEM>, "
1076 "B<EFAULT>, B<EPERM>, and B<EINVAL>. This method can be used to iterate over "
1077 "all elements in the map."
1078 msgstr ""
1079 "Si I<key> est trouvée, l'opération renvoie zéro et I<next_key> pointe vers "
1080 "la clé de l'élément suivant. Si I<key> n'est pas trouvée, l'opération "
1081 "renvoie zéro et I<next_key> pointe vers la clé du premier élément. Si I<key> "
1082 "est le dernier élément, B<-1> est renvoyé et I<errno> est positionné sur "
1083 "B<ENOENT>. Les autres valeurs possibles de I<errno> sont B<ENOMEM>, "
1084 "B<EFAULT>, B<EPERM> et B<EINVAL>. Cette méthode peut être utilisée pour "
1085 "itérer entre tous les éléments d'une mappe."
1086
1087 #. type: TP
1088 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1089 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1090 #, no-wrap
1091 msgid "B<close(map_fd)>"
1092 msgstr "B<close(map_fd)>"
1093
1094 #. type: Plain text
1095 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1096 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1097 msgid ""
1098 "Delete the map referred to by the file descriptor I<map_fd>. When the user-"
1099 "space program that created a map exits, all maps will be deleted "
1100 "automatically (but see NOTES)."
1101 msgstr ""
1102 "Effacer la mappe à laquelle se réfère le descripteur de fichier I<map_fd>. "
1103 "Quand le programme de l'espace utilisateur ayant créé la mappe se termine, "
1104 "toutes les mappes sont effacées automatiquement (mais voir REMARQUES)."
1105
1106 #. type: SS
1107 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1108 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1109 #, no-wrap
1110 msgid "eBPF map types"
1111 msgstr "Types de mappe eBPF"
1112
1113 #. type: Plain text
1114 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1115 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1116 msgid "The following map types are supported:"
1117 msgstr "Les types de mappe suivants sont pris en charge :"
1118
1119 #. type: TP
1120 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1121 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1122 #, no-wrap
1123 msgid "B<BPF_MAP_TYPE_HASH>"
1124 msgstr "B<BPF_MAP_TYPE_HASH>"
1125
1126 #. commit 0f8e4bd8a1fc8c4185f1630061d0a1f2d197a475
1127 #. type: Plain text
1128 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1129 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1130 msgid "Hash-table maps have the following characteristics:"
1131 msgstr ""
1132 "Les mappes table de hachage (hash-table) présentent les caractéristiques "
1133 "suivantes :"
1134
1135 #. type: Plain text
1136 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1137 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1138 msgid ""
1139 "Maps are created and destroyed by user-space programs. Both user-space and "
1140 "eBPF programs can perform lookup, update, and delete operations."
1141 msgstr ""
1142 "Les mappes sont créées et détruites par les programmes dans l'espace "
1143 "utilisateur. Tant les programmes eBPF que ceux de l'espace utilisateur "
1144 "peuvent effectuer des opérations de recherche, de mise à jour et "
1145 "d'effacement."
1146
1147 #. type: Plain text
1148 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1149 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1150 msgid "The kernel takes care of allocating and freeing key/value pairs."
1151 msgstr "Le noyau se charge d'allouer et de libérer les paires clé/valeur."
1152
1153 #. type: Plain text
1154 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1155 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1156 msgid ""
1157 "The B<map_update_elem>() helper will fail to insert new element when the "
1158 "I<max_entries> limit is reached. (This ensures that eBPF programs cannot "
1159 "exhaust memory.)"
1160 msgstr ""
1161 "L'aide B<map_update_elem>() échouera si vous insérez un nouvel élément quand "
1162 "la limite I<max_entries> est atteinte (cela garantit que les programmes eBPF "
1163 "ne peuvent pas épuiser la mémoire)."
1164
1165 #. type: Plain text
1166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1168 msgid "B<map_update_elem>() replaces existing elements atomically."
1169 msgstr "B<map_update_elem>() remplace atomiquement les éléments existants."
1170
1171 #. type: Plain text
1172 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1173 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1174 msgid "Hash-table maps are optimized for speed of lookup."
1175 msgstr ""
1176 "Les mappes table de hachage (hash-table) sont optimisées pour accélérer la "
1177 "recherche."
1178
1179 #. type: TP
1180 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1181 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1182 #, no-wrap
1183 msgid "B<BPF_MAP_TYPE_ARRAY>"
1184 msgstr "B<BPF_MAP_TYPE_ARRAY>"
1185
1186 #. commit 28fbcfa08d8ed7c5a50d41a0433aad222835e8e3
1187 #. type: Plain text
1188 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1189 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1190 msgid "Array maps have the following characteristics:"
1191 msgstr "Les mappes tableau (array) présentent les caractéristiques suivantes :"
1192
1193 #. type: Plain text
1194 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1195 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1196 msgid ""
1197 "Optimized for fastest possible lookup. In the future the verifier/JIT "
1198 "compiler may recognize lookup() operations that employ a constant key and "
1199 "optimize it into constant pointer. It is possible to optimize a non-"
1200 "constant key into direct pointer arithmetic as well, since pointers and "
1201 "I<value_size> are constant for the life of the eBPF program. In other "
1202 "words, B<array_map_lookup_elem>() may be 'inlined' by the verifier/JIT "
1203 "compiler while preserving concurrent access to this map from user space."
1204 msgstr ""
1205 "Elles sont optimisées pour une recherche plus rapide. À l'avenir, le "
1206 "compilateur du vérificateur/JIT pourrait reconnaître les opérations "
1207 "B<lookup>() qui utilisent une clé constante et l'optimiser dans un pointeur "
1208 "constant. Il est également possible d'optimiser une clé non constante dans "
1209 "un pointeur arithmétique direct, car les pointeurs et les I<value_size> sont "
1210 "constants durant toute la vie des programmes eBPF. En d'autres termes, "
1211 "B<array_map_lookup_elem>() peut être mise « inline » par le compilateur du "
1212 "vérificateur/JIT tout en préservant l'accès concurrent à cette mappe à "
1213 "partir de l'espace utilisateur."
1214
1215 #. type: Plain text
1216 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1217 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1218 msgid "All array elements pre-allocated and zero initialized at init time"
1219 msgstr ""
1220 "Tous les éléments du tableau sont préalloués et initialisés à zéro au moment "
1221 "de l'initialisation"
1222
1223 #. type: Plain text
1224 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1225 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1226 msgid "The key is an array index, and must be exactly four bytes."
1227 msgstr ""
1228 "La clé est un indice de tableau et doit être exactement de quatre octets."
1229
1230 #. type: Plain text
1231 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1232 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1233 msgid ""
1234 "B<map_delete_elem>() fails with the error B<EINVAL>, since elements cannot "
1235 "be deleted."
1236 msgstr ""
1237 "B<map_delete_elem>() échoue avec l'erreur B<EINVAL>, car les éléments ne "
1238 "peuvent pas être effacés."
1239
1240 #. type: Plain text
1241 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1242 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1243 msgid ""
1244 "B<map_update_elem>() replaces elements in a B<nonatomic> fashion; for "
1245 "atomic updates, a hash-table map should be used instead. There is however "
1246 "one special case that can also be used with arrays: the atomic built-in "
1247 "B<__sync_fetch_and_add()> can be used on 32 and 64 bit atomic counters. For "
1248 "example, it can be applied on the whole value itself if it represents a "
1249 "single counter, or in case of a structure containing multiple counters, it "
1250 "could be used on individual counters. This is quite often useful for "
1251 "aggregation and accounting of events."
1252 msgstr ""
1253 "B<map_update_elem>() remplace les éléments de manière B<non atomique> ; pour "
1254 "des mises à jour atomiques, vous devriez plutôt utiliser une mappe table de "
1255 "hachage (hash-table). Toutefois, il existe un cas particulier qui peut aussi "
1256 "être utilisé avec les tableaux : le B<__sync_fetch_and_add()> interne "
1257 "atomique peut être utilisé sur des compteurs atomiques en 32 ou 64 bits. Par "
1258 "exemple, il peut s'appliquer sur la valeur entière si elle représente un "
1259 "compteur unique ou, si une structure contient plusieurs compteurs, il "
1260 "pourrait être utilisé sur des compteurs individuels. Cela est très souvent "
1261 "utile pour agréger et compter des événements."
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 "Among the uses for array maps are the following:"
1267 msgstr "Voici quelques cas d'usage des mappes tableau (array) :"
1268
1269 #. type: Plain text
1270 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1271 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1272 msgid ""
1273 "As \"global\" eBPF variables: an array of 1 element whose key is (index) 0 "
1274 "and where the value is a collection of 'global' variables which eBPF "
1275 "programs can use to keep state between events."
1276 msgstr ""
1277 "Sous forme de variables eBPF « globales » : un tableau d’un élément dont la "
1278 "clé (indice) est B<0> et dont la valeur est un ensemble de variables "
1279 "« globales » que les programmes eBPF peuvent utiliser pour conserver leur "
1280 "état entre les événements."
1281
1282 #. type: Plain text
1283 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1284 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1285 msgid "Aggregation of tracing events into a fixed set of buckets."
1286 msgstr ""
1287 "Agrégation d'événements de traçage dans un ensemble fixe de « buckets »."
1288
1289 #. type: Plain text
1290 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1291 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1292 msgid ""
1293 "Accounting of networking events, for example, number of packets and packet "
1294 "sizes."
1295 msgstr ""
1296 "Comptabilité des événements réseaux, par exemple le nombre de paquets et "
1297 "leur taille."
1298
1299 #. type: TP
1300 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1301 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1302 #, no-wrap
1303 msgid "B<BPF_MAP_TYPE_PROG_ARRAY> (since Linux 4.2)"
1304 msgstr "B<BPF_MAP_TYPE_PROG_ARRAY> (depuis Linux 4.2)"
1305
1306 #. type: Plain text
1307 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1308 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1309 msgid ""
1310 "A program array map is a special kind of array map whose map values contain "
1311 "only file descriptors referring to other eBPF programs. Thus, both the "
1312 "I<key_size> and I<value_size> must be exactly four bytes. This map is used "
1313 "in conjunction with the B<bpf_tail_call>() helper."
1314 msgstr ""
1315 "Une mappe tableau de programmes est un type spécial de mappe tableau dont "
1316 "les valeurs ne contiennent que des descripteurs de fichier qui se rapportent "
1317 "à d'autres programmes eBPF. Ainsi, tant I<key_size> que I<value_size> "
1318 "doivent être d'exactement quatre octets. Cette mappe est utilisée en "
1319 "association avec l'aide B<bpf_tail_call>()."
1320
1321 #. type: Plain text
1322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1324 msgid ""
1325 "This means that an eBPF program with a program array map attached to it can "
1326 "call from kernel side into"
1327 msgstr ""
1328 "Cela signifie qu'un programme eBPF auquel est rattaché un tableau de "
1329 "programmes (program array) peut appeler à partir du noyau"
1330
1331 #. type: Plain text
1332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1333 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1334 #, no-wrap
1335 msgid ""
1336 "void bpf_tail_call(void *context, void *prog_map,\n"
1337 " unsigned int index);\n"
1338 msgstr ""
1339 "void bpf_tail_call(void *context, void *prog_map,\n"
1340 " unsigned int index);\n"
1341
1342 #. type: Plain text
1343 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1344 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1345 msgid ""
1346 "and therefore replace its own program flow with the one from the program at "
1347 "the given program array slot, if present. This can be regarded as kind of a "
1348 "jump table to a different eBPF program. The invoked program will then reuse "
1349 "the same stack. When a jump into the new program has been performed, it "
1350 "won't return to the old program anymore."
1351 msgstr ""
1352 "et donc remplacer le flux de son propre programme par celui du programme sur "
1353 "la tranche du tableau de programmes donné s'il y en a un. Vous pouvez "
1354 "considérer cela comme un saut de tableau vers un autre programme eBPF. Le "
1355 "programme appelé réutilisera ensuite la même pile. Quand un saut vers un "
1356 "nouveau programme a été fait, il ne renverra plus à l'ancien programme."
1357
1358 #. MAX_TAIL_CALL_CNT
1359 #. type: Plain text
1360 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1361 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1362 msgid ""
1363 "If no eBPF program is found at the given index of the program array (because "
1364 "the map slot doesn't contain a valid program file descriptor, the specified "
1365 "lookup index/key is out of bounds, or the limit of 32 nested calls has been "
1366 "exceed), execution continues with the current eBPF program. This can be "
1367 "used as a fall-through for default cases."
1368 msgstr ""
1369 "Si aucun programme eBPF n'est trouvé sur l'indice donné du tableau de "
1370 "programmes (car la tranche de la mappe ne contient pas de descripteur de "
1371 "fichier de programme valable, la recherche d'indice/clé indiquée dépasse la "
1372 "plage ou la limite de 32 appels en interne a été dépassée), l'exécution "
1373 "continue avec le programme eBPF actuel. Cela peut être utilisé comme "
1374 "solution de repli pour les cas par défaut."
1375
1376 #. type: Plain text
1377 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1378 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1379 msgid ""
1380 "A program array map is useful, for example, in tracing or networking, to "
1381 "handle individual system calls or protocols in their own subprograms and use "
1382 "their identifiers as an individual map index. This approach may result in "
1383 "performance benefits, and also makes it possible to overcome the maximum "
1384 "instruction limit of a single eBPF program. In dynamic environments, a user-"
1385 "space daemon might atomically replace individual subprograms at run-time "
1386 "with newer versions to alter overall program behavior, for instance, if "
1387 "global policies change."
1388 msgstr ""
1389 "Une mappe tableau de programmes sert, par exemple, à tracer ou mettre en "
1390 "réseau, à gérer des appels système individuels ou des protocoles dans leurs "
1391 "propres sous-programmes et à utiliser leurs identifiants comme identifiant "
1392 "individuel de mappe. Cette approche peut apporter des gains de performance "
1393 "et permet de dépasser la limite du nombre d'instructions d'un programme "
1394 "eBPF. Dans des environnements dynamiques, un démon de l'espace utilisateur "
1395 "pourrait remplacer de manière atomique des sous-programmes au moment de leur "
1396 "exécution par de nouvelles versions, pour modifier le comportement général "
1397 "d'un programme, par exemple, si les règles globales changent."
1398
1399 #. type: SS
1400 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1401 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1402 #, no-wrap
1403 msgid "eBPF programs"
1404 msgstr "Programmes eBPF"
1405
1406 #. type: Plain text
1407 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1408 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1409 msgid ""
1410 "The B<BPF_PROG_LOAD> command is used to load an eBPF program into the "
1411 "kernel. The return value for this command is a new file descriptor "
1412 "associated with this eBPF program."
1413 msgstr ""
1414 "La commande B<BPF_PROG_LOAD> est utilisée pour charger un programme eBPF "
1415 "dans le noyau. Le code de retour de cette commande est un nouveau "
1416 "descripteur de fichier associé à ce programme eBPF."
1417
1418 #. type: Plain text
1419 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1420 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1421 #, no-wrap
1422 msgid ""
1423 "char bpf_log_buf[LOG_BUF_SIZE];\n"
1424 "\\&\n"
1425 "int\n"
1426 "bpf_prog_load(enum bpf_prog_type type,\n"
1427 " const struct bpf_insn *insns, int insn_cnt,\n"
1428 " const char *license)\n"
1429 "{\n"
1430 " union bpf_attr attr = {\n"
1431 " .prog_type = type,\n"
1432 " .insns = ptr_to_u64(insns),\n"
1433 " .insn_cnt = insn_cnt,\n"
1434 " .license = ptr_to_u64(license),\n"
1435 " .log_buf = ptr_to_u64(bpf_log_buf),\n"
1436 " .log_size = LOG_BUF_SIZE,\n"
1437 " .log_level = 1,\n"
1438 " };\n"
1439 "\\&\n"
1440 " return bpf(BPF_PROG_LOAD, &attr, sizeof(attr));\n"
1441 "}\n"
1442 msgstr ""
1443 "char bpf_log_buf[LOG_BUF_SIZE];\n"
1444 "\\&\n"
1445 "int\n"
1446 "bpf_prog_load(enum bpf_prog_type type,\n"
1447 " const struct bpf_insn *insns, int insn_cnt,\n"
1448 " const char *license)\n"
1449 "{\n"
1450 " union bpf_attr attr = {\n"
1451 " .prog_type = type,\n"
1452 " .insns = ptr_to_u64(insns),\n"
1453 " .insn_cnt = insn_cnt,\n"
1454 " .license = ptr_to_u64(license),\n"
1455 " .log_buf = ptr_to_u64(bpf_log_buf),\n"
1456 " .log_size = LOG_BUF_SIZE,\n"
1457 " .log_level = 1,\n"
1458 " };\n"
1459 "\\&\n"
1460 " return bpf(BPF_PROG_LOAD, &attr, sizeof(attr));\n"
1461 "}\n"
1462
1463 #. type: Plain text
1464 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1465 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1466 msgid "I<prog_type> is one of the available program types:"
1467 msgstr "I<prog_type> est un des types de programme suivants :"
1468
1469 #. type: Plain text
1470 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1471 #: opensuse-tumbleweed
1472 #, no-wrap
1473 msgid ""
1474 "enum bpf_prog_type {\n"
1475 " BPF_PROG_TYPE_UNSPEC, /* Reserve 0 as invalid\n"
1476 " program type */\n"
1477 " BPF_PROG_TYPE_SOCKET_FILTER,\n"
1478 " BPF_PROG_TYPE_KPROBE,\n"
1479 " BPF_PROG_TYPE_SCHED_CLS,\n"
1480 " BPF_PROG_TYPE_SCHED_ACT,\n"
1481 " BPF_PROG_TYPE_TRACEPOINT,\n"
1482 " BPF_PROG_TYPE_XDP,\n"
1483 " BPF_PROG_TYPE_PERF_EVENT,\n"
1484 " BPF_PROG_TYPE_CGROUP_SKB,\n"
1485 " BPF_PROG_TYPE_CGROUP_SOCK,\n"
1486 " BPF_PROG_TYPE_LWT_IN,\n"
1487 " BPF_PROG_TYPE_LWT_OUT,\n"
1488 " BPF_PROG_TYPE_LWT_XMIT,\n"
1489 " BPF_PROG_TYPE_SOCK_OPS,\n"
1490 " BPF_PROG_TYPE_SK_SKB,\n"
1491 " BPF_PROG_TYPE_CGROUP_DEVICE,\n"
1492 " BPF_PROG_TYPE_SK_MSG,\n"
1493 " BPF_PROG_TYPE_RAW_TRACEPOINT,\n"
1494 " BPF_PROG_TYPE_CGROUP_SOCK_ADDR,\n"
1495 " BPF_PROG_TYPE_LWT_SEG6LOCAL,\n"
1496 " BPF_PROG_TYPE_LIRC_MODE2,\n"
1497 " BPF_PROG_TYPE_SK_REUSEPORT,\n"
1498 " BPF_PROG_TYPE_FLOW_DISSECTOR,\n"
1499 " /* See /usr/include/linux/bpf.h for the full list. */\n"
1500 "};\n"
1501 msgstr ""
1502 "enum bpf_prog_type {\n"
1503 " BPF_PROG_TYPE_UNSPEC, /* Réserver 0 comme type de programme\n"
1504 " non valable */\n"
1505 " BPF_PROG_TYPE_SOCKET_FILTER,\n"
1506 " BPF_PROG_TYPE_KPROBE,\n"
1507 " BPF_PROG_TYPE_SCHED_CLS,\n"
1508 " BPF_PROG_TYPE_SCHED_ACT,\n"
1509 " BPF_PROG_TYPE_TRACEPOINT,\n"
1510 " BPF_PROG_TYPE_XDP,\n"
1511 " BPF_PROG_TYPE_PERF_EVENT,\n"
1512 " BPF_PROG_TYPE_CGROUP_SKB,\n"
1513 " BPF_PROG_TYPE_CGROUP_SOCK,\n"
1514 " BPF_PROG_TYPE_LWT_IN,\n"
1515 " BPF_PROG_TYPE_LWT_OUT,\n"
1516 " BPF_PROG_TYPE_LWT_XMIT,\n"
1517 " BPF_PROG_TYPE_SOCK_OPS,\n"
1518 " BPF_PROG_TYPE_SK_SKB,\n"
1519 " BPF_PROG_TYPE_CGROUP_DEVICE,\n"
1520 " BPF_PROG_TYPE_SK_MSG,\n"
1521 " BPF_PROG_TYPE_RAW_TRACEPOINT,\n"
1522 " BPF_PROG_TYPE_CGROUP_SOCK_ADDR,\n"
1523 " BPF_PROG_TYPE_LWT_SEG6LOCAL,\n"
1524 " BPF_PROG_TYPE_LIRC_MODE2,\n"
1525 " BPF_PROG_TYPE_SK_REUSEPORT,\n"
1526 " BPF_PROG_TYPE_FLOW_DISSECTOR,\n"
1527 " /* Voir /usr/include/linux/bpf.h pour la liste complète. */\n"
1528 "};\n"
1529
1530 #. type: Plain text
1531 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1532 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1533 msgid "For further details of eBPF program types, see below."
1534 msgstr "Pour plus de détails sur le type de programme eBPF, voir ci-dessous."
1535
1536 #. type: Plain text
1537 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1538 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1539 msgid "The remaining fields of I<bpf_attr> are set as follows:"
1540 msgstr "Les autres champs de I<bpf_attr> sont définis comme suit :"
1541
1542 #. type: Plain text
1543 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1544 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1545 msgid "I<insns> is an array of I<struct bpf_insn> instructions."
1546 msgstr "I<insns> est un tableau d'instructions I<struct bpf_insn>."
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 "I<insn_cnt> is the number of instructions in the program referred to by "
1553 "I<insns>."
1554 msgstr ""
1555 "I<insn_cnt> est le nombre d'instructions du programme auquel se rapporte "
1556 "I<insns>."
1557
1558 #. type: Plain text
1559 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1560 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1561 msgid ""
1562 "I<license> is a license string, which must be GPL compatible to call helper "
1563 "functions marked I<gpl_only>. (The licensing rules are the same as for "
1564 "kernel modules, so that also dual licenses, such as \"Dual BSD/GPL\", may be "
1565 "used.)"
1566 msgstr ""
1567 "I<license> est une chaîne de licence, qui doit être compatible GPL pour "
1568 "appeler les fonctions d'aide marquées comme I<gpl_only> (les règles de "
1569 "licence sont les mêmes que celles pour les modules du noyau, pour que même "
1570 "des licences duales, telles que « Dual BSD/GPL », puissent être utilisées)."
1571
1572 #. type: Plain text
1573 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1574 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1575 msgid ""
1576 "I<log_buf> is a pointer to a caller-allocated buffer in which the in-kernel "
1577 "verifier can store the verification log. This log is a multi-line string "
1578 "that can be checked by the program author in order to understand how the "
1579 "verifier came to the conclusion that the eBPF program is unsafe. The format "
1580 "of the output can change at any time as the verifier evolves."
1581 msgstr ""
1582 "I<log_buf> est un pointeur vers un tampon alloué à l’appelant (caller-"
1583 "allocated) où le vérificateur du noyau peut stocker le journal de sa "
1584 "vérification. Ce journal est une chaîne de plusieurs lignes qui peut être "
1585 "vérifiée par l'auteur du programme pour comprendre la manière par laquelle "
1586 "le vérificateur est arrivé à la conclusion que le programme eBPF n'est pas "
1587 "sûr. Le format de sortie peut changer n'importe quand puisque le "
1588 "vérificateur évolue."
1589
1590 #. type: Plain text
1591 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1592 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1593 msgid ""
1594 "I<log_size> size of the buffer pointed to by I<log_buf>. If the size of the "
1595 "buffer is not large enough to store all verifier messages, -1 is returned "
1596 "and I<errno> is set to B<ENOSPC>."
1597 msgstr ""
1598 "I<log_size> dimensionne le tampon vers lequel pointe I<log_buf>. Si la "
1599 "taille du tampon n'est pas assez grande pour stocker tous les messages du "
1600 "vérificateur, B<-1> est renvoyé et I<errno> est positionné sur B<ENOSPC>."
1601
1602 #. type: Plain text
1603 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1604 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1605 msgid ""
1606 "I<log_level> verbosity level of the verifier. A value of zero means that "
1607 "the verifier will not provide a log; in this case, I<log_buf> must be a null "
1608 "pointer, and I<log_size> must be zero."
1609 msgstr ""
1610 "Le niveau de précisions I<log_level> du vérificateur. Une valeur de zéro "
1611 "signifie que le vérificateur ne génèrera aucun journal ; dans ce cas "
1612 "I<log_buf> doit être un pointeur NULL et I<log_size> doit valoir zéro."
1613
1614 #. type: Plain text
1615 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1616 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1617 msgid ""
1618 "Applying B<close>(2) to the file descriptor returned by B<BPF_PROG_LOAD> "
1619 "will unload the eBPF program (but see NOTES)."
1620 msgstr ""
1621 "Le fait d'appliquer B<close>(2) au descripteur de fichier renvoyé par "
1622 "B<BPF_PROG_LOAD> déchargera le programme eBPF (mais voir les REMARQUES)."
1623
1624 #. type: Plain text
1625 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1626 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1627 msgid ""
1628 "Maps are accessible from eBPF programs and are used to exchange data between "
1629 "eBPF programs and between eBPF programs and user-space programs. For "
1630 "example, eBPF programs can process various events (like kprobe, packets) and "
1631 "store their data into a map, and user-space programs can then fetch data "
1632 "from the map. Conversely, user-space programs can use a map as a "
1633 "configuration mechanism, populating the map with values checked by the eBPF "
1634 "program, which then modifies its behavior on the fly according to those "
1635 "values."
1636 msgstr ""
1637 "Les mappes sont accessibles à partir des programmes eBPF et elles sont "
1638 "utilisées pour échanger des données entre des programmes eBPF et entre des "
1639 "programmes eBPF et d'autres de l'espace utilisateur. Par exemple, des "
1640 "programmes eBPF peuvent traiter divers événements (comme kprobe, packets) et "
1641 "stocker leurs données dans une mappe, et les programmes de l'espace "
1642 "utilisateur peuvent alors récupérer ces données dans la mappe. Inversement, "
1643 "des programmes de l'espace utilisateur peuvent utiliser une mappe en tant "
1644 "que mécanisme de configuration, la mappe étant peuplée par des valeurs "
1645 "vérifiées par le programme eBPF qui modifie ensuite son comportement à la "
1646 "volée en fonction de ces valeurs. "
1647
1648 #. type: SS
1649 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1650 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1651 #, no-wrap
1652 msgid "eBPF program types"
1653 msgstr "Types de programme eBPF"
1654
1655 #
1656 #. #-#-#-#-# archlinux: bpf.2.pot (PACKAGE VERSION) #-#-#-#-#
1657 #. FIXME
1658 #. Somewhere in this page we need a general introduction to the
1659 #. bpf_context. For example, how does a BPF program access the
1660 #. context?
1661 #. type: Plain text
1662 #. #-#-#-#-# debian-trixie: bpf.2.pot (PACKAGE VERSION) #-#-#-#-#
1663 #. FIXME
1664 #. Somewhere in this page we need a general introduction to the
1665 #. bpf_context. For example, how does a BPF program access the
1666 #. context?
1667 #. type: Plain text
1668 #. #-#-#-#-# debian-unstable: bpf.2.pot (PACKAGE VERSION) #-#-#-#-#
1669 #. FIXME
1670 #. Somewhere in this page we need a general introduction to the
1671 #. bpf_context. For example, how does a BPF program access the
1672 #. context?
1673 #. type: Plain text
1674 #. #-#-#-#-# fedora-44: bpf.2.pot (PACKAGE VERSION) #-#-#-#-#
1675 #. FIXME
1676 #. Somewhere in this page we need a general introduction to the
1677 #. bpf_context. For example, how does a BPF program access the
1678 #. context?
1679 #. type: Plain text
1680 #. #-#-#-#-# fedora-rawhide: bpf.2.pot (PACKAGE VERSION) #-#-#-#-#
1681 #. FIXME
1682 #. Somewhere in this page we need a general introduction to the
1683 #. bpf_context. For example, how does a BPF program access the
1684 #. context?
1685 #. type: Plain text
1686 #. #-#-#-#-# mageia-cauldron: bpf.2.pot (PACKAGE VERSION) #-#-#-#-#
1687 #. FIXME
1688 #. Somewhere in this page we need a general introduction to the
1689 #. bpf_context. For example, how does a BPF program access the
1690 #. context?
1691 #. type: Plain text
1692 #. #-#-#-#-# opensuse-leap-16-1: bpf.2.pot (PACKAGE VERSION) #-#-#-#-#
1693 #. FIXME
1694 #. Somewhere in this page we need a general introduction to the
1695 #. bpf_context. For example, how does a BPF program access the
1696 #. context?
1697 #. type: Plain text
1698 #. #-#-#-#-# opensuse-tumbleweed: bpf.2.pot (PACKAGE VERSION) #-#-#-#-#
1699 #. FIXME
1700 #. Somewhere in this page we need a general introduction to the
1701 #. bpf_context. For example, how does a BPF program access the
1702 #. context?
1703 #. type: Plain text
1704 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1705 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1706 msgid ""
1707 "The eBPF program type (I<prog_type>) determines the subset of kernel helper "
1708 "functions that the program may call. The program type also determines the "
1709 "program input (context)\\[em]the format of I<struct bpf_context> (which is "
1710 "the data blob passed into the eBPF program as the first argument)."
1711 msgstr ""
1712 "Le type de programme eBPF (I<prog_type>) détermine le sous-ensemble de "
1713 "fonctions d'aide du noyau que peut appeler le programme. Le type de "
1714 "programme détermine également le format d'entrée du programme (contexte) –"
1715 " le format de I<struct bpf_context> (qui est le blob de données passé au "
1716 "programme eBPF en tant que premier paramètre)."
1717
1718 #. type: Plain text
1719 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1720 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1721 msgid ""
1722 "For example, a tracing program does not have the exact same subset of helper "
1723 "functions as a socket filter program (though they may have some helpers in "
1724 "common). Similarly, the input (context) for a tracing program is a set of "
1725 "register values, while for a socket filter it is a network packet."
1726 msgstr ""
1727 "Par exemple, un programme de traçage n'a pas exactement le même sous-jeu de "
1728 "fonctions d'aide qu'un programme de filtrage de socket (bien qu'ils peuvent "
1729 "en avoir en commun). De même l'entrée (le contexte) d'un programme de "
1730 "traçage est un jeu de valeurs de registre, alors que ce sera un paquet "
1731 "réseau pour le filtrage de socket."
1732
1733 #. type: Plain text
1734 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1735 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1736 msgid ""
1737 "The set of functions available to eBPF programs of a given type may increase "
1738 "in the future."
1739 msgstr ""
1740 "Le jeu de fonctions disponibles pour les programmes eBPF d'un type donné "
1741 "pourra augmenter dans le futur."
1742
1743 #. type: Plain text
1744 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1745 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1746 msgid "The following program types are supported:"
1747 msgstr "Les types de programmes suivants sont pris en charge :"
1748
1749 #. type: TP
1750 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1751 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1752 #, no-wrap
1753 msgid "B<BPF_PROG_TYPE_SOCKET_FILTER> (since Linux 3.19)"
1754 msgstr "B<BPF_PROG_TYPE_SOCKET_FILTER> (depuis Linux 3.19)"
1755
1756 #. type: Plain text
1757 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1758 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1759 msgid "Currently, the set of functions for B<BPF_PROG_TYPE_SOCKET_FILTER> is:"
1760 msgstr ""
1761 "Actuellement, le jeu de fonctions pour B<BPF_PROG_TYPE_SOCKET_FILTER> est :"
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 #, no-wrap
1767 msgid ""
1768 "bpf_map_lookup_elem(map_fd, void *key)\n"
1769 " /* look up key in a map_fd */\n"
1770 "bpf_map_update_elem(map_fd, void *key, void *value)\n"
1771 " /* update key/value */\n"
1772 "bpf_map_delete_elem(map_fd, void *key)\n"
1773 " /* delete key in a map_fd */\n"
1774 msgstr ""
1775 "bpf_map_lookup_elem(map_fd, void *key)\n"
1776 " /* rechercher la clé dans une map_fd */\n"
1777 "bpf_map_update_elem(map_fd, void *key, void *value)\n"
1778 " /* mettre à jour la clé/valeur */\n"
1779 "bpf_map_delete_elem(map_fd, void *key)\n"
1780 " /* effacer la clé d'une map_fd */\n"
1781
1782 #
1783 #. FIXME: We need some text here to explain how the program
1784 #. accesses __sk_buff.
1785 #. See 'struct __sk_buff' and commit 9bac3d6d548e5
1786 #. Alexei commented:
1787 #. Actually now in case of SOCKET_FILTER, SCHED_CLS, SCHED_ACT
1788 #. the program can now access skb fields.
1789 #. type: Plain text
1790 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1791 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1792 msgid "The I<bpf_context> argument is a pointer to a I<struct __sk_buff>."
1793 msgstr ""
1794 "Le paramètre I<bpf_context> est un pointeur vers une I<struct __sk_buff>."
1795
1796 #. type: TP
1797 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1798 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1799 #, no-wrap
1800 msgid "B<BPF_PROG_TYPE_KPROBE> (since Linux 4.1)"
1801 msgstr "B<BPF_PROG_TYPE_KPROBE> (depuis Linux 4.1)"
1802
1803 #. commit 94caee8c312d96522bcdae88791aaa9ebcd5f22c
1804 #. commit a8cb5f556b567974d75ea29c15181c445c541b1f
1805 #. FIXME Document this program type
1806 #. Describe allowed helper functions for this program type
1807 #. Describe bpf_context for this program type
1808 #. type: Plain text
1809 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1810 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1811 msgid "[To be documented]"
1812 msgstr "[À documenter]"
1813
1814 #. type: TP
1815 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1816 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1817 #, no-wrap
1818 msgid "B<BPF_PROG_TYPE_SCHED_CLS> (since Linux 4.1)"
1819 msgstr "B<BPF_PROG_TYPE_SCHED_CLS> (depuis Linux 4.1)"
1820
1821 #. type: TP
1822 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1823 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1824 #, no-wrap
1825 msgid "B<BPF_PROG_TYPE_SCHED_ACT> (since Linux 4.1)"
1826 msgstr "B<BPF_PROG_TYPE_SCHED_ACT> (depuis Linux 4.1)"
1827
1828 #. type: SS
1829 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1830 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1831 #, no-wrap
1832 msgid "Events"
1833 msgstr "Événements"
1834
1835 #. type: Plain text
1836 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1837 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1838 msgid ""
1839 "Once a program is loaded, it can be attached to an event. Various kernel "
1840 "subsystems have different ways to do so."
1841 msgstr ""
1842 "Une fois qu'un programme est chargé, il peut être rattaché à un événement. "
1843 "Divers sous-systèmes du noyau ont plusieurs manières de le faire."
1844
1845 #. commit 89aa075832b0da4402acebd698d0411dcc82d03e
1846 #. type: Plain text
1847 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1848 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1849 msgid ""
1850 "Since Linux 3.19, the following call will attach the program I<prog_fd> to "
1851 "the socket I<sockfd>, which was created by an earlier call to B<socket>(2):"
1852 msgstr ""
1853 "Depuis Linux 3.19, l'appel suivant rattachera le programme I<prog_fd> au "
1854 "socket I<sockfd>, qui a été précédemment créé par un appel B<socket>(2) :"
1855
1856 #. type: Plain text
1857 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1858 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1859 #, no-wrap
1860 msgid ""
1861 "setsockopt(sockfd, SOL_SOCKET, SO_ATTACH_BPF,\n"
1862 " &prog_fd, sizeof(prog_fd));\n"
1863 msgstr ""
1864 "setsockopt(sockfd, SOL_SOCKET, SO_ATTACH_BPF,\n"
1865 " &prog_fd, sizeof(prog_fd));\n"
1866
1867 #. commit 2541517c32be2531e0da59dfd7efc1ce844644f5
1868 #. type: Plain text
1869 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1870 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1871 msgid ""
1872 "Since Linux 4.1, the following call may be used to attach the eBPF program "
1873 "referred to by the file descriptor I<prog_fd> to a perf event file "
1874 "descriptor, I<event_fd>, that was created by a previous call to "
1875 "B<perf_event_open>(2):"
1876 msgstr ""
1877 "Depuis Linux 4.1, l'appel suivant peut être utilisé pour rattacher un "
1878 "programme eBPF auquel se rapporte le descripteur de fichier I<prog_fd> à un "
1879 "descripteur de fichier d'événement I<perf>, I<event_fd>, créé par un appel "
1880 "précédent à B<perf_event_open>(2) :"
1881
1882 #. type: Plain text
1883 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1884 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1885 #, no-wrap
1886 msgid "ioctl(event_fd, PERF_EVENT_IOC_SET_BPF, prog_fd);\n"
1887 msgstr "ioctl(event_fd, PERF_EVENT_IOC_SET_BPF, prog_fd);\n"
1888
1889 #. type: SH
1890 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1891 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1892 #, no-wrap
1893 msgid "RETURN VALUE"
1894 msgstr "VALEUR RENVOYÉE"
1895
1896 #. type: Plain text
1897 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1898 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1899 msgid "For a successful call, the return value depends on the operation:"
1900 msgstr ""
1901 "Pour qu'un appel réussisse, le code de retour dépend de l'opération\\ :"
1902
1903 #. type: Plain text
1904 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1905 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1906 msgid "The new file descriptor associated with the eBPF map."
1907 msgstr "Le nouveau descripteur de fichier associé à la mappe eBPF."
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 "The new file descriptor associated with the eBPF program."
1913 msgstr "Le nouveau descripteur de fichier associé au programme eBPF."
1914
1915 #. type: TP
1916 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1917 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1918 #, no-wrap
1919 msgid "All other commands"
1920 msgstr "Toutes les autres commandes\\ :"
1921
1922 #. type: Plain text
1923 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1924 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1925 msgid "Zero."
1926 msgstr "Zéro."
1927
1928 #. type: Plain text
1929 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1930 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1931 msgid "On error, -1 is returned, and I<errno> is set to indicate the error."
1932 msgstr ""
1933 "En cas d'erreur, la valeur de retour est B<-1> et I<errno> est définie pour "
1934 "préciser l'erreur."
1935
1936 #. type: SH
1937 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1938 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1939 #, no-wrap
1940 msgid "ERRORS"
1941 msgstr "ERREURS"
1942
1943 #. type: TP
1944 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1945 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1946 #, no-wrap
1947 msgid "B<E2BIG>"
1948 msgstr "B<E2BIG>"
1949
1950 #. type: Plain text
1951 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1952 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1953 msgid ""
1954 "The eBPF program is too large or a map reached the I<max_entries> limit "
1955 "(maximum number of elements)."
1956 msgstr ""
1957 "Le programme eBPF est trop grand ou une mappe a atteint la limite "
1958 "I<max_entries> (nombre maximal d'éléments)."
1959
1960 #. type: TP
1961 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1962 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1963 #, no-wrap
1964 msgid "B<EACCES>"
1965 msgstr "B<EACCES>"
1966
1967 #. type: Plain text
1968 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1969 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1970 msgid ""
1971 "For B<BPF_PROG_LOAD>, even though all program instructions are valid, the "
1972 "program has been rejected because it was deemed unsafe. This may be because "
1973 "it may have accessed a disallowed memory region or an uninitialized stack/"
1974 "register or because the function constraints don't match the actual types or "
1975 "because there was a misaligned memory access. In this case, it is "
1976 "recommended to call B<bpf>() again with I<log_level = 1> and examine "
1977 "I<log_buf> for the specific reason provided by the verifier."
1978 msgstr ""
1979 "Pour B<BPF_PROG_LOAD>, même si toutes les instructions du programme sont "
1980 "valables, le programme a été rejeté car il a été considéré comme non sûr. "
1981 "Cela est possible s'il a eu un accès à une zone de la mémoire interdite ou à "
1982 "une pile ou un registre non initialisé, ou parce que les contraintes de la "
1983 "fonction ne correspondent pas aux types réels, ou qu'il y a eu un accès "
1984 "mémoire non aligné. Dans ce cas, il est recommandé d'appeler B<bpf>() à "
1985 "nouveau, avec I<log_level = 1> et d'examiner le I<log_buf> pour connaître la "
1986 "raison exacte fournie par le vérificateur."
1987
1988 #. type: TP
1989 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1990 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1991 #, no-wrap
1992 msgid "B<EAGAIN>"
1993 msgstr "B<EAGAIN>"
1994
1995 #. type: Plain text
1996 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1997 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1998 msgid ""
1999 "For B<BPF_PROG_LOAD>, indicates that needed resources are blocked. This "
2000 "happens when the verifier detects pending signals while it is checking the "
2001 "validity of the bpf program. In this case, just call B<bpf>() again with "
2002 "the same parameters."
2003 msgstr ""
2004 "Pour B<BPF_PROG_LOAD>, indique que les ressources nécessaires sont bloquées. "
2005 "Cela se produit quand le vérificateur détecte des signaux en attente alors "
2006 "qu'il vérifie la validité du programme bpf. Dans ce cas, appeler à nouveau "
2007 "simplement B<bpf>() avec les mêmes paramètres."
2008
2009 #. type: TP
2010 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2011 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2012 #, no-wrap
2013 msgid "B<EBADF>"
2014 msgstr "B<EBADF>"
2015
2016 #. type: Plain text
2017 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2018 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2019 msgid "I<fd> is not an open file descriptor."
2020 msgstr "I<fd> n'est pas un descripteur de fichier ouvert"
2021
2022 #. type: TP
2023 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2024 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2025 #, no-wrap
2026 msgid "B<EFAULT>"
2027 msgstr "B<EFAULT>"
2028
2029 #. type: Plain text
2030 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2031 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2032 msgid ""
2033 "One of the pointers (I<key> or I<value> or I<log_buf> or I<insns>) is "
2034 "outside the accessible address space."
2035 msgstr ""
2036 "Un des pointeurs (I<key> ou I<value> ou I<log_buf> ou I<insns>) dépasse "
2037 "l'espace d'adressage accessible."
2038
2039 #. type: TP
2040 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2041 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2042 #, no-wrap
2043 msgid "B<EINVAL>"
2044 msgstr "B<EINVAL>"
2045
2046 #. type: Plain text
2047 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2048 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2049 msgid "The value specified in I<cmd> is not recognized by this kernel."
2050 msgstr "La valeur indiquée dans I<cmd> n'est pas reconnue par ce noyau."
2051
2052 #. type: Plain text
2053 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2054 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2055 msgid "For B<BPF_MAP_CREATE>, either I<map_type> or attributes are invalid."
2056 msgstr ""
2057 "Pour B<BPF_MAP_CREATE>, soit I<map_type>, soit les attributs ne sont pas "
2058 "autorisés."
2059
2060 #. type: Plain text
2061 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2062 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2063 msgid ""
2064 "For B<BPF_MAP_*_ELEM> commands, some of the fields of I<union bpf_attr> that "
2065 "are not used by this command are not set to zero."
2066 msgstr ""
2067 "Pour des commandes B<BPF_MAP_*_ELEM>, certains champs de I<union bpf_attr> "
2068 "non utilisés par cette commande n'ont pas été positionnés sur zéro."
2069
2070 #. type: Plain text
2071 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2072 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2073 msgid ""
2074 "For B<BPF_PROG_LOAD>, indicates an attempt to load an invalid program. eBPF "
2075 "programs can be deemed invalid due to unrecognized instructions, the use of "
2076 "reserved fields, jumps out of range, infinite loops or calls of unknown "
2077 "functions."
2078 msgstr ""
2079 "Pour B<BPF_PROG_LOAD>, indique une tentative de charger un programme non "
2080 "valable. Les programmes eBPF peuvent être jugés non valables du fait "
2081 "d'instructions non reconnues, de l'utilisation de champs réservés, de "
2082 "dépassements de plage, de boucles infinies ou d'appels à des fonctions "
2083 "inconnues."
2084
2085 #. type: TP
2086 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2087 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2088 #, no-wrap
2089 msgid "B<ENOENT>"
2090 msgstr "B<ENOENT>"
2091
2092 #. type: Plain text
2093 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2094 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2095 msgid ""
2096 "For B<BPF_MAP_LOOKUP_ELEM> or B<BPF_MAP_DELETE_ELEM>, indicates that the "
2097 "element with the given I<key> was not found."
2098 msgstr ""
2099 "Pour B<BPF_MAP_LOOKUP_ELEM> ou B<BPF_MAP_DELETE_ELEM>, indique qu'un élément "
2100 "avec la I<key> donnée n'a pas été trouvé."
2101
2102 #. type: TP
2103 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2104 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2105 #, no-wrap
2106 msgid "B<ENOMEM>"
2107 msgstr "B<ENOMEM>"
2108
2109 #. type: Plain text
2110 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2111 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2112 msgid "Cannot allocate sufficient memory."
2113 msgstr "Ne peut pas allouer suffisamment de mémoire."
2114
2115 #. type: TP
2116 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2117 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2118 #, no-wrap
2119 msgid "B<EPERM>"
2120 msgstr "B<EPERM>"
2121
2122 #. type: Plain text
2123 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2124 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2125 msgid ""
2126 "The call was made without sufficient privilege (without the B<CAP_SYS_ADMIN> "
2127 "capability)."
2128 msgstr ""
2129 "L'appel a été fait sans privilèges suffisants (sans la capacité "
2130 "B<CAP_SYS_ADMIN>)."
2131
2132 #. type: SH
2133 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2134 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2135 #, no-wrap
2136 msgid "STANDARDS"
2137 msgstr "NORMES"
2138
2139 #. type: Plain text
2140 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2141 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2142 msgid "Linux."
2143 msgstr "Linux."
2144
2145 #. type: SH
2146 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2147 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2148 #, no-wrap
2149 msgid "HISTORY"
2150 msgstr "HISTORIQUE"
2151
2152 #. type: Plain text
2153 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2154 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2155 msgid "Linux 3.18."
2156 msgstr "Linux 3.18."
2157
2158 #. type: SH
2159 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2160 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2161 #, no-wrap
2162 msgid "NOTES"
2163 msgstr "NOTES"
2164
2165 #. commit 1be7f75d1668d6296b80bf35dcf6762393530afc
2166 #. [Linux 5.6] mtk: The list of available functions is, I think, governed
2167 #. by the check in net/core/filter.c::bpf_base_func_proto().
2168 #. type: Plain text
2169 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2170 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2171 msgid ""
2172 "Prior to Linux 4.4, all B<bpf>() commands require the caller to have the "
2173 "B<CAP_SYS_ADMIN> capability. From Linux 4.4 onwards, an unprivileged user "
2174 "may create limited programs of type B<BPF_PROG_TYPE_SOCKET_FILTER> and "
2175 "associated maps. However they may not store kernel pointers within the maps "
2176 "and are presently limited to the following helper functions:"
2177 msgstr ""
2178 "Avant Linux 4.4, toutes les commandes B<bpf>() exigeaient que l'appelant ait "
2179 "la capacité B<CAP_SYS_ADMIN>. Depuis Linux 4.4 jusqu'à présent, un "
2180 "utilisateur non privilégié peut créer des programmes limités de type "
2181 "B<BPF_PROG_TYPE_SOCKET_FILTER> et mappes associées. Toutefois, ils ne "
2182 "peuvent pas stocker des pointeurs du noyau dans les mappes et ils sont "
2183 "actuellement limités aux fonctions d'aide suivantes :"
2184
2185 #. type: Plain text
2186 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2187 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2188 msgid "get_random"
2189 msgstr "get_random"
2190
2191 #. type: Plain text
2192 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2193 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2194 msgid "get_smp_processor_id"
2195 msgstr "get_smp_processor_id"
2196
2197 #. type: Plain text
2198 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2199 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2200 msgid "tail_call"
2201 msgstr "tail_call"
2202
2203 #. type: Plain text
2204 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2205 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2206 msgid "ktime_get_ns"
2207 msgstr "ktime_get_ns"
2208
2209 #. type: Plain text
2210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2212 msgid ""
2213 "Unprivileged access may be blocked by writing the value 1 to the file I</"
2214 "proc/sys/kernel/unprivileged_bpf_disabled>."
2215 msgstr ""
2216 "Un accès sans privilèges peut être bloqué en écrivant la valeur B<1> dans le "
2217 "fichier I</proc/sys/kernel/unprivileged_bpf_disabled>."
2218
2219 #. type: Plain text
2220 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2221 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2222 msgid ""
2223 "eBPF objects (maps and programs) can be shared between processes. For "
2224 "example, after B<fork>(2), the child inherits file descriptors referring to "
2225 "the same eBPF objects. In addition, file descriptors referring to eBPF "
2226 "objects can be transferred over UNIX domain sockets. File descriptors "
2227 "referring to eBPF objects can be duplicated in the usual way, using "
2228 "B<dup>(2) and similar calls. An eBPF object is deallocated only after all "
2229 "file descriptors referring to the object have been closed."
2230 msgstr ""
2231 "Les objets eBPF (les mappes et les programmes) peuvent être partagés entre "
2232 "les processus. Par exemple, après B<fork>(2), l'enfant récupère les "
2233 "descripteurs de fichier qui se rapportent aux mêmes objets eBPF. De plus, "
2234 "les descripteurs de fichier qui se rapportent aux objets eBPF peuvent être "
2235 "transférés à travers des sockets de domaine UNIX. Les descripteurs de "
2236 "fichier qui se rapportent aux objets eBPF peuvent être dupliqués de la "
2237 "manière habituelle, en utilisant B<dup>(2) ou des appels similaires. Un "
2238 "objet eBPF n'est désalloué qu'après que tous les descripteurs de fichier qui "
2239 "se rapportent à l'objet sont fermés."
2240
2241 #. There are also examples for the tc classifier, in the iproute2
2242 #. project, in examples/bpf
2243 #. type: Plain text
2244 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2245 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2246 msgid ""
2247 "eBPF programs can be written in a restricted C that is compiled (using the "
2248 "B<clang> compiler) into eBPF bytecode. Various features are omitted from "
2249 "this restricted C, such as loops, global variables, variadic functions, "
2250 "floating-point numbers, and passing structures as function arguments. Some "
2251 "examples can be found in the I<samples/bpf/*_kern.c> files in the kernel "
2252 "source tree."
2253 msgstr ""
2254 "Les programmes eBPF peuvent être écrits en C restreint compilé en bytecode "
2255 "eBPF (en utilisant le compilateur B<clang>). Diverses fonctionnalités sont "
2256 "absentes de ce C restreint, telles que les boucles, les variables globales, "
2257 "les fonctions variadiques, les nombres décimaux et le passage de structures "
2258 "comme paramètres d'une fonction. Vous pouvez trouver des exemples dans les "
2259 "fichiers I<samples/bpf/*_kern.c> de l'arborescence des sources du noyau."
2260
2261 #. type: Plain text
2262 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2263 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2264 msgid ""
2265 "The kernel contains a just-in-time (JIT) compiler that translates eBPF "
2266 "bytecode into native machine code for better performance. Before Linux "
2267 "4.15, the JIT compiler is disabled by default, but its operation can be "
2268 "controlled by writing one of the following integer strings to the file I</"
2269 "proc/sys/net/core/bpf_jit_enable>:"
2270 msgstr ""
2271 "Le noyau contient un compilateur « just-in-time (JIT) » qui traduit du "
2272 "bytecode eBPF en langage machine natif pour de meilleures performances. "
2273 "Avant Linux 4.15, le compilateur JIT est désactivé par défaut, mais ce qu'il "
2274 "fait peut être contrôlé en écrivant une des chaînes suivantes d’entiers dans "
2275 "le fichier I</proc/sys/net/core/bpf_jit_enable> :"
2276
2277 #. type: TP
2278 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2279 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2280 #, no-wrap
2281 msgid "B<0>"
2282 msgstr "B<0>"
2283
2284 #. type: Plain text
2285 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2286 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2287 msgid "Disable JIT compilation (default)."
2288 msgstr "Désactiver la compilation JIT (par défaut)."
2289
2290 #. type: TP
2291 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2292 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2293 #, no-wrap
2294 msgid "B<1>"
2295 msgstr "B<1>"
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 "Normal compilation."
2301 msgstr "Compilation normale."
2302
2303 #. type: TP
2304 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2305 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2306 #, no-wrap
2307 msgid "B<2>"
2308 msgstr "B<2>"
2309
2310 #. type: Plain text
2311 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2312 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2313 msgid ""
2314 "Debugging mode. The generated opcodes are dumped in hexadecimal into the "
2315 "kernel log. These opcodes can then be disassembled using the program "
2316 "I<tools/net/bpf_jit_disasm.c> provided in the kernel source tree."
2317 msgstr ""
2318 "Mode débogage. Les opcodes générés sont écrits en hexadécimal dans le "
2319 "journal du noyau. Ces opcodes peuvent alors être désassemblés avec le "
2320 "programme I<tools/net/bpf_jit_disasm.c> fourni dans l'arborescence des "
2321 "sources du noyau."
2322
2323 #. commit 290af86629b25ffd1ed6232c4e9107da031705cb
2324 #. type: Plain text
2325 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2326 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2327 msgid ""
2328 "Since Linux 4.15, the kernel may be configured with the "
2329 "B<CONFIG_BPF_JIT_ALWAYS_ON> option. In this case, the JIT compiler is "
2330 "always enabled, and the I<bpf_jit_enable> is initialized to 1 and is "
2331 "immutable. (This kernel configuration option was provided as a mitigation "
2332 "for one of the Spectre attacks against the BPF interpreter.)"
2333 msgstr ""
2334 "Depuis Linux 4.15, le noyau peut être configuré avec l'option "
2335 "B<CONFIG_BPF_JIT_ALWAYS_ON>. Dans ce cas, le compilateur JIT est toujours "
2336 "activé et I<bpf_jit_enable> est positionné sur B<1> et immuable (cette "
2337 "option de configuration du noyau est fournie pour contrer une des attaques "
2338 "Spectre contre l'interpréteur BPF)."
2339
2340 #. #-#-#-#-# archlinux: bpf.2.pot (PACKAGE VERSION) #-#-#-#-#
2341 #. type: Plain text
2342 #. #-#-#-#-# debian-trixie: bpf.2.pot (PACKAGE VERSION) #-#-#-#-#
2343 #. Last reviewed in Linux 4.18-rc by grepping for BPF_ALU64 in arch/
2344 #. and by checking the documentation for bpf_jit_enable in
2345 #. Documentation/sysctl/net.txt
2346 #. type: Plain text
2347 #. #-#-#-#-# debian-unstable: bpf.2.pot (PACKAGE VERSION) #-#-#-#-#
2348 #. type: Plain text
2349 #. #-#-#-#-# fedora-44: bpf.2.pot (PACKAGE VERSION) #-#-#-#-#
2350 #. Last reviewed in Linux 4.18-rc by grepping for BPF_ALU64 in arch/
2351 #. and by checking the documentation for bpf_jit_enable in
2352 #. Documentation/sysctl/net.txt
2353 #. type: Plain text
2354 #. #-#-#-#-# fedora-rawhide: bpf.2.pot (PACKAGE VERSION) #-#-#-#-#
2355 #. Last reviewed in Linux 4.18-rc by grepping for BPF_ALU64 in arch/
2356 #. and by checking the documentation for bpf_jit_enable in
2357 #. Documentation/sysctl/net.txt
2358 #. type: Plain text
2359 #. #-#-#-#-# mageia-cauldron: bpf.2.pot (PACKAGE VERSION) #-#-#-#-#
2360 #. type: Plain text
2361 #. #-#-#-#-# opensuse-leap-16-1: bpf.2.pot (PACKAGE VERSION) #-#-#-#-#
2362 #. type: Plain text
2363 #. #-#-#-#-# opensuse-tumbleweed: bpf.2.pot (PACKAGE VERSION) #-#-#-#-#
2364 #. type: Plain text
2365 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2366 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2367 msgid ""
2368 "The JIT compiler for eBPF is currently available for the following "
2369 "architectures:"
2370 msgstr ""
2371 "Le compilateur JIT pour eBPF est actuellement disponible pour les "
2372 "architectures suivantes :"
2373
2374 #. commit 0a14842f5a3c0e88a1e59fac5c3025db39721f74
2375 #. type: Plain text
2376 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2377 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2378 msgid "x86-64 (since Linux 3.18; cBPF since Linux 3.0);"
2379 msgstr "x86-64 (depuis Linux 3.18 ; cBPF depuis Linux 3.0) ;"
2380
2381 #. commit ddecdfcea0ae891f782ae853771c867ab51024c2
2382 #. type: Plain text
2383 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2384 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2385 msgid "ARM32 (since Linux 3.18; cBPF since Linux 3.4);"
2386 msgstr "ARM32 (depuis Linux 3.18 ; cBPF depuis Linux 3.4) ;"
2387
2388 #. commit 2809a2087cc44b55e4377d7b9be3f7f5d2569091
2389 #. type: Plain text
2390 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2391 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2392 msgid "SPARC 32 (since Linux 3.18; cBPF since Linux 3.5);"
2393 msgstr "SPARC 32 (depuis Linux 3.18 ; cBPF depuis Linux 3.5) ;"
2394
2395 #. commit e54bcde3d69d40023ae77727213d14f920eb264a
2396 #. type: Plain text
2397 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2398 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2399 msgid "ARM-64 (since Linux 3.18);"
2400 msgstr "ARM-64 (depuis Linux 3.18) ;;"
2401
2402 #. commit c10302efe569bfd646b4c22df29577a4595b4580
2403 #. type: Plain text
2404 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2405 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2406 msgid "s390 (since Linux 4.1; cBPF since Linux 3.7);"
2407 msgstr "s390 (depuis Linux 4.1 ; cBPF depuis Linux 3.7) ;"
2408
2409 #. commit 0ca87f05ba8bdc6791c14878464efc901ad71e99
2410 #. commit 156d0e290e969caba25f1851c52417c14d141b24
2411 #. type: Plain text
2412 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2413 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2414 msgid "PowerPC 64 (since Linux 4.8; cBPF since Linux 3.1);"
2415 msgstr "PowerPC 64 (depuis Linux 4.8 ; cBPF depuis Linux 3.1) ;"
2416
2417 #. commit 7a12b5031c6b947cc13918237ae652b536243b76
2418 #. type: Plain text
2419 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2420 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2421 msgid "SPARC 64 (since Linux 4.12);"
2422 msgstr "SPARC 64 (depuis Linux 4.12) ;"
2423
2424 #. commit 03f5781be2c7b7e728d724ac70ba10799cc710d7
2425 #. type: Plain text
2426 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2427 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2428 msgid "x86-32 (since Linux 4.18);"
2429 msgstr "x86-32 (depuis Linux 4.18) ;"
2430
2431 #. commit c6610de353da5ca6eee5b8960e838a87a90ead0c
2432 #. commit f381bf6d82f032b7410185b35d000ea370ac706b
2433 #. type: Plain text
2434 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2435 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2436 msgid "MIPS 64 (since Linux 4.18; cBPF since Linux 3.16);"
2437 msgstr "MIPS 64 (depuis Linux 4.18 ; cBPF depuis Linux 3.16) ;"
2438
2439 #. commit 2353ecc6f91fd15b893fa01bf85a1c7a823ee4f2
2440 #. type: Plain text
2441 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2442 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2443 msgid "riscv (since Linux 5.1)."
2444 msgstr "riscv (depuis Linux 5.1)."
2445
2446 #. type: SH
2447 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2448 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2449 #, no-wrap
2450 msgid "EXAMPLES"
2451 msgstr "EXEMPLES"
2452
2453 #. == atomic64_add
2454 #. type: Plain text
2455 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2456 #: opensuse-tumbleweed
2457 #, no-wrap
2458 msgid ""
2459 "#include E<lt>stdcountof.hE<gt>\n"
2460 "\\&\n"
2461 "/* bpf+sockets example:\n"
2462 " * 1. create array map of 256 elements\n"
2463 " * 2. load program that counts number of packets received\n"
2464 " * r0 = skb-E<gt>data[ETH_HLEN + offsetof(struct iphdr, protocol)]\n"
2465 " * map[r0]++\n"
2466 " * 3. attach prog_fd to raw socket via setsockopt()\n"
2467 " * 4. print number of received TCP/UDP packets every second\n"
2468 " */\n"
2469 "int\n"
2470 "main(int argc, char *argv[])\n"
2471 "{\n"
2472 " int sock, map_fd, prog_fd, key;\n"
2473 " long long value = 0, tcp_cnt, udp_cnt;\n"
2474 "\\&\n"
2475 " map_fd = bpf_create_map(BPF_MAP_TYPE_ARRAY, sizeof(key),\n"
2476 " sizeof(value), 256);\n"
2477 " if (map_fd E<lt> 0) {\n"
2478 " printf(\"failed to create map \\[aq]%s\\[aq]\\[rs]n\", strerror(errno));\n"
2479 " /* likely not run as root */\n"
2480 " return 1;\n"
2481 " }\n"
2482 "\\&\n"
2483 " struct bpf_insn prog[] = {\n"
2484 " BPF_MOV64_REG(BPF_REG_6, BPF_REG_1), /* r6 = r1 */\n"
2485 " BPF_LD_ABS(BPF_B, ETH_HLEN + offsetof(struct iphdr, protocol)),\n"
2486 " /* r0 = ip-E<gt>proto */\n"
2487 " BPF_STX_MEM(BPF_W, BPF_REG_10, BPF_REG_0, -4),\n"
2488 " /* *(u32 *) (fp - 4) = r0 */\n"
2489 " BPF_MOV64_REG(BPF_REG_2, BPF_REG_10), /* r2 = fp */\n"
2490 " BPF_ALU64_IMM(BPF_ADD, BPF_REG_2, -4), /* r2 = r2 - 4 */\n"
2491 " BPF_LD_MAP_FD(BPF_REG_1, map_fd), /* r1 = map_fd */\n"
2492 " BPF_CALL_FUNC(BPF_FUNC_map_lookup_elem),\n"
2493 " /* r0 = map_lookup(r1, r2) */\n"
2494 " BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 2),\n"
2495 " /* if (r0 == 0) goto pc+2 */\n"
2496 " BPF_MOV64_IMM(BPF_REG_1, 1), /* r1 = 1 */\n"
2497 " BPF_XADD(BPF_DW, BPF_REG_0, BPF_REG_1, 0, 0),\n"
2498 " /* lock *(u64 *) r0 += r1 */\n"
2499 " BPF_MOV64_IMM(BPF_REG_0, 0), /* r0 = 0 */\n"
2500 " BPF_EXIT_INSN(), /* return r0 */\n"
2501 " };\n"
2502 "\\&\n"
2503 " prog_fd = bpf_prog_load(BPF_PROG_TYPE_SOCKET_FILTER, prog,\n"
2504 " countof(prog), \"GPL\");\n"
2505 "\\&\n"
2506 " sock = open_raw_sock(\"lo\");\n"
2507 "\\&\n"
2508 " assert(setsockopt(sock, SOL_SOCKET, SO_ATTACH_BPF, &prog_fd,\n"
2509 " sizeof(prog_fd)) == 0);\n"
2510 "\\&\n"
2511 " for (;;) {\n"
2512 " key = IPPROTO_TCP;\n"
2513 " assert(bpf_lookup_elem(map_fd, &key, &tcp_cnt) == 0);\n"
2514 " key = IPPROTO_UDP;\n"
2515 " assert(bpf_lookup_elem(map_fd, &key, &udp_cnt) == 0);\n"
2516 " printf(\"TCP %lld UDP %lld packets\\[rs]n\", tcp_cnt, udp_cnt);\n"
2517 " sleep(1);\n"
2518 " }\n"
2519 "\\&\n"
2520 " return 0;\n"
2521 "}\n"
2522 msgstr ""
2523 "#include E<lt>stdcountof.hE<gt>\n"
2524 "/* Exemple de bpf+sockets :\n"
2525 " * 1. Créer une mappe tableau de 256 éléments\n"
2526 " * 2. Charger le programme qui compte le nombre de paquets reçus\n"
2527 " * r0 = skb-E<gt>data[ETH_HLEN + offsetof(struct iphdr, protocol)]\n"
2528 " * map[r0]++\n"
2529 " * 3. Rattacher prog_fd au socket brut à l’aide de setsockopt()\n"
2530 " * 4. Afficher le nombre de paquets TCP/UDP reçus toutes les secondes\n"
2531 " */\n"
2532 "int\n"
2533 "main(int argc, char *argv[])\n"
2534 "{\n"
2535 " int sock, map_fd, prog_fd, key;\n"
2536 " long long value = 0, tcp_cnt, udp_cnt;\n"
2537 "\\&\n"
2538 " map_fd = bpf_create_map(BPF_MAP_TYPE_ARRAY, sizeof(key),\n"
2539 " sizeof(value), 256);\n"
2540 " if (map_fd E<lt> 0) {\n"
2541 " printf(\"impossible de créer la projection \\[aq]%s\\[aq]\\[rs]n\", strerror(errno));\n"
2542 " /* probablement non lancé en tant que root */\n"
2543 " return 1;\n"
2544 " }\n"
2545 " struct bpf_insn prog[] = {\n"
2546 " BPF_MOV64_REG(BPF_REG_6, BPF_REG_1), /* r6 = r1 */\n"
2547 " BPF_LD_ABS(BPF_B, ETH_HLEN + offsetof(struct iphdr, protocol)),\n"
2548 " /* r0 = ip-E<gt>proto */\n"
2549 " BPF_STX_MEM(BPF_W, BPF_REG_10, BPF_REG_0, -4),\n"
2550 " /* *(u32 *) (fp - 4) = r0 */\n"
2551 " BPF_MOV64_REG(BPF_REG_2, BPF_REG_10), /* r2 = fp */\n"
2552 " BPF_ALU64_IMM(BPF_ADD, BPF_REG_2, -4), /* r2 = r2 - 4 */\n"
2553 " BPF_LD_MAP_FD(BPF_REG_1, map_fd), /* r1 = map_fd */\n"
2554 " BPF_CALL_FUNC(BPF_FUNC_map_lookup_elem),\n"
2555 " /* r0 = map_lookup(r1, r2) */\n"
2556 " BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 2),\n"
2557 " /* if (r0 == 0) goto pc+2 */\n"
2558 " BPF_MOV64_IMM(BPF_REG_1, 1), /* r1 = 1 */\n"
2559 " BPF_XADD(BPF_DW, BPF_REG_0, BPF_REG_1, 0, 0),\n"
2560 " /* lock *(u64 *) r0 += r1 */\n"
2561 " BPF_MOV64_IMM(BPF_REG_0, 0), /* r0 = 0 */\n"
2562 " BPF_EXIT_INSN(), /* return r0 */\n"
2563 " };\n"
2564 "\\&\n"
2565 " prog_fd = bpf_prog_load(BPF_PROG_TYPE_SOCKET_FILTER, prog,\n"
2566 " countof(prog), \"GPL\");\n"
2567 "\\&\n"
2568 " sock = open_raw_sock(\"lo\");\n"
2569 "\\&\n"
2570 " assert(setsockopt(sock, SOL_SOCKET, SO_ATTACH_BPF, &prog_fd,\n"
2571 " sizeof(prog_fd)) == 0);\n"
2572 "\\&\n"
2573 " for (;;) {\n"
2574 " key = IPPROTO_TCP;\n"
2575 " assert(bpf_lookup_elem(map_fd, &key, &tcp_cnt) == 0);\n"
2576 " key = IPPROTO_UDP;\n"
2577 " assert(bpf_lookup_elem(map_fd, &key, &udp_cnt) == 0);\n"
2578 " printf(\"TCP %lld UDP %lld packets\\[rs]n\", tcp_cnt, udp_cnt);\n"
2579 " sleep(1);\n"
2580 " }\n"
2581 "\\&\n"
2582 " return 0;\n"
2583 "}\n"
2584
2585 #. type: Plain text
2586 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2587 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2588 msgid ""
2589 "Some complete working code can be found in the I<samples/bpf> directory in "
2590 "the kernel source tree."
2591 msgstr ""
2592 "Vous pouvez trouvez du code complet opérationnel dans le répertoire "
2593 "I<samples/bpf> de l'arborescence des sources du noyau."
2594
2595 #. type: SH
2596 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2597 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2598 #, no-wrap
2599 msgid "SEE ALSO"
2600 msgstr "VOIR AUSSI"
2601
2602 #. type: Plain text
2603 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2604 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2605 msgid "B<seccomp>(2), B<bpf-helpers>(7), B<socket>(7), B<tc>(8), B<tc-bpf>(8)"
2606 msgstr "B<seccomp>(2), B<bpf-helpers>(7), B<socket>(7), B<tc>(8), B<tc-bpf>(8)"
2607
2608 #. type: Plain text
2609 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2610 #: opensuse-tumbleweed
2611 msgid ""
2612 "Both classic and extended BPF are explained in the kernel source file "
2613 "I<Documentation/networking/filter.rst>."
2614 msgstr ""
2615 "Les BPF classique et étendu sont expliqués dans le fichier I<Documentation/"
2616 "networking/filter.rst> des sources du noyau."
2617
2618 #. type: TH
2619 #: debian-trixie
2620 #, no-wrap
2621 msgid "2024-06-15"
2622 msgstr "15 juin 2024"
2623
2624 #. type: TH
2625 #: debian-trixie
2626 #, no-wrap
2627 msgid "Linux man-pages 6.9.1"
2628 msgstr "Pages du manuel de Linux 6.9.1"
2629
2630 #. type: Plain text
2631 #: debian-trixie fedora-44 fedora-rawhide
2632 #, no-wrap
2633 msgid ""
2634 "enum bpf_map_type {\n"
2635 " BPF_MAP_TYPE_UNSPEC, /* Reserve 0 as invalid map type */\n"
2636 " BPF_MAP_TYPE_HASH,\n"
2637 " BPF_MAP_TYPE_ARRAY,\n"
2638 " BPF_MAP_TYPE_PROG_ARRAY,\n"
2639 " BPF_MAP_TYPE_PERF_EVENT_ARRAY,\n"
2640 " BPF_MAP_TYPE_PERCPU_HASH,\n"
2641 " BPF_MAP_TYPE_PERCPU_ARRAY,\n"
2642 " BPF_MAP_TYPE_STACK_TRACE,\n"
2643 " BPF_MAP_TYPE_CGROUP_ARRAY,\n"
2644 " BPF_MAP_TYPE_LRU_HASH,\n"
2645 " BPF_MAP_TYPE_LRU_PERCPU_HASH,\n"
2646 " BPF_MAP_TYPE_LPM_TRIE,\n"
2647 " BPF_MAP_TYPE_ARRAY_OF_MAPS,\n"
2648 " BPF_MAP_TYPE_HASH_OF_MAPS,\n"
2649 " BPF_MAP_TYPE_DEVMAP,\n"
2650 " BPF_MAP_TYPE_SOCKMAP,\n"
2651 " BPF_MAP_TYPE_CPUMAP,\n"
2652 " BPF_MAP_TYPE_XSKMAP,\n"
2653 " BPF_MAP_TYPE_SOCKHASH,\n"
2654 " BPF_MAP_TYPE_CGROUP_STORAGE,\n"
2655 " BPF_MAP_TYPE_REUSEPORT_SOCKARRAY,\n"
2656 " BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE,\n"
2657 " BPF_MAP_TYPE_QUEUE,\n"
2658 " BPF_MAP_TYPE_STACK,\n"
2659 " /* See /usr/include/linux/bpf.h for the full list. */\n"
2660 "};\n"
2661 msgstr ""
2662 "enum bpf_map_type {\n"
2663 " BPF_MAP_TYPE_UNSPEC, /* Réserver 0 comme type de mappe non valable */\n"
2664 " BPF_MAP_TYPE_HASH,\n"
2665 " BPF_MAP_TYPE_ARRAY,\n"
2666 " BPF_MAP_TYPE_PROG_ARRAY,\n"
2667 " BPF_MAP_TYPE_PERF_EVENT_ARRAY,\n"
2668 " BPF_MAP_TYPE_PERCPU_HASH,\n"
2669 " BPF_MAP_TYPE_PERCPU_ARRAY,\n"
2670 " BPF_MAP_TYPE_STACK_TRACE,\n"
2671 " BPF_MAP_TYPE_CGROUP_ARRAY,\n"
2672 " BPF_MAP_TYPE_LRU_HASH,\n"
2673 " BPF_MAP_TYPE_LRU_PERCPU_HASH,\n"
2674 " BPF_MAP_TYPE_LPM_TRIE,\n"
2675 " BPF_MAP_TYPE_ARRAY_OF_MAPS,\n"
2676 " BPF_MAP_TYPE_HASH_OF_MAPS,\n"
2677 " BPF_MAP_TYPE_DEVMAP,\n"
2678 " BPF_MAP_TYPE_SOCKMAP,\n"
2679 " BPF_MAP_TYPE_CPUMAP,\n"
2680 " BPF_MAP_TYPE_XSKMAP,\n"
2681 " BPF_MAP_TYPE_SOCKHASH,\n"
2682 " BPF_MAP_TYPE_CGROUP_STORAGE,\n"
2683 " BPF_MAP_TYPE_REUSEPORT_SOCKARRAY,\n"
2684 " BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE,\n"
2685 " BPF_MAP_TYPE_QUEUE,\n"
2686 " BPF_MAP_TYPE_STACK,\n"
2687 " /* Voir /usr/include/linux/bpf.h pour la liste complète. */\n"
2688 "};\n"
2689
2690 #. type: Plain text
2691 #: debian-trixie fedora-44 fedora-rawhide
2692 #, no-wrap
2693 msgid ""
2694 "enum bpf_prog_type {\n"
2695 " BPF_PROG_TYPE_UNSPEC, /* Reserve 0 as invalid\n"
2696 " program type */\n"
2697 " BPF_PROG_TYPE_SOCKET_FILTER,\n"
2698 " BPF_PROG_TYPE_KPROBE,\n"
2699 " BPF_PROG_TYPE_SCHED_CLS,\n"
2700 " BPF_PROG_TYPE_SCHED_ACT,\n"
2701 " BPF_PROG_TYPE_TRACEPOINT,\n"
2702 " BPF_PROG_TYPE_XDP,\n"
2703 " BPF_PROG_TYPE_PERF_EVENT,\n"
2704 " BPF_PROG_TYPE_CGROUP_SKB,\n"
2705 " BPF_PROG_TYPE_CGROUP_SOCK,\n"
2706 " BPF_PROG_TYPE_LWT_IN,\n"
2707 " BPF_PROG_TYPE_LWT_OUT,\n"
2708 " BPF_PROG_TYPE_LWT_XMIT,\n"
2709 " BPF_PROG_TYPE_SOCK_OPS,\n"
2710 " BPF_PROG_TYPE_SK_SKB,\n"
2711 " BPF_PROG_TYPE_CGROUP_DEVICE,\n"
2712 " BPF_PROG_TYPE_SK_MSG,\n"
2713 " BPF_PROG_TYPE_RAW_TRACEPOINT,\n"
2714 " BPF_PROG_TYPE_CGROUP_SOCK_ADDR,\n"
2715 " BPF_PROG_TYPE_LWT_SEG6LOCAL,\n"
2716 " BPF_PROG_TYPE_LIRC_MODE2,\n"
2717 " BPF_PROG_TYPE_SK_REUSEPORT,\n"
2718 " BPF_PROG_TYPE_FLOW_DISSECTOR,\n"
2719 " /* See /usr/include/linux/bpf.h for the full list. */\n"
2720 "};\n"
2721 msgstr ""
2722 "enum bpf_prog_type {\n"
2723 " BPF_PROG_TYPE_UNSPEC, /* Réserver 0 comme type de programme\n"
2724 " non valable */\n"
2725 " BPF_PROG_TYPE_SOCKET_FILTER,\n"
2726 " BPF_PROG_TYPE_KPROBE,\n"
2727 " BPF_PROG_TYPE_SCHED_CLS,\n"
2728 " BPF_PROG_TYPE_SCHED_ACT,\n"
2729 " BPF_PROG_TYPE_TRACEPOINT,\n"
2730 " BPF_PROG_TYPE_XDP,\n"
2731 " BPF_PROG_TYPE_PERF_EVENT,\n"
2732 " BPF_PROG_TYPE_CGROUP_SKB,\n"
2733 " BPF_PROG_TYPE_CGROUP_SOCK,\n"
2734 " BPF_PROG_TYPE_LWT_IN,\n"
2735 " BPF_PROG_TYPE_LWT_OUT,\n"
2736 " BPF_PROG_TYPE_LWT_XMIT,\n"
2737 " BPF_PROG_TYPE_SOCK_OPS,\n"
2738 " BPF_PROG_TYPE_SK_SKB,\n"
2739 " BPF_PROG_TYPE_CGROUP_DEVICE,\n"
2740 " BPF_PROG_TYPE_SK_MSG,\n"
2741 " BPF_PROG_TYPE_RAW_TRACEPOINT,\n"
2742 " BPF_PROG_TYPE_CGROUP_SOCK_ADDR,\n"
2743 " BPF_PROG_TYPE_LWT_SEG6LOCAL,\n"
2744 " BPF_PROG_TYPE_LIRC_MODE2,\n"
2745 " BPF_PROG_TYPE_SK_REUSEPORT,\n"
2746 " BPF_PROG_TYPE_FLOW_DISSECTOR,\n"
2747 " /* Voir /usr/include/linux/bpf.h pour la liste complète. */\n"
2748 "};\n"
2749
2750 #. == atomic64_add
2751 #. type: Plain text
2752 #: debian-trixie
2753 #, no-wrap
2754 msgid ""
2755 "/* bpf+sockets example:\n"
2756 " * 1. create array map of 256 elements\n"
2757 " * 2. load program that counts number of packets received\n"
2758 " * r0 = skb-E<gt>data[ETH_HLEN + offsetof(struct iphdr, protocol)]\n"
2759 " * map[r0]++\n"
2760 " * 3. attach prog_fd to raw socket via setsockopt()\n"
2761 " * 4. print number of received TCP/UDP packets every second\n"
2762 " */\n"
2763 "int\n"
2764 "main(int argc, char *argv[])\n"
2765 "{\n"
2766 " int sock, map_fd, prog_fd, key;\n"
2767 " long long value = 0, tcp_cnt, udp_cnt;\n"
2768 "\\&\n"
2769 " map_fd = bpf_create_map(BPF_MAP_TYPE_ARRAY, sizeof(key),\n"
2770 " sizeof(value), 256);\n"
2771 " if (map_fd E<lt> 0) {\n"
2772 " printf(\"failed to create map \\[aq]%s\\[aq]\\[rs]n\", strerror(errno));\n"
2773 " /* likely not run as root */\n"
2774 " return 1;\n"
2775 " }\n"
2776 "\\&\n"
2777 " struct bpf_insn prog[] = {\n"
2778 " BPF_MOV64_REG(BPF_REG_6, BPF_REG_1), /* r6 = r1 */\n"
2779 " BPF_LD_ABS(BPF_B, ETH_HLEN + offsetof(struct iphdr, protocol)),\n"
2780 " /* r0 = ip-E<gt>proto */\n"
2781 " BPF_STX_MEM(BPF_W, BPF_REG_10, BPF_REG_0, -4),\n"
2782 " /* *(u32 *)(fp - 4) = r0 */\n"
2783 " BPF_MOV64_REG(BPF_REG_2, BPF_REG_10), /* r2 = fp */\n"
2784 " BPF_ALU64_IMM(BPF_ADD, BPF_REG_2, -4), /* r2 = r2 - 4 */\n"
2785 " BPF_LD_MAP_FD(BPF_REG_1, map_fd), /* r1 = map_fd */\n"
2786 " BPF_CALL_FUNC(BPF_FUNC_map_lookup_elem),\n"
2787 " /* r0 = map_lookup(r1, r2) */\n"
2788 " BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 2),\n"
2789 " /* if (r0 == 0) goto pc+2 */\n"
2790 " BPF_MOV64_IMM(BPF_REG_1, 1), /* r1 = 1 */\n"
2791 " BPF_XADD(BPF_DW, BPF_REG_0, BPF_REG_1, 0, 0),\n"
2792 " /* lock *(u64 *) r0 += r1 */\n"
2793 " BPF_MOV64_IMM(BPF_REG_0, 0), /* r0 = 0 */\n"
2794 " BPF_EXIT_INSN(), /* return r0 */\n"
2795 " };\n"
2796 "\\&\n"
2797 " prog_fd = bpf_prog_load(BPF_PROG_TYPE_SOCKET_FILTER, prog,\n"
2798 " sizeof(prog) / sizeof(prog[0]), \"GPL\");\n"
2799 "\\&\n"
2800 " sock = open_raw_sock(\"lo\");\n"
2801 "\\&\n"
2802 " assert(setsockopt(sock, SOL_SOCKET, SO_ATTACH_BPF, &prog_fd,\n"
2803 " sizeof(prog_fd)) == 0);\n"
2804 "\\&\n"
2805 " for (;;) {\n"
2806 " key = IPPROTO_TCP;\n"
2807 " assert(bpf_lookup_elem(map_fd, &key, &tcp_cnt) == 0);\n"
2808 " key = IPPROTO_UDP;\n"
2809 " assert(bpf_lookup_elem(map_fd, &key, &udp_cnt) == 0);\n"
2810 " printf(\"TCP %lld UDP %lld packets\\[rs]n\", tcp_cnt, udp_cnt);\n"
2811 " sleep(1);\n"
2812 " }\n"
2813 "\\&\n"
2814 " return 0;\n"
2815 "}\n"
2816 msgstr ""
2817 "/* Exemple de bpf+sockets :\n"
2818 " * 1. Créer une mappe tableau de 256 éléments\n"
2819 " * 2. Charger le programme qui compte le nombre de paquets reçus\n"
2820 " * r0 = skb-E<gt>data[ETH_HLEN + offsetof(struct iphdr, protocol)]\n"
2821 " * map[r0]++\n"
2822 " * 3. Rattacher prog_fd au socket brut à l’aide de setsockopt()\n"
2823 " * 4. Afficher le nombre de paquets TCP/UDP reçus toutes les secondes\n"
2824 " */\n"
2825 "int\n"
2826 "main(int argc, char *argv[])\n"
2827 "{\n"
2828 " int sock, map_fd, prog_fd, key;\n"
2829 " long long value = 0, tcp_cnt, udp_cnt;\n"
2830 "\\&\n"
2831 " map_fd = bpf_create_map(BPF_MAP_TYPE_ARRAY, sizeof(key),\n"
2832 " sizeof(value), 256);\n"
2833 " if (map_fd E<lt> 0) {\n"
2834 " printf(\"impossible de créer la projection \\[aq]%s\\[aq]\\[rs]n\", strerror(errno));\n"
2835 " /* probablement non lancé en tant que root */\n"
2836 " return 1;\n"
2837 " }\n"
2838 " struct bpf_insn prog[] = {\n"
2839 " BPF_MOV64_REG(BPF_REG_6, BPF_REG_1), /* r6 = r1 */\n"
2840 " BPF_LD_ABS(BPF_B, ETH_HLEN + offsetof(struct iphdr, protocol)),\n"
2841 " /* r0 = ip-E<gt>proto */\n"
2842 " BPF_STX_MEM(BPF_W, BPF_REG_10, BPF_REG_0, -4),\n"
2843 " /* *(u32 *)(fp - 4) = r0 */\n"
2844 " BPF_MOV64_REG(BPF_REG_2, BPF_REG_10), /* r2 = fp */\n"
2845 " BPF_ALU64_IMM(BPF_ADD, BPF_REG_2, -4), /* r2 = r2 - 4 */\n"
2846 " BPF_LD_MAP_FD(BPF_REG_1, map_fd), /* r1 = map_fd */\n"
2847 " BPF_CALL_FUNC(BPF_FUNC_map_lookup_elem),\n"
2848 " /* r0 = map_lookup(r1, r2) */\n"
2849 " BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 2),\n"
2850 " /* if (r0 == 0) goto pc+2 */\n"
2851 " BPF_MOV64_IMM(BPF_REG_1, 1), /* r1 = 1 */\n"
2852 " BPF_XADD(BPF_DW, BPF_REG_0, BPF_REG_1, 0, 0),\n"
2853 " /* lock *(u64 *) r0 += r1 */\n"
2854 " BPF_MOV64_IMM(BPF_REG_0, 0), /* r0 = 0 */\n"
2855 " BPF_EXIT_INSN(), /* return r0 */\n"
2856 " };\n"
2857 "\\&\n"
2858 " prog_fd = bpf_prog_load(BPF_PROG_TYPE_SOCKET_FILTER, prog,\n"
2859 " sizeof(prog) / sizeof(prog[0]), \"GPL\");\n"
2860 "\\&\n"
2861 " sock = open_raw_sock(\"lo\");\n"
2862 "\\&\n"
2863 " assert(setsockopt(sock, SOL_SOCKET, SO_ATTACH_BPF, &prog_fd,\n"
2864 " sizeof(prog_fd)) == 0);\n"
2865 "\\&\n"
2866 " for (;;) {\n"
2867 " key = IPPROTO_TCP;\n"
2868 " assert(bpf_lookup_elem(map_fd, &key, &tcp_cnt) == 0);\n"
2869 " key = IPPROTO_UDP;\n"
2870 " assert(bpf_lookup_elem(map_fd, &key, &udp_cnt) == 0);\n"
2871 " printf(\"TCP %lld UDP %lld packets\\[rs]n\", tcp_cnt, udp_cnt);\n"
2872 " sleep(1);\n"
2873 " }\n"
2874 "\\&\n"
2875 " return 0;\n"
2876 "}\n"
2877
2878 #. type: Plain text
2879 #: debian-trixie fedora-44 fedora-rawhide
2880 msgid ""
2881 "Both classic and extended BPF are explained in the kernel source file "
2882 "I<Documentation/networking/filter.txt>."
2883 msgstr ""
2884 "Les BPF classique et étendu sont expliqués dans le fichier I<Documentation/"
2885 "networking/filter.txt> des sources du noyau."
2886
2887 #. type: TH
2888 #: fedora-44 fedora-rawhide
2889 #, no-wrap
2890 msgid "2025-01-05"
2891 msgstr "5 janvier 2025"
2892
2893 #. type: TH
2894 #: fedora-44 fedora-rawhide
2895 #, no-wrap
2896 msgid "Linux man-pages 6.13"
2897 msgstr "Pages du manuel de Linux 6.13"
2898
2899 #. == atomic64_add
2900 #. type: Plain text
2901 #: fedora-44 fedora-rawhide
2902 #, no-wrap
2903 msgid ""
2904 "/* bpf+sockets example:\n"
2905 " * 1. create array map of 256 elements\n"
2906 " * 2. load program that counts number of packets received\n"
2907 " * r0 = skb-E<gt>data[ETH_HLEN + offsetof(struct iphdr, protocol)]\n"
2908 " * map[r0]++\n"
2909 " * 3. attach prog_fd to raw socket via setsockopt()\n"
2910 " * 4. print number of received TCP/UDP packets every second\n"
2911 " */\n"
2912 "int\n"
2913 "main(int argc, char *argv[])\n"
2914 "{\n"
2915 " int sock, map_fd, prog_fd, key;\n"
2916 " long long value = 0, tcp_cnt, udp_cnt;\n"
2917 "\\&\n"
2918 " map_fd = bpf_create_map(BPF_MAP_TYPE_ARRAY, sizeof(key),\n"
2919 " sizeof(value), 256);\n"
2920 " if (map_fd E<lt> 0) {\n"
2921 " printf(\"failed to create map \\[aq]%s\\[aq]\\[rs]n\", strerror(errno));\n"
2922 " /* likely not run as root */\n"
2923 " return 1;\n"
2924 " }\n"
2925 "\\&\n"
2926 " struct bpf_insn prog[] = {\n"
2927 " BPF_MOV64_REG(BPF_REG_6, BPF_REG_1), /* r6 = r1 */\n"
2928 " BPF_LD_ABS(BPF_B, ETH_HLEN + offsetof(struct iphdr, protocol)),\n"
2929 " /* r0 = ip-E<gt>proto */\n"
2930 " BPF_STX_MEM(BPF_W, BPF_REG_10, BPF_REG_0, -4),\n"
2931 " /* *(u32 *) (fp - 4) = r0 */\n"
2932 " BPF_MOV64_REG(BPF_REG_2, BPF_REG_10), /* r2 = fp */\n"
2933 " BPF_ALU64_IMM(BPF_ADD, BPF_REG_2, -4), /* r2 = r2 - 4 */\n"
2934 " BPF_LD_MAP_FD(BPF_REG_1, map_fd), /* r1 = map_fd */\n"
2935 " BPF_CALL_FUNC(BPF_FUNC_map_lookup_elem),\n"
2936 " /* r0 = map_lookup(r1, r2) */\n"
2937 " BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 2),\n"
2938 " /* if (r0 == 0) goto pc+2 */\n"
2939 " BPF_MOV64_IMM(BPF_REG_1, 1), /* r1 = 1 */\n"
2940 " BPF_XADD(BPF_DW, BPF_REG_0, BPF_REG_1, 0, 0),\n"
2941 " /* lock *(u64 *) r0 += r1 */\n"
2942 " BPF_MOV64_IMM(BPF_REG_0, 0), /* r0 = 0 */\n"
2943 " BPF_EXIT_INSN(), /* return r0 */\n"
2944 " };\n"
2945 "\\&\n"
2946 " prog_fd = bpf_prog_load(BPF_PROG_TYPE_SOCKET_FILTER, prog,\n"
2947 " sizeof(prog) / sizeof(prog[0]), \"GPL\");\n"
2948 "\\&\n"
2949 " sock = open_raw_sock(\"lo\");\n"
2950 "\\&\n"
2951 " assert(setsockopt(sock, SOL_SOCKET, SO_ATTACH_BPF, &prog_fd,\n"
2952 " sizeof(prog_fd)) == 0);\n"
2953 "\\&\n"
2954 " for (;;) {\n"
2955 " key = IPPROTO_TCP;\n"
2956 " assert(bpf_lookup_elem(map_fd, &key, &tcp_cnt) == 0);\n"
2957 " key = IPPROTO_UDP;\n"
2958 " assert(bpf_lookup_elem(map_fd, &key, &udp_cnt) == 0);\n"
2959 " printf(\"TCP %lld UDP %lld packets\\[rs]n\", tcp_cnt, udp_cnt);\n"
2960 " sleep(1);\n"
2961 " }\n"
2962 "\\&\n"
2963 " return 0;\n"
2964 "}\n"
2965 msgstr ""
2966 "/* Exemple de bpf+sockets :\n"
2967 " * 1. Créer une mappe tableau de 256 éléments\n"
2968 " * 2. Charger le programme qui compte le nombre de paquets reçus\n"
2969 " * r0 = skb-E<gt>data[ETH_HLEN + offsetof(struct iphdr, protocol)]\n"
2970 " * map[r0]++\n"
2971 " * 3. Rattacher prog_fd au socket brut à l’aide de setsockopt()\n"
2972 " * 4. Afficher le nombre de paquets TCP/UDP reçus toutes les secondes\n"
2973 " */\n"
2974 "int\n"
2975 "main(int argc, char *argv[])\n"
2976 "{\n"
2977 " int sock, map_fd, prog_fd, key;\n"
2978 " long long value = 0, tcp_cnt, udp_cnt;\n"
2979 "\\&\n"
2980 " map_fd = bpf_create_map(BPF_MAP_TYPE_ARRAY, sizeof(key),\n"
2981 " sizeof(value), 256);\n"
2982 " if (map_fd E<lt> 0) {\n"
2983 " printf(\"impossible de créer la projection \\[aq]%s\\[aq]\\[rs]n\", strerror(errno));\n"
2984 " /* probablement non lancé en tant que root */\n"
2985 " return 1;\n"
2986 " }\n"
2987 " struct bpf_insn prog[] = {\n"
2988 " BPF_MOV64_REG(BPF_REG_6, BPF_REG_1), /* r6 = r1 */\n"
2989 " BPF_LD_ABS(BPF_B, ETH_HLEN + offsetof(struct iphdr, protocol)),\n"
2990 " /* r0 = ip-E<gt>proto */\n"
2991 " BPF_STX_MEM(BPF_W, BPF_REG_10, BPF_REG_0, -4),\n"
2992 " /* *(u32 *) (fp - 4) = r0 */\n"
2993 " BPF_MOV64_REG(BPF_REG_2, BPF_REG_10), /* r2 = fp */\n"
2994 " BPF_ALU64_IMM(BPF_ADD, BPF_REG_2, -4), /* r2 = r2 - 4 */\n"
2995 " BPF_LD_MAP_FD(BPF_REG_1, map_fd), /* r1 = map_fd */\n"
2996 " BPF_CALL_FUNC(BPF_FUNC_map_lookup_elem),\n"
2997 " /* r0 = map_lookup(r1, r2) */\n"
2998 " BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 2),\n"
2999 " /* if (r0 == 0) goto pc+2 */\n"
3000 " BPF_MOV64_IMM(BPF_REG_1, 1), /* r1 = 1 */\n"
3001 " BPF_XADD(BPF_DW, BPF_REG_0, BPF_REG_1, 0, 0),\n"
3002 " /* lock *(u64 *) r0 += r1 */\n"
3003 " BPF_MOV64_IMM(BPF_REG_0, 0), /* r0 = 0 */\n"
3004 " BPF_EXIT_INSN(), /* return r0 */\n"
3005 " };\n"
3006 "\\&\n"
3007 " prog_fd = bpf_prog_load(BPF_PROG_TYPE_SOCKET_FILTER, prog,\n"
3008 " sizeof(prog) / sizeof(prog[0]), \"GPL\");\n"
3009 "\\&\n"
3010 " sock = open_raw_sock(\"lo\");\n"
3011 "\\&\n"
3012 " assert(setsockopt(sock, SOL_SOCKET, SO_ATTACH_BPF, &prog_fd,\n"
3013 " sizeof(prog_fd)) == 0);\n"
3014 "\\&\n"
3015 " for (;;) {\n"
3016 " key = IPPROTO_TCP;\n"
3017 " assert(bpf_lookup_elem(map_fd, &key, &tcp_cnt) == 0);\n"
3018 " key = IPPROTO_UDP;\n"
3019 " assert(bpf_lookup_elem(map_fd, &key, &udp_cnt) == 0);\n"
3020 " printf(\"TCP %lld UDP %lld packets\\[rs]n\", tcp_cnt, udp_cnt);\n"
3021 " sleep(1);\n"
3022 " }\n"
3023 "\\&\n"
3024 " return 0;\n"
3025 "}\n"
3026
3027 #. type: TH
3028 #: mageia-cauldron
3029 #, no-wrap
3030 msgid "Linux man-pages 6.17"
3031 msgstr "Pages du manuel de Linux 6.17"
3032
3033 #. type: TH
3034 #: opensuse-leap-16-1 opensuse-tumbleweed
3035 #, no-wrap
3036 msgid "Linux man-pages (unreleased)"
3037 msgstr "Pages du manuel de Linux (non publiées)"