summaryrefslogtreecommitdiffstats
path: root/po/fr/man7/fanotify.7.po
blob: 3cb9c24f26cd4b09822c90d054cbecf0e4d6ef57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
# French translation of manpages
# This file is distributed under the same license as the manpages-l10n package.
# Copyright © of this file:
# Christophe Blaess <https://www.blaess.fr/christophe/>, 1996-2003.
# Stéphan Rafin <stephan.rafin@laposte.net>, 2002.
# Thierry Vignaud <tvignaud@mandriva.com>, 1999, 2002.
# François Micaux, 2002.
# Alain Portal <aportal@univ-montp2.fr>, 2003-2008.
# Jean-Philippe Guérard <fevrier@tigreraye.org>, 2005-2006.
# Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>, 2006-2007.
# Julien Cristau <jcristau@debian.org>, 2006-2007.
# Thomas Huriaux <thomas.huriaux@gmail.com>, 2006-2008.
# Nicolas François <nicolas.francois@centraliens.net>, 2006-2008.
# Florentin Duneau <fduneau@gmail.com>, 2006-2010.
# Simon Paillard <simon.paillard@resel.enst-bretagne.fr>, 2006.
# Denis Barbier <barbier@debian.org>, 2006, 2010.
# David Prévot <david@tilapin.org>, 2010, 2012-2014.
# Jean-Paul Guillonneau <guillonneau.jeanpaul@free.fr>, 2021.
msgid ""
msgstr ""
"Project-Id-Version: perkamon\n"
"POT-Creation-Date: 2024-03-01 16:56+0100\n"
"PO-Revision-Date: 2021-10-21 15:09+0200\n"
"Last-Translator: Jean-Paul Guillonneau <guillonneau.jeanpaul@free.fr>\n"
"Language-Team: French <debian-l10n-french@lists.debian.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: vim\n"

#. type: TH
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy, no-wrap
#| msgid "B<notify>"
msgid "fanotify"
msgstr "B<notify>"

#. type: TH
#: archlinux fedora-40 fedora-rawhide mageia-cauldron
#, no-wrap
msgid "2023-10-31"
msgstr "31 octobre 2023"

#. type: TH
#: archlinux fedora-40 fedora-rawhide mageia-cauldron
#, no-wrap
msgid "Linux man-pages 6.06"
msgstr "Pages du manuel de Linux 6.06"

#. type: SH
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "NAME"
msgstr "NOM"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid "fanotify - monitoring filesystem events"
msgstr "fanotify – Surveiller les événements des systèmes de fichiers"

#. type: SH
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "DESCRIPTION"
msgstr "DESCRIPTION"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"The fanotify API provides notification and interception of filesystem "
"events.  Use cases include virus scanning and hierarchical storage "
"management.  In the original fanotify API, only a limited set of events was "
"supported.  In particular, there was no support for create, delete, and move "
"events.  The support for those events was added in Linux 5.1.  (See "
"B<inotify>(7)  for details of an API that did notify those events pre Linux "
"5.1.)"
msgstr ""
"L’interface de programmation fanotify permet la notification et "
"l’interception des événements du système de fichiers. La recherche de virus "
"et la gestion de stockage hiérarchisé font partie des cas d’utilisation. "
"Dans l’interface originelle seul un ensemble limité d’événements était pris "
"en charge. En particulier, les événements de création, de suppression ou de "
"déplacement n’étaient pas pris en charge. La prise en charge de ces "
"évènements a été ajoutée dans Linux 5.1. Consultez B<inotify>(7) pour plus "
"de précisions sur l’interface qui ne notifiait pas ces évènements avant "
"Linux 5.1."

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"Additional capabilities compared to the B<inotify>(7)  API include the "
"ability to monitor all of the objects in a mounted filesystem, the ability "
"to make access permission decisions, and the possibility to read or modify "
"files before access by other applications."
msgstr ""
"La capacité de surveiller tous les objets d’un système de fichiers monté, la "
"capacité de décider des droits d’accès et la possibilité de lire ou modifier "
"les fichiers avant qu’ils ne soient accédés par d’autres applications font "
"partie des capacités supplémentaires à celles de l’interface de "
"programmation B<inotify>(7)."

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"The following system calls are used with this API: B<fanotify_init>(2), "
"B<fanotify_mark>(2), B<read>(2), B<write>(2), and B<close>(2)."
msgstr ""
"Les appels système suivants sont utilisés avec cette interface de "
"programmation : B<fanotify_init>(2), B<fanotify_mark>(2), B<read>(2), "
"B<write>(2) et B<close>(2)."

#. type: SS
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "fanotify_init(), fanotify_mark(), and notification groups"
msgstr "fanotify_init(), fanotify_mark() et groupes de notification"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"The B<fanotify_init>(2)  system call creates and initializes an fanotify "
"notification group and returns a file descriptor referring to it."
msgstr ""
"L’appel système B<fanotify_init>(2) crée et initialise un groupe de "
"notifications fanotify et renvoie un descripteur de fichier le référençant."

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"An fanotify notification group is a kernel-internal object that holds a list "
"of files, directories, filesystems, and mounts for which events shall be "
"created."
msgstr ""
"Un groupe de notifications fanotify est un objet interne au noyau qui "
"contient une liste de fichiers, répertoires et points de montage pour "
"lesquels des événements seront créés."

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"For each entry in an fanotify notification group, two bit masks exist: the "
"I<mark> mask and the I<ignore> mask.  The mark mask defines file activities "
"for which an event shall be created.  The ignore mask defines activities for "
"which no event shall be generated.  Having these two types of masks permits "
"a filesystem, mount, or directory to be marked for receiving events, while "
"at the same time ignoring events for specific objects under a mount or "
"directory."
msgstr ""
"Pour chaque entrée dans un groupe de notifications fanotify, deux masques "
"binaires sont présents : le masque I<mark> et le masque I<ignore>. Le masque "
"I<mark> définit les activités de fichier pour lesquelles un événement doit "
"être créé. Le masque I<ignore> définit les activités pour lesquelles aucun "
"événement ne doit être créé. Avoir ces deux types de masque permet à un "
"point de montage ou à un répertoire d’être marqué pour recevoir des "
"événements, tout en ignorant en même temps les événements pour des objets "
"spécifiques dans ce point de montage ou répertoire."

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"The B<fanotify_mark>(2)  system call adds a file, directory, filesystem, or "
"mount to a notification group and specifies which events shall be reported "
"(or ignored), or removes or modifies such an entry."
msgstr ""
"L’appel système B<fanotify_mark>(2) ajoute un fichier, répertoire ou point "
"de montage à un groupe de notifications et indique les événements qui "
"doivent être signalés (ou ignorés), ou supprime ou modifie une telle entrée."

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"A possible usage of the ignore mask is for a file cache.  Events of interest "
"for a file cache are modification of a file and closing of the same.  Hence, "
"the cached directory or mount is to be marked to receive these events.  "
"After receiving the first event informing that a file has been modified, the "
"corresponding cache entry will be invalidated.  No further modification "
"events for this file are of interest until the file is closed.  Hence, the "
"modify event can be added to the ignore mask.  Upon receiving the close "
"event, the modify event can be removed from the ignore mask and the file "
"cache entry can be updated."
msgstr ""
"Le masque I<ignore> peut servir pour un cache de fichier. Les événements "
"intéressants pour un cache de fichier sont la modification et la fermeture "
"d’un fichier. Ainsi, le répertoire ou point de montage en cache va être "
"marqué pour recevoir ces événements. Après la réception du premier événement "
"informant qu’un fichier a été modifié, l’entrée correspondante du cache sera "
"désactivée. Aucun autre événement de modification pour ce fichier ne sera "
"utile jusqu’à sa fermeture. Ainsi, l’événement de modification peut être "
"ajouté au masque ignore. Lors de la réception d’un événement de fermeture, "
"l’événement de modification peut être supprimé du masque I<ignore> et "
"l’entrée de cache de fichier peut être mise à jour."

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"The entries in the fanotify notification groups refer to files and "
"directories via their inode number and to mounts via their mount ID.  If "
"files or directories are renamed or moved within the same mount, the "
"respective entries survive.  If files or directories are deleted or moved to "
"another mount or if filesystems or mounts are unmounted, the corresponding "
"entries are deleted."
msgstr ""
"Les entrées des groupes de notification fanotify font référence aux fichiers "
"et répertoires à l’aide de leur numéro d’inœud et aux montages à l’aide de "
"leur identifiant de montage. Si les fichiers ou répertoires sont renommés ou "
"déplacés dans le même montage, les entrées correspondantes survivent. Si les "
"fichiers ou répertoires sont supprimés ou déplacés dans un autre montage ou "
"si les montages sont démontés, les entrées correspondantes sont supprimées."

#. type: SS
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "The event queue"
msgstr "La file d’événements"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"As events occur on the filesystem objects monitored by a notification group, "
"the fanotify system generates events that are collected in a queue.  These "
"events can then be read (using B<read>(2)  or similar)  from the fanotify "
"file descriptor returned by B<fanotify_init>(2)."
msgstr ""
"Comme les événements surviennent sur les objets de système de fichiers "
"surveillés par un groupe de notifications, le système fanotify génère les "
"événements qui sont collectés dans une file. Ces événements peuvent être lus "
"(en utilisant B<read>(2) ou similaire) à partir du descripteur de fichier "
"fanotify renvoyé par B<fanotify_init>(2)."

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"Two types of events are generated: I<notification> events and I<permission> "
"events.  Notification events are merely informative and require no action to "
"be taken by the receiving application with one exception: if a valid file "
"descriptor is provided within a generic event, the file descriptor must be "
"closed.  Permission events are requests to the receiving application to "
"decide whether permission for a file access shall be granted.  For these "
"events, the recipient must write a response which decides whether access is "
"granted or not."
msgstr ""
"Deux types d’événements sont créés : les événements de I<notification> et "
"les événements de I<permission>. Les événements de notification sont surtout "
"informatifs et ne nécessitent pas d’action à prendre par l’application qui "
"les reçoit à part pour la fermeture du descripteur de fichier valable passé "
"dans l’événement (voir ci-dessous). Les événements de permission sont des "
"demandes à l’application qui les reçoit pour décider si les droits d’accès à "
"un fichier doivent être attribués. Pour ces événements, le destinataire doit "
"écrire une réponse qui décide d’attribuer l’accès ou non."

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"An event is removed from the event queue of the fanotify group when it has "
"been read.  Permission events that have been read are kept in an internal "
"list of the fanotify group until either a permission decision has been taken "
"by writing to the fanotify file descriptor or the fanotify file descriptor "
"is closed."
msgstr ""
"Un événement est supprimé de la file d’événements du groupe fanotify quand "
"il a été lu. Les événements de permission qui ont été lus sont gardés dans "
"une liste interne du groupe fanotify jusqu’à ce qu’une décision "
"d’attribution de droits ait été prise en écrivant dans le descripteur de "
"fichier fanotify ou que le descripteur de fichier fanotify soit fermé."

#. type: SS
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "Reading fanotify events"
msgstr "Lecture d’événements fanotify"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"Calling B<read>(2)  for the file descriptor returned by B<fanotify_init>(2)  "
"blocks (if the flag B<FAN_NONBLOCK> is not specified in the call to "
"B<fanotify_init>(2))  until either a file event occurs or the call is "
"interrupted by a signal (see B<signal>(7))."
msgstr ""
"Appeler B<read>(2) pour le descripteur de fichier renvoyé par "
"B<fanotify_init>(2) bloque (si l’attribut B<FAN_NONBLOCK> n’est pas indiqué "
"dans l’appel de B<fanotify_init>(2)) jusqu’à ce qu’un événement de fichier "
"survienne ou que l’appel soit interrompu par un signal (consultez "
"B<signal>(7))."

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"After a successful B<read>(2), the read buffer contains one or more of the "
"following structures:"
msgstr ""
"Après un B<read>(2) réussi, le tampon de lecture contient une ou plus des "
"structures suivantes :"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid ""
"struct fanotify_event_metadata {\n"
"    __u32 event_len;\n"
"    __u8 vers;\n"
"    __u8 reserved;\n"
"    __u16 metadata_len;\n"
"    __aligned_u64 mask;\n"
"    __s32 fd;\n"
"    __s32 pid;\n"
"};\n"
msgstr ""
"struct fanotify_event_metadata {\n"
"    __u32 event_len;\n"
"    __u8 vers;\n"
"    __u8 reserved;\n"
"    __u16 metadata_len;\n"
"    __aligned_u64 mask;\n"
"    __s32 fd;\n"
"    __s32 pid;\n"
"};\n"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"Information records are supplemental pieces of information that may be "
"provided alongside the generic I<fanotify_event_metadata> structure.  The "
"I<flags> passed to B<fanotify_init>(2)  have influence over the type of "
"information records that may be returned for an event.  For example, if a "
"notification group is initialized with B<FAN_REPORT_FID> or "
"B<FAN_REPORT_DIR_FID>, then event listeners should also expect to receive a "
"I<fanotify_event_info_fid> structure alongside the "
"I<fanotify_event_metadata> structure, whereby file handles are used to "
"identify filesystem objects rather than file descriptors.  Information "
"records may also be stacked, meaning that using the various B<FAN_REPORT_*> "
"flags in conjunction with one another is supported.  In such cases, multiple "
"information records can be returned for an event alongside the generic "
"I<fanotify_event_metadata> structure.  For example, if a notification group "
"is initialized with B<FAN_REPORT_TARGET_FID> and B<FAN_REPORT_PIDFD>, then "
"an event listener should expect to receive up to two "
"I<fanotify_event_info_fid> information records and one "
"I<fanotify_event_info_pidfd> information record alongside the generic "
"I<fanotify_event_metadata> structure.  Importantly, fanotify provides no "
"guarantee around the ordering of information records when a notification "
"group is initialized with a stacked based configuration.  Each information "
"record has a nested structure of type I<fanotify_event_info_header>.  It is "
"imperative for event listeners to inspect the I<info_type> field of this "
"structure in order to determine the type of information record that had been "
"received for a given event."
msgstr ""

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy
#| msgid ""
#| "In case of an fanotify group that identifies filesystem objects by file "
#| "handles, you should also expect to receive one or more additional "
#| "information records of the structure detailed below following the generic "
#| "I<fanotify_event_metadata> structure within the read buffer:"
msgid ""
"In cases where an fanotify group identifies filesystem objects by file "
"handles, event listeners should also expect to receive one or more of the "
"below information record objects alongside the generic "
"I<fanotify_event_metadata> structure within the read buffer:"
msgstr ""
"Dans le cas d’un groupe fanotify qui identifie des objets de système de "
"fichiers par des gestionnaires de fichiers, sont attendus un ou plusieurs "
"enregistrements d’informations supplémentaires de la structure détaillée ci-"
"dessous qui suit la structure générique I<fanotify_event_metadata> dans le "
"tampon de lecture :"

#. type: Plain text
#: archlinux fedora-40 fedora-rawhide mageia-cauldron
#, fuzzy, no-wrap
#| msgid ""
#| "struct fanotify_event_info_fid {\n"
#| "    struct fanotify_event_info_header hdr;\n"
#| "    __kernel_fsid_t fsid;\n"
#| "    unsigned char file_handle[0];\n"
#| "};\n"
msgid ""
"struct fanotify_event_info_fid {\n"
"    struct fanotify_event_info_header hdr;\n"
"    __kernel_fsid_t fsid;\n"
"    unsigned char handle[];\n"
"};\n"
msgstr ""
"struct fanotify_event_info_fid {\n"
"    struct fanotify_event_info_header hdr;\n"
"    __kernel_fsid_t fsid;\n"
"    unsigned char file_handle[0];\n"
"};\n"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy
#| msgid ""
#| "In case of an fanotify group that identifies filesystem objects by file "
#| "handles, you should also expect to receive one or more additional "
#| "information records of the structure detailed below following the generic "
#| "I<fanotify_event_metadata> structure within the read buffer:"
msgid ""
"In cases where an fanotify group is initialized with B<FAN_REPORT_PIDFD>, "
"event listeners should expect to receive the below information record object "
"alongside the generic I<fanotify_event_metadata> structure within the read "
"buffer:"
msgstr ""
"Dans le cas d’un groupe fanotify qui identifie des objets de système de "
"fichiers par des gestionnaires de fichiers, sont attendus un ou plusieurs "
"enregistrements d’informations supplémentaires de la structure détaillée ci-"
"dessous qui suit la structure générique I<fanotify_event_metadata> dans le "
"tampon de lecture :"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy, no-wrap
#| msgid ""
#| "struct fanotify_event_info_fid {\n"
#| "    struct fanotify_event_info_header hdr;\n"
#| "    __kernel_fsid_t fsid;\n"
#| "    unsigned char file_handle[0];\n"
#| "};\n"
msgid ""
"struct fanotify_event_info_pidfd {\n"
"        struct fanotify_event_info_header hdr;\n"
"        __s32 pidfd;\n"
"};\n"
msgstr ""
"struct fanotify_event_info_fid {\n"
"    struct fanotify_event_info_header hdr;\n"
"    __kernel_fsid_t fsid;\n"
"    unsigned char file_handle[0];\n"
"};\n"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"In case of a B<FAN_FS_ERROR> event, an additional information record "
"describing the error that occurred is returned alongside the generic "
"I<fanotify_event_metadata> structure within the read buffer.  This structure "
"is defined as follows:"
msgstr ""

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy, no-wrap
#| msgid ""
#| "struct fanotify_event_info_fid {\n"
#| "    struct fanotify_event_info_header hdr;\n"
#| "    __kernel_fsid_t fsid;\n"
#| "    unsigned char file_handle[0];\n"
#| "};\n"
msgid ""
"struct fanotify_event_info_error {\n"
"    struct fanotify_event_info_header hdr;\n"
"    __s32 error;\n"
"    __u32 error_count;\n"
"};\n"
msgstr ""
"struct fanotify_event_info_fid {\n"
"    struct fanotify_event_info_header hdr;\n"
"    __kernel_fsid_t fsid;\n"
"    unsigned char file_handle[0];\n"
"};\n"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"All information records contain a nested structure of type "
"I<fanotify_event_info_header>.  This structure holds meta-information about "
"the information record that may have been returned alongside the generic "
"I<fanotify_event_metadata> structure.  This structure is defined as follows:"
msgstr ""

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy, no-wrap
#| msgid ""
#| "struct fanotify_event_info_header {\n"
#| "    __u8 info_type;\n"
#| "    __u8 pad;\n"
#| "    __u16 len;\n"
#| "};\n"
msgid ""
"struct fanotify_event_info_header {\n"
"\t__u8 info_type;\n"
"\t__u8 pad;\n"
"\t__u16 len;\n"
"};\n"
msgstr ""
"struct fanotify_event_info_header {\n"
"    __u8 info_type;\n"
"    __u8 pad;\n"
"    __u16 len;\n"
"};\n"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"For performance reasons, it is recommended to use a large buffer size (for "
"example, 4096 bytes), so that multiple events can be retrieved by a single "
"B<read>(2)."
msgstr ""
"Pour des raisons de performances, une grande taille de tampon (par exemple "
"4096 octets) est conseillée pour que plusieurs événements puissent être "
"récupérés en une seule lecture."

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"The return value of B<read>(2)  is the number of bytes placed in the buffer, "
"or -1 in case of an error (but see BUGS)."
msgstr ""
"La valeur de retour de B<read>(2) est le nombre d’octets placés dans le "
"tampon, ou B<-1> en cas d’erreur (mais consultez B<BOGUES>)."

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid "The fields of the I<fanotify_event_metadata> structure are as follows:"
msgstr ""
"Les champs de la structure I<fanotify_event_metadata> sont les suivants."

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "I<event_len>"
msgstr "I<event_len>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"This is the length of the data for the current event and the offset to the "
"next event in the buffer.  Unless the group identifies filesystem objects by "
"file handles, the value of I<event_len> is always "
"B<FAN_EVENT_METADATA_LEN>.  For a group that identifies filesystem objects "
"by file handles, I<event_len> also includes the variable length file "
"identifier records."
msgstr ""
"C’est la taille des données pour l’événement actuel et la position du "
"prochain événement dans le tampon. À moins que le groupe identifie des "
"objets du système de fichiers par des gestionnaires de fichiers, la valeur "
"d’I<event_len> est toujours B<FAN_EVENT_METADATA_LEN>. Pour un groupe qui "
"identifie les objets du système de fichiers par des gestionnaires de "
"fichiers, I<event_len> inclut aussi des enregistrements d’identificateur de "
"fichier de taille variable."

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "I<vers>"
msgstr "I<vers>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"This field holds a version number for the structure.  It must be compared to "
"B<FANOTIFY_METADATA_VERSION> to verify that the structures returned at run "
"time match the structures defined at compile time.  In case of a mismatch, "
"the application should abandon trying to use the fanotify file descriptor."
msgstr ""
"Ce champ contient un numéro de version pour la structure. Il doit être "
"comparé à B<FANOTIFY_METADATA_VERSION> pour vérifier que les structures "
"renvoyées pendant l’exécution correspondent aux structures définies à la "
"compilation. En cas d’erreur de correspondance, l’application devrait "
"arrêter d’essayer d’utiliser le descripteur de fichier fanotify."

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "I<reserved>"
msgstr "I<reserved>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid "This field is not used."
msgstr "Ce champ n’est pas utilisé."

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "I<metadata_len>"
msgstr "I<metadata_len>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"This is the length of the structure.  The field was introduced to facilitate "
"the implementation of optional headers per event type.  No such optional "
"headers exist in the current implementation."
msgstr ""
"C’est la taille de la structure. Le champ a été introduit pour faciliter "
"l’implémentation d’en-têtes facultatifs par type d’événement. Aucun en-tête "
"facultatif n’existe dans l’implémentation actuelle."

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "I<mask>"
msgstr "I<mask>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid "This is a bit mask describing the event (see below)."
msgstr "C’est un masque binaire décrivant l’événement (voir ci-dessous)."

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "I<fd>"
msgstr "I<fd>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"This is an open file descriptor for the object being accessed, or "
"B<FAN_NOFD> if a queue overflow occurred.  With an fanotify group that "
"identifies filesystem objects by file handles, applications should expect "
"this value to be set to B<FAN_NOFD> for each event that is received.  The "
"file descriptor can be used to access the contents of the monitored file or "
"directory.  The reading application is responsible for closing this file "
"descriptor."
msgstr ""
"C’est un descripteur de fichier ouvert pour l’objet actuellement accédé ou "
"B<FAN_NOFD> si un dépassement de file est survenu. Avec un groupe fanotify "
"qui identifie les objets de système d’exploitation par des gestionnaires de "
"fichiers, les applications doivent escompter que cette valeur soit  "
"B<FAN_NOFD> pour chaque évènement qu’elles reçoivent. Le descripteur de "
"fichier peut être utilisé pour accéder au contenu du fichier ou répertoire "
"surveillé. L’application qui lit est responsable de la fermeture de ce "
"descripteur de fichier."

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"When calling B<fanotify_init>(2), the caller may specify (via the "
"I<event_f_flags> argument) various file status flags that are to be set on "
"the open file description that corresponds to this file descriptor.  In "
"addition, the (kernel-internal)  B<FMODE_NONOTIFY> file status flag is set "
"on the open file description.  This flag suppresses fanotify event "
"generation.  Hence, when the receiver of the fanotify event accesses the "
"notified file or directory using this file descriptor, no additional events "
"will be created."
msgstr ""
"Lors d’un appel de B<fanotify_init>(2), l’appelant pourrait indiquer (à "
"l’aide de l’argument I<event_f_flags>) plusieurs attributs d’état de fichier "
"à définir dans la description de fichier ouverte qui correspond à ce "
"descripteur de fichier. De plus, l’attribut d’état de fichier "
"B<FMODE_NONOTIFY> (interne au noyau) est défini dans la description de "
"fichier ouverte. L’attribut supprime la création d’événement fanotify. "
"Ainsi, quand le destinataire de l’événement fanotify accède au fichier ou "
"répertoire notifié en utilisant ce descripteur de fichier, aucun événement "
"supplémentaire n’est créé."

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "I<pid>"
msgstr "I<pid>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"If flag B<FAN_REPORT_TID> was set in B<fanotify_init>(2), this is the TID of "
"the thread that caused the event.  Otherwise, this the PID of the process "
"that caused the event."
msgstr ""
"Si l’attribut B<FAN_REPORT_TID> était réglé dans B<fanotify_init>(2), c’est "
"l’identifiant (TID) du thread qui a provoqué cet évènement. Sinon, c’est le "
"PID du processus qui a provoqué cet évènement."

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"A program listening to fanotify events can compare this PID to the PID "
"returned by B<getpid>(2), to determine whether the event is caused by the "
"listener itself, or is due to a file access by another process."
msgstr ""
"Un programme écoutant les événements fanotify peut comparer ce PID au PID "
"renvoyé par B<getpid>(2) pour déterminer si l’événement est provoqué par "
"l’écoutant lui-même ou par un autre processus accédant au fichier."

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"The bit mask in I<mask> indicates which events have occurred for a single "
"filesystem object.  Multiple bits may be set in this mask, if more than one "
"event occurred for the monitored filesystem object.  In particular, "
"consecutive events for the same filesystem object and originating from the "
"same process may be merged into a single event, with the exception that two "
"permission events are never merged into one queue entry."
msgstr ""
"Le masque binaire I<mask> indique les événements survenus pour un seul objet "
"de système de fichiers. Plusieurs bits pourraient être définis dans ce "
"masque si plus d’un événement est survenu pour l’objet de système de "
"fichiers surveillé. En particulier, les événements consécutifs pour le même "
"objet de système de fichiers et originaires du même processus pourraient "
"être fusionnés dans un seul événement, mais deux événements de permission ne "
"sont jamais fusionnés dans une entrée de file."

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid "The bits that may appear in I<mask> are as follows:"
msgstr "Les bits pouvant apparaître dans I<mask> sont les suivants."

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<FAN_ACCESS>"
msgstr "B<FAN_ACCESS>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid "A file or a directory (but see BUGS) was accessed (read)."
msgstr ""
"Un fichier ou un répertoire (mais consultez B<BOGUES>) a été accédé (en "
"lecture)."

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<FAN_OPEN>"
msgstr "B<FAN_OPEN>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid "A file or a directory was opened."
msgstr "Un fichier ou un répertoire a été ouvert."

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<FAN_OPEN_EXEC>"
msgstr "B<FAN_OPEN_EXEC>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"A file was opened with the intent to be executed.  See NOTES in "
"B<fanotify_mark>(2)  for additional details."
msgstr ""
"Un fichier a été ouvert dans le but d’être exécuté. Consultez NOTES dans "
"B<fanotify_mark>(2) pour plus de détails."

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<FAN_ATTRIB>"
msgstr "B<FAN_ATTRIB>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid "A file or directory metadata was changed."
msgstr "Une métadonnée de fichier ou d’un répertoire a été modifiée."

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<FAN_CREATE>"
msgstr "B<FAN_CREATE>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid "A child file or directory was created in a watched parent."
msgstr ""
"Un fichier enfant ou un répertoire a été créé dans le répertoire surveillé."

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<FAN_DELETE>"
msgstr "B<FAN_DELETE>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid "A child file or directory was deleted in a watched parent."
msgstr ""
"Un fichier enfant ou un répertoire a été supprimé dans le répertoire "
"surveillé."

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<FAN_DELETE_SELF>"
msgstr "B<FAN_DELETE_SELF>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid "A watched file or directory was deleted."
msgstr "Un fichier ou un répertoire a été supprimé."

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy, no-wrap
#| msgid "B<FAN_Q_OVERFLOW>"
msgid "B<FAN_FS_ERROR>"
msgstr "B<FAN_Q_OVERFLOW>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy
#| msgid "Filesystem errors left uncorrected"
msgid "A filesystem error was detected."
msgstr "Il reste des erreurs non corrigées sur le système de fichiers."

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy, no-wrap
#| msgid "B<FAN_CREATE>"
msgid "B<FAN_RENAME>"
msgstr "B<FAN_CREATE>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy
#| msgid "A file or directory has been moved from a watched parent directory."
msgid ""
"A file or directory has been moved to or from a watched parent directory."
msgstr "Un fichier ou un répertoire a été déplacé du répertoire surveillé."

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<FAN_MOVED_FROM>"
msgstr "B<FAN_MOVED_FROM>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid "A file or directory has been moved from a watched parent directory."
msgstr "Un fichier ou un répertoire a été déplacé du répertoire surveillé."

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<FAN_MOVED_TO>"
msgstr "B<FAN_MOVED_TO>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid "A file or directory has been moved to a watched parent directory."
msgstr ""
"Un fichier ou un répertoire a été déplacé du répertoire parent surveillé."

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<FAN_MOVE_SELF>"
msgstr "B<IN_MOVE_SELF>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid "A watched file or directory was moved."
msgstr "Un fichier ou un répertoire surveillé a été déplacé."

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<FAN_MODIFY>"
msgstr "B<FAN_MODIFY>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid "A file was modified."
msgstr "Un fichier a été modifié."

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<FAN_CLOSE_WRITE>"
msgstr "B<FAN_CLOSE_WRITE>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"A file that was opened for writing (B<O_WRONLY> or B<O_RDWR>)  was closed."
msgstr ""
"Un fichier qui était ouvert en écriture (B<O_WRONLY> ou B<O_RDWR>) a été "
"fermé."

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<FAN_CLOSE_NOWRITE>"
msgstr "B<FAN_CLOSE_NOWRITE>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"A file or directory that was opened read-only (B<O_RDONLY>)  was closed."
msgstr ""
"Un fichier ou un répertoire, qui était ouvert en lecture seule "
"(B<O_RDONLY>), a été fermé."

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<FAN_Q_OVERFLOW>"
msgstr "B<FAN_Q_OVERFLOW>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy
#| msgid ""
#| "The event queue exceeded the limit of 16384 entries.  This limit can be "
#| "overridden by specifying the B<FAN_UNLIMITED_QUEUE> flag when calling "
#| "B<fanotify_init>(2)."
msgid ""
"The event queue exceeded the limit on number of events.  This limit can be "
"overridden by specifying the B<FAN_UNLIMITED_QUEUE> flag when calling "
"B<fanotify_init>(2)."
msgstr ""
"La file d’événements a dépassé la limite de 16384 entrées. Cette limite peut "
"être écrasée en indiquant l’attribut B<FAN_UNLIMITED_QUEUE> lors de l’appel "
"de B<fanotify_init>(2)."

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<FAN_ACCESS_PERM>"
msgstr "B<FAN_ACCESS_PERM>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"An application wants to read a file or directory, for example using "
"B<read>(2)  or B<readdir>(2).  The reader must write a response (as "
"described below)  that determines whether the permission to access the "
"filesystem object shall be granted."
msgstr ""
"Une application veut lire un fichier ou répertoire, par exemple en utilisant "
"B<read>(2) ou B<readdir>(2). Le lecteur doit écrire une réponse (telle que "
"décrite ci-dessous) qui détermine si le droit d’accès à l’objet de système "
"de fichiers sera attribué."

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<FAN_OPEN_PERM>"
msgstr "B<FAN_OPEN_PERM>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"An application wants to open a file or directory.  The reader must write a "
"response that determines whether the permission to open the filesystem "
"object shall be granted."
msgstr ""
"Une application veut ouvrir un fichier ou un répertoire. Le lecteur doit "
"écrire une réponse qui détermine si le droit d’ouvrir l’objet de système de "
"fichiers sera attribué."

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<FAN_OPEN_EXEC_PERM>"
msgstr "B<FAN_OPEN_PERM>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"An application wants to open a file for execution.  The reader must write a "
"response that determines whether the permission to open the filesystem "
"object for execution shall be granted.  See NOTES in B<fanotify_mark>(2)  "
"for additional details."
msgstr ""
"Une application veut ouvrir un fichier pour une exécution. Le lecteur doit "
"écrire une réponse qui détermine si le droit d’ouvrir l’objet de système de "
"fichiers sera attribué. Consultez NOTES dans B<fanotify_mark>(2) pour plus "
"de détails."

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid "To check for any close event, the following bit mask may be used:"
msgstr ""
"Pour vérifier tous les événements fermés, le masque binaire suivant pourrait "
"être utilisé :"

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<FAN_CLOSE>"
msgstr "B<FAN_CLOSE>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid "A file was closed.  This is a synonym for:"
msgstr "Un fichier a été fermé. C’est un synonyme de :"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy, no-wrap
#| msgid "    FAN_CLOSE_WRITE | FAN_CLOSE_NOWRITE\n"
msgid "FAN_CLOSE_WRITE | FAN_CLOSE_NOWRITE\n"
msgstr "    FAN_CLOSE_WRITE | FAN_CLOSE_NOWRITE\n"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid "To check for any move event, the following bit mask may be used:"
msgstr ""
"Pour vérifier tous les événements de déplacement, le masque binaire suivant "
"pourrait être utilisé :"

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<FAN_MOVE>"
msgstr "B<FAN_MOVE>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid "A file or directory was moved.  This is a synonym for:"
msgstr "Un fichier ou un répertoire a été déplacé. C’est un synonyme de :"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy, no-wrap
#| msgid "    FAN_MOVED_FROM | FAN_MOVED_TO\n"
msgid "FAN_MOVED_FROM | FAN_MOVED_TO\n"
msgstr "    FAN_MOVED_FROM | FAN_MOVED_TO\n"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"The following bits may appear in I<mask> only in conjunction with other "
"event type bits:"
msgstr ""
"Les bits suivants peuvent apparaître dans I<mask> seulement conjointement "
"avec d’autres bits de type d’évènement :"

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<FAN_ONDIR>"
msgstr "B<FAN_ONDIR>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"The events described in the I<mask> have occurred on a directory object.  "
"Reporting events on directories requires setting this flag in the mark "
"mask.  See B<fanotify_mark>(2)  for additional details.  The B<FAN_ONDIR> "
"flag is reported in an event mask only if the fanotify group identifies "
"filesystem objects by file handles."
msgstr ""
"Les évènements décrits dans le I<mask> se sont déroulés dans un objet de "
"répertoire. Le rapport d’évènements dans des répertoires requiert le réglage "
"de cet attribut dans le masque I<mark>. Consultez B<fanotify_mark>(2) pour "
"plus de détails. L’attribut B<FAN_ONDIR> est rapporté dans un masque "
"d’évènement seulement si le groupe fanotify identifie les objets de système "
"d’exploitation avec des gestionnaires de fichiers."

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"Information records that are supplied alongside the generic "
"I<fanotify_event_metadata> structure will always contain a nested structure "
"of type I<fanotify_event_info_header>.  The fields of the "
"I<fanotify_event_info_header> are as follows:"
msgstr ""

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy, no-wrap
#| msgid "I<type>"
msgid "I<info_type>"
msgstr "I<type>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"A unique integer value representing the type of information record object "
"received for an event.  The value of this field can be set to one of the "
"following: B<FAN_EVENT_INFO_TYPE_FID>, B<FAN_EVENT_INFO_TYPE_DFID>, "
"B<FAN_EVENT_INFO_TYPE_DFID_NAME>, or B<FAN_EVENT_INFO_TYPE_PIDFD>.  The "
"value set for this field is dependent on the flags that have been supplied "
"to B<fanotify_init>(2).  Refer to the field details of each information "
"record object type below to understand the different cases in which the "
"I<info_type> values can be set."
msgstr ""

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "I<pad>"
msgstr ""

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"This field is currently not used by any information record object type and "
"therefore is set to zero."
msgstr ""

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "I<len>"
msgstr "I<len>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"The value of I<len> is set to the size of the information record object, "
"including the I<fanotify_event_info_header>.  The total size of all "
"additional information records is not expected to be larger than "
"(I<event_len> - I<metadata_len>)."
msgstr ""

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid "The fields of the I<fanotify_event_info_fid> structure are as follows:"
msgstr ""
"Les champs de la structure I<fanotify_event_info_fid> sont les suivants."

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "I<hdr>"
msgstr "I<hdr>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy
#| msgid ""
#| "This is a structure of type I<fanotify_event_info_header>.  It is a "
#| "generic header that contains information used to describe an additional "
#| "information record attached to the event.  For example, when an fanotify "
#| "file descriptor is created using B<FAN_REPORT_FID>, a single information "
#| "record is expected to be attached to the event with I<info_type> field "
#| "value of B<FAN_EVENT_INFO_TYPE_FID>.  When an fanotify file descriptor is "
#| "created using the combination of B<FAN_REPORT_FID> and "
#| "B<FAN_REPORT_DIR_FID>, there may be two information records attached to "
#| "the event: one with I<info_type> field value of "
#| "B<FAN_EVENT_INFO_TYPE_DFID>, identifying a parent directory object, and "
#| "one with I<info_type> field value of B<FAN_EVENT_INFO_TYPE_FID>, "
#| "identifying a non-directory object.  The I<fanotify_event_info_header> "
#| "contains a I<len> field.  The value of I<len> is the size of the "
#| "additional information record including the I<fanotify_event_info_header> "
#| "itself.  The total size of all additional information records is not "
#| "expected to be bigger than ( I<event_len> - I<metadata_len> )."
msgid ""
"This is a structure of type I<fanotify_event_info_header>.  For example, "
"when an fanotify file descriptor is created using B<FAN_REPORT_FID>, a "
"single information record is expected to be attached to the event with "
"I<info_type> field value of B<FAN_EVENT_INFO_TYPE_FID>.  When an fanotify "
"file descriptor is created using the combination of B<FAN_REPORT_FID> and "
"B<FAN_REPORT_DIR_FID>, there may be two information records attached to the "
"event: one with I<info_type> field value of B<FAN_EVENT_INFO_TYPE_DFID>, "
"identifying a parent directory object, and one with I<info_type> field value "
"of B<FAN_EVENT_INFO_TYPE_FID>, identifying a child object.  Note that for "
"the directory entry modification events B<FAN_CREATE>, B<FAN_DELETE>, "
"B<FAN_MOVE>, and B<FAN_RENAME>, an information record identifying the "
"created/deleted/moved child object is reported only if an fanotify group was "
"initialized with the flag B<FAN_REPORT_TARGET_FID>."
msgstr ""
"C’est une structure de type I<fanotify_event_info_header>. C’est un en-tête "
"générique qui contient des informations utilisées pour décrire un "
"enregistrement d’informations supplémentaires attaché à l’évènement. Par "
"exemple, quand un descripteur de fichier fanotify est créé en utilisant "
"B<FAN_REPORT_FID>, un enregistrement unique est supposé être attaché à "
"l’évènement avec la valeur de champ I<info_type> de "
"B<FAN_EVENT_INFO_TYPE_FID>. Quand un descripteur de fichier fanotify est "
"créé en utilisant la combinaison de B<FAN_REPORT_FID> et "
"B<FAN_REPORT_DIR_FID>, il peut y avoir deux enregistrements d’informations "
"attachés à l’évènement : un avec une valeur de champ I<info_type> de "
"B<FAN_EVENT_INFO_TYPE_DFID>, identifiant un objet de répertoire parent, et "
"un avec une valeur de champ I<info_type> de B<FAN_EVENT_INFO_TYPE_FID>, "
"identifiant un objet non répertoire. Le I<fanotify_event_info_header> "
"contient un champ I<len>. La valeur de I<len> est la taille de "
"l’enregistrement d’informations supplémentaires incluant le "
"I<fanotify_event_info_header> lui-même. La taille totale de tous les "
"enregistrements d’informations supplémentaires n’est pas supposée être "
"supérieure à (\\ I<event_len>\\ -\\ I<metadata_len>\\ )."

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "I<fsid>"
msgstr "I<fsid>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"This is a unique identifier of the filesystem containing the object "
"associated with the event.  It is a structure of type I<__kernel_fsid_t> and "
"contains the same value as I<f_fsid> when calling B<statfs>(2)."
msgstr ""
"C’est un identifiant unique du système de fichiers contenant l’objet associé "
"avec l’évènement. C’est une structure de type I<__kernel_fsid_t> et elle "
"contient la même valeur que I<f_fsid> lors de l’appel B<statfs>(2)."

#. type: TP
#: archlinux fedora-40 fedora-rawhide mageia-cauldron
#, fuzzy, no-wrap
#| msgid "I<file_handle>"
msgid "I<handle>"
msgstr "I<file_handle>"

#. type: Plain text
#: archlinux fedora-40 fedora-rawhide mageia-cauldron
#, fuzzy
#| msgid ""
#| "This is a variable length structure of type struct file_handle.  It is an "
#| "opaque handle that corresponds to a specified object on a filesystem as "
#| "returned by B<name_to_handle_at>(2).  It can be used to uniquely identify "
#| "a file on a filesystem and can be passed as an argument to "
#| "B<open_by_handle_at>(2).  Note that for the directory entry modification "
#| "events B<FAN_CREATE>, B<FAN_DELETE>, and B<FAN_MOVE>, the I<file_handle> "
#| "identifies the modified directory and not the created/deleted/moved child "
#| "object.  If the value of I<info_type> field is "
#| "B<FAN_EVENT_INFO_TYPE_DFID_NAME>, the file handle is followed by a null "
#| "terminated string that identifies the created/deleted/moved directory "
#| "entry name.  For other events such as B<FAN_OPEN>, B<FAN_ATTRIB>, "
#| "B<FAN_DELETE_SELF>, and B<FAN_MOVE_SELF>, if the value of I<info_type> "
#| "field is B<FAN_EVENT_INFO_TYPE_FID>, the I<file_handle> identifies the "
#| "object correlated to the event.  If the value of I<info_type> field is "
#| "B<FAN_EVENT_INFO_TYPE_DFID>, the I<file_handle> identifies the directory "
#| "object correlated to the event or the parent directory of a non-directory "
#| "object correlated to the event.  If the value of I<info_type> field is "
#| "B<FAN_EVENT_INFO_TYPE_DFID_NAME>, the I<file_handle> identifies the same "
#| "directory object that would be reported with B<FAN_EVENT_INFO_TYPE_DFID> "
#| "and the file handle is followed by a null terminated string that "
#| "identifies the name of a directory entry in that directory, or '.' to "
#| "identify the directory object itself."
msgid ""
"This field contains a variable-length structure of type I<struct "
"file_handle>.  It is an opaque handle that corresponds to a specified object "
"on a filesystem as returned by B<name_to_handle_at>(2).  It can be used to "
"uniquely identify a file on a filesystem and can be passed as an argument to "
"B<open_by_handle_at>(2).  If the value of I<info_type> field is "
"B<FAN_EVENT_INFO_TYPE_DFID_NAME>, the file handle is followed by a null "
"terminated string that identifies the created/deleted/moved directory entry "
"name.  For other events such as B<FAN_OPEN>, B<FAN_ATTRIB>, "
"B<FAN_DELETE_SELF>, and B<FAN_MOVE_SELF>, if the value of I<info_type> field "
"is B<FAN_EVENT_INFO_TYPE_FID>, the I<handle> identifies the object "
"correlated to the event.  If the value of I<info_type> field is "
"B<FAN_EVENT_INFO_TYPE_DFID>, the I<handle> identifies the directory object "
"correlated to the event or the parent directory of a non-directory object "
"correlated to the event.  If the value of I<info_type> field is "
"B<FAN_EVENT_INFO_TYPE_DFID_NAME>, the I<handle> identifies the same "
"directory object that would be reported with B<FAN_EVENT_INFO_TYPE_DFID> and "
"the file handle is followed by a null terminated string that identifies the "
"name of a directory entry in that directory, or '.' to identify the "
"directory object itself."
msgstr ""
"C’est une structure de taille variable de type I<struct "
"gestionnaire_fichier>. C’est un gestionnaire opaque qui correspond à un "
"objet précis de système de fichiers comme renvoyé par "
"B<name_to_handle_at>(2). Il peut être utilisé uniquement pour identifier un "
"fichier d’un système de fichiers et peut être passé comme argument à "
"B<open_by_handle_at>(2). Remarquez que pour les évènements de modification "
"d’entrée de répertoire B<FAN_CREATE>, B<FAN_DELETE> et B<FAN_MOVE>, "
"I<gestionnaire_fichier> identifie le répertoire modifié et non l’objet "
"enfant créé/supprimé/déplacé. Si la valeur du champ I<info_type> est "
"B<FAN_EVENT_INFO_TYPE_DFID_NAME>, le gestionnaire de fichiers est suivi par "
"un octet NULL final qui identifie le nom d’entrée de répertoire créé/"
"supprimé/déplacé. Pour les autres évènements tels que B<FAN_OPEN>, "
"B<FAN_ATTRIB>, B<FAN_DELETE_SELF> et B<FAN_MOVE_SELF>, si la valeur du champ "
"I<info_type> est B<FAN_EVENT_INFO_TYPE_FID>, le I<gestionnaire_fichier> "
"identifie l’objet corrélé à l’évènement. Si la valeur du champ I<info_type> "
"est B<FAN_EVENT_INFO_TYPE_DFID>, le I<gestionnaire_fichier> identifie "
"l’objet de répertoire corrélé à l’évènement ou le répertoire parent d’un "
"objet non répertoire corrélé à l’évènement. Si la valeur du champ "
"I<info_type> est B<FAN_EVENT_INFO_TYPE_DFID_NAME>, le "
"I<gestionnaire_fichier> identifie le même objet de répertoire qui aurait été "
"rapporté avec B<FAN_EVENT_INFO_TYPE_DFID> et le gestionnaire de fichiers est "
"suivi par un octet NULL final qui identifie le nom de l’entrée de répertoire "
"dans ce répertoire ou « . » pour identifier l’objet du répertoire."

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy
#| msgid ""
#| "The fields of the I<fanotify_event_info_fid> structure are as follows:"
msgid ""
"The fields of the I<fanotify_event_info_pidfd> structure are as follows:"
msgstr ""
"Les champs de la structure I<fanotify_event_info_fid> sont les suivants."

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"This is a structure of type I<fanotify_event_info_header>.  When an fanotify "
"group is initialized using B<FAN_REPORT_PIDFD>, the I<info_type> field value "
"of the I<fanotify_event_info_header> is set to B<FAN_EVENT_INFO_TYPE_PIDFD>."
msgstr ""

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy, no-wrap
#| msgid "I<pid>"
msgid "I<pidfd>"
msgstr "I<pid>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"This is a process file descriptor that refers to the process responsible for "
"generating the event.  The returned process file descriptor is no different "
"from one which could be obtained manually if B<pidfd_open>(2)  were to be "
"called on I<fanotify_event_metadata.pid>.  In the instance that an error is "
"encountered during pidfd creation, one of two possible error types "
"represented by a negative integer value may be returned in this I<pidfd> "
"field.  In cases where the process responsible for generating the event has "
"terminated prior to the event listener being able to read events from the "
"notification queue, B<FAN_NOPIDFD> is returned.  The pidfd creation for an "
"event is only performed at the time the events are read from the "
"notification queue.  All other possible pidfd creation failures are "
"represented by B<FAN_EPIDFD>.  Once the event listener has dealt with an "
"event and the pidfd is no longer required, the pidfd should be closed via "
"B<close>(2)."
msgstr ""

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy
#| msgid ""
#| "The fields of the I<fanotify_event_info_fid> structure are as follows:"
msgid ""
"The fields of the I<fanotify_event_info_error> structure are as follows:"
msgstr ""
"Les champs de la structure I<fanotify_event_info_fid> sont les suivants."

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"This is a structure of type I<fanotify_event_info_header>.  The I<info_type> "
"field is set to B<FAN_EVENT_INFO_TYPE_ERROR>."
msgstr ""

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy, no-wrap
#| msgid "B<error>"
msgid "I<error>"
msgstr "B<error>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid "Identifies the type of error that occurred."
msgstr ""

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy, no-wrap
#| msgid "I<MemoryAccounting=>"
msgid "I<error_count>"
msgstr "I<MemoryAccounting=>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"This is a counter of the number of errors suppressed since the last error "
"was read."
msgstr ""

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"The following macros are provided to iterate over a buffer containing "
"fanotify event metadata returned by a B<read>(2)  from an fanotify file "
"descriptor:"
msgstr ""
"Les macros suivantes sont fournies pour itérer sur un tampon contenant les "
"métadonnées d’événement fanotify renvoyées par B<read>(2) à partir d’un "
"descripteur de fichier fanotify."

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<FAN_EVENT_OK(meta, len)>"
msgstr "B<FAN_EVENT_OK(meta, len)>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"This macro checks the remaining length I<len> of the buffer I<meta> against "
"the length of the metadata structure and the I<event_len> field of the first "
"metadata structure in the buffer."
msgstr ""
"Cette macro compare la taille restante I<len> du tampon I<meta> à la taille "
"de la structure de métadonnées et au champ I<event_len> de la première "
"structure de métadonnées du tampon."

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<FAN_EVENT_NEXT(meta, len)>"
msgstr "B<FAN_EVENT_NEXT(meta, len)>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"This macro uses the length indicated in the I<event_len> field of the "
"metadata structure pointed to by I<meta> to calculate the address of the "
"next metadata structure that follows I<meta>.  I<len> is the number of bytes "
"of metadata that currently remain in the buffer.  The macro returns a "
"pointer to the next metadata structure that follows I<meta>, and reduces "
"I<len> by the number of bytes in the metadata structure that has been "
"skipped over (i.e., it subtracts I<meta-E<gt>event_len> from I<len>)."
msgstr ""
"Cette macro utilise la taille indiquée dans le champ I<event_len> de la "
"structure de métadonnées pointée par I<meta> pour calculer l’adresse de la "
"prochaine structure de métadonnées qui suit I<meta>. I<len> est le nombre "
"d’octets de métadonnées qui restent actuellement dans le tampon. La macro "
"renvoie un pointeur vers la prochaine structure de métadonnées qui suit "
"I<meta> et réduit I<len> du nombre d’octets dans la structure de métadonnées "
"qui a été sautée (c’est-à-dire qu’elle soustrait I<meta-E<gt>event_len> de "
"I<len>)."

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid "In addition, there is:"
msgstr "De plus, il existe :"

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<FAN_EVENT_METADATA_LEN>"
msgstr "B<FAN_EVENT_METADATA_LEN>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"This macro returns the size (in bytes) of the structure "
"I<fanotify_event_metadata>.  This is the minimum size (and currently the "
"only size) of any event metadata."
msgstr ""
"Cette macro renvoie la taille (en octet) de la structure "
"I<fanotify_event_metadata>. C’est la taille minimale (et actuellement la "
"seule taille) de métadonnées d’événements."

#. type: SS
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "Monitoring an fanotify file descriptor for events"
msgstr "Surveiller un descripteur de fichier fanotify pour les événements"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"When an fanotify event occurs, the fanotify file descriptor indicates as "
"readable when passed to B<epoll>(7), B<poll>(2), or B<select>(2)."
msgstr ""
"Quand un événement fanotify survient, le descripteur de fichier fanotify est "
"indiqué comme lisible lorsque passé à B<epoll>(7), B<poll>(2) ou "
"B<select>(2)."

#. type: SS
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "Dealing with permission events"
msgstr "Traitement des événements de permission"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"For permission events, the application must B<write>(2)  a structure of the "
"following form to the fanotify file descriptor:"
msgstr ""
"Pour les événements de permission, l’application doit écrire (avec "
"B<write>(2)) une structure de la forme suivante sur le descripteur de "
"fichier fanotify :"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid ""
"struct fanotify_response {\n"
"    __s32 fd;\n"
"    __u32 response;\n"
"};\n"
msgstr ""
"struct fanotify_response {\n"
"    __s32 fd;\n"
"    __u32 response;\n"
"};\n"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid "The fields of this structure are as follows:"
msgstr "Les membres de cette structure sont les suivants :"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"This is the file descriptor from the structure I<fanotify_event_metadata>."
msgstr ""
"C’est le descripteur de fichier de la structure I<fanotify_event_metadata>."

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "I<response>"
msgstr "I<response>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"This field indicates whether or not the permission is to be granted.  Its "
"value must be either B<FAN_ALLOW> to allow the file operation or B<FAN_DENY> "
"to deny the file operation."
msgstr ""
"Ce champ indique si les droits doivent être attribués ou non. Cette valeur "
"doit être soit B<FAN_ALLOW> pour permettre l’opération de fichier, soit "
"B<FAN_DENY> pour refuser l’opération de fichier."

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"If access is denied, the requesting application call will receive an "
"B<EPERM> error.  Additionally, if the notification group has been created "
"with the B<FAN_ENABLE_AUDIT> flag, then the B<FAN_AUDIT> flag can be set in "
"the I<response> field.  In that case, the audit subsystem will log "
"information about the access decision to the audit logs."
msgstr ""
"Si l’accès est refusé, l’appel de l’application requérante recevra une "
"erreur B<EPERM>. De plus, si le groupe de notifications a été créé avec "
"l’attribut B<FAN_ENABLE_AUDIT>, alors l’attribut B<FAN_AUDIT> peut être "
"défini dans le champ I<response>. Dans ce cas, le sous-système d’audit "
"journalisera l’information à propos de la décision d’accès aux journaux "
"d’audit."

#. type: SS
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy, no-wrap
#| msgid "fanotify - monitoring filesystem events"
msgid "Monitoring filesystems for errors"
msgstr "fanotify – Surveiller les événements des systèmes de fichiers"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"A single B<FAN_FS_ERROR> event is stored per filesystem at once.  Extra "
"error messages are suppressed and accounted for in the I<error_count> field "
"of the existing B<FAN_FS_ERROR> event record, but details about the errors "
"are lost."
msgstr ""

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"Errors reported by B<FAN_FS_ERROR> are generic I<errno> values, but not all "
"kinds of error types are reported by all filesystems."
msgstr ""

#. type: Plain text
#: archlinux fedora-40 fedora-rawhide mageia-cauldron
msgid ""
"Errors not directly related to a file (i.e. super block corruption)  are "
"reported with an invalid I<handle>.  For these errors, the I<handle> will "
"have the field I<handle_type> set to B<FILEID_INVALID>, and the handle "
"buffer size set to B<0>."
msgstr ""

#. type: SS
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "Closing the fanotify file descriptor"
msgstr "Fermeture du descripteur de fichier fanotify"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"When all file descriptors referring to the fanotify notification group are "
"closed, the fanotify group is released and its resources are freed for reuse "
"by the kernel.  Upon B<close>(2), outstanding permission events will be set "
"to allowed."
msgstr ""
"Quand tous les descripteurs de fichier se référant au groupe de "
"notifications fanotify sont fermés, le groupe fanotify est libéré et ses "
"ressources sont libérées pour être réutilisées par le noyau. Lors de l’appel "
"de B<close>(2), les événements de permission restants seront définis à "
"permis."

#. type: SS
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "/proc interfaces"
msgstr "/proc interfaces"

#. type: Plain text
#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
#: opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy
#| msgid ""
#| "The file I</proc/[pid]/fdinfo/[fd]> contains information about fanotify "
#| "marks for file descriptor I<fd> of process I<pid>.  See B<proc>(5)  for "
#| "details."
msgid ""
"The file I</proc/>pidI</fdinfo/>fd contains information about fanotify marks "
"for file descriptor I<fd> of process I<pid>.  See B<proc>(5)  for details."
msgstr ""
"Le fichier I</proc/[pid]/fdinfo/[fd]> contient des renseignements sur les "
"marques fanotify pour le descripteur de fichier I<fd> du processus I<pid>. "
"Consultez B<proc>(5) pour plus de précisions."

#.  commit 5b8fea65d197f408bb00b251c70d842826d6b70b
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"Since Linux 5.13, the following interfaces can be used to control the amount "
"of kernel resources consumed by fanotify:"
msgstr ""

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "I</proc/sys/fs/fanotify/max_queued_events>"
msgstr ""

#.  commit 5b8fea65d197f408bb00b251c70d842826d6b70b
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"The value in this file is used when an application calls "
"B<fanotify_init>(2)  to set an upper limit on the number of events that can "
"be queued to the corresponding fanotify group.  Events in excess of this "
"limit are dropped, but an B<FAN_Q_OVERFLOW> event is always generated.  "
"Prior to Linux kernel 5.13, the hardcoded limit was 16384 events."
msgstr ""

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "I</proc/sys/fs/fanotify/max_user_group>"
msgstr ""

#.  commit 5b8fea65d197f408bb00b251c70d842826d6b70b
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"This specifies an upper limit on the number of fanotify groups that can be "
"created per real user ID.  Prior to Linux kernel 5.13, the hardcoded limit "
"was 128 groups per user."
msgstr ""

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "I</proc/sys/fs/fanotify/max_user_marks>"
msgstr ""

#.  commit 5b8fea65d197f408bb00b251c70d842826d6b70b
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"This specifies an upper limit on the number of fanotify marks that can be "
"created per real user ID.  Prior to Linux kernel 5.13, the hardcoded limit "
"was 8192 marks per group (not per user)."
msgstr ""

#. type: SH
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "ERRORS"
msgstr "ERREURS"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"In addition to the usual errors for B<read>(2), the following errors can "
"occur when reading from the fanotify file descriptor:"
msgstr ""
"En plus des erreurs habituelles de B<read>(2), les erreurs suivantes peuvent "
"survenir lors de la lecture d’un descripteur de fichier fanotify."

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<EINVAL>"
msgstr "B<EINVAL>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid "The buffer is too small to hold the event."
msgstr "Le tampon est trop petit pour contenir l’événement."

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<EMFILE>"
msgstr "B<EMFILE>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"The per-process limit on the number of open files has been reached.  See the "
"description of B<RLIMIT_NOFILE> in B<getrlimit>(2)."
msgstr ""
"La limite par processus du nombre de fichiers ouverts a été atteinte. "
"Consultez la description de B<RLIMIT_NOFILE> dans B<getrlimit>(2)."

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<ENFILE>"
msgstr "B<ENFILE>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"The system-wide limit on the total number of open files has been reached.  "
"See I</proc/sys/fs/file-max> in B<proc>(5)."
msgstr ""
"La limite du nombre de fichiers ouverts sur le système a été atteinte. "
"Consultez I</proc/sys/fs/file-max> dans B<proc>(5)."

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<ETXTBSY>"
msgstr "B<ETXTBSY>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"This error is returned by B<read>(2)  if B<O_RDWR> or B<O_WRONLY> was "
"specified in the I<event_f_flags> argument when calling B<fanotify_init>(2)  "
"and an event occurred for a monitored file that is currently being executed."
msgstr ""
"Cette erreur est renvoyée par B<read>(2) si B<O_RDWR> ou B<O_WRONLY> ont été "
"indiqués dans l’argument I<event_f_flags> lors de l’appel "
"B<fanotify_init>(2) et qu’un événement est survenu pour un fichier surveillé "
"actuellement en cours d’exécution."

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"In addition to the usual errors for B<write>(2), the following errors can "
"occur when writing to the fanotify file descriptor:"
msgstr ""
"En plus des erreurs habituelles de B<write>(2), les erreurs suivantes "
"peuvent survenir lors de l’écriture sur un descripteur de fichier fanotify."

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"Fanotify access permissions are not enabled in the kernel configuration or "
"the value of I<response> in the response structure is not valid."
msgstr ""
"Les droits d’accès fanotify ne sont pas activés dans la configuration du "
"noyau ou la valeur de I<response> dans la structure de réponse n’est pas "
"valable."

#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "B<ENOENT>"
msgstr "B<ENOENT>"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"The file descriptor I<fd> in the response structure is not valid.  This may "
"occur when a response for the permission event has already been written."
msgstr ""
"Le descripteur de fichier I<fd> dans la structure de réponse n’est pas "
"valable. Cela pourrait survenir quand une réponse pour l’événement de "
"permission a déjà été écrite."

#. type: SH
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "STANDARDS"
msgstr "STANDARDS"

#. type: Plain text
#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
#: opensuse-leap-15-6 opensuse-tumbleweed
msgid "Linux."
msgstr "Linux."

#. type: SH
#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
#: opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "HISTORY"
msgstr "HISTORIQUE"

#. type: Plain text
#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
#: opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy
#| msgid ""
#| "The fanotify API was introduced in version 2.6.36 of the Linux kernel and "
#| "enabled in version 2.6.37.  Fdinfo support was added in version 3.8."
msgid ""
"The fanotify API was introduced in Linux 2.6.36 and enabled in Linux "
"2.6.37.  fdinfo support was added in Linux 3.8."
msgstr ""
"L’interface de programmation fanotify a été introduite dans la "
"version 2.6.36 du noyau Linux et activée dans la version 2.6.37. La prise en "
"charge de fdinfo a été ajoutée dans la version 3.8."

#. type: SH
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "NOTES"
msgstr "NOTES"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"The fanotify API is available only if the kernel was built with the "
"B<CONFIG_FANOTIFY> configuration option enabled.  In addition, fanotify "
"permission handling is available only if the "
"B<CONFIG_FANOTIFY_ACCESS_PERMISSIONS> configuration option is enabled."
msgstr ""
"L’interface de programmation fanotify n’est disponible que si le noyau a été "
"construit avec l’option de configuration B<CONFIG_FANOTIFY> activée. De "
"plus, le traitement de permission fanotify n’est disponible que si l’option "
"de configuration B<CONFIG_FANOTIFY_ACCESS_PERMISSIONS> est activée."

#. type: SS
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "Limitations and caveats"
msgstr "Limites et réserves"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"Fanotify reports only events that a user-space program triggers through the "
"filesystem API.  As a result, it does not catch remote events that occur on "
"network filesystems."
msgstr ""
"Fanotify ne signale que les événements déclenchés par un programme en espace "
"utilisateur à l’aide d’une interface de programmation de système de "
"fichiers. Par conséquent, elle n’intercepte pas les événements qui "
"surviennent sur les systèmes de fichiers en réseau."

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"The fanotify API does not report file accesses and modifications that may "
"occur because of B<mmap>(2), B<msync>(2), and B<munmap>(2)."
msgstr ""
"L'interface fanotify ne signale pas les accès ni les modifications de "
"fichier qui pourraient survenir à cause de B<mmap>(2), B<msync>(2) ou "
"B<munmap>(2)."

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"Events for directories are created only if the directory itself is opened, "
"read, and closed.  Adding, removing, or changing children of a marked "
"directory does not create events for the monitored directory itself."
msgstr ""
"Les événements pour répertoire ne sont créés que si le répertoire lui-même "
"est ouvert, lu et fermé. Ajouter, supprimer ou modifier les enfants d’un "
"répertoire marqué ne crée pas d’événement pour le répertoire surveillé lui-"
"même."

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"Fanotify monitoring of directories is not recursive: to monitor "
"subdirectories under a directory, additional marks must be created.  The "
"B<FAN_CREATE> event can be used for detecting when a subdirectory has been "
"created under a marked directory.  An additional mark must then be set on "
"the newly created subdirectory.  This approach is racy, because it can lose "
"events that occurred inside the newly created subdirectory, before a mark is "
"added on that subdirectory.  Monitoring mounts offers the capability to "
"monitor a whole directory tree in a race-free manner.  Monitoring "
"filesystems offers the capability to monitor changes made from any mount of "
"a filesystem instance in a race-free manner."
msgstr ""
"La surveillance fanotify des répertoires n'est pas récursive : pour "
"surveiller les sous-répertoires, des marques supplémentaires doivent être "
"créées. L’évènement B<FAN_CREATE> peut être utilisé pour détecter quand un "
"sous-répertoire a été créé dans un répertoire marqué. Une marque "
"supplémentaire doit être définie dans le sous-répertoire nouvellement créé. "
"Cette approche crée une situation de compétition, parce qu’elle peut perdre "
"les évènements qui se produisent dans le nouveau sous-répertoire avant "
"qu’une marque soit ajoutée dans ce sous-répertoire. La surveillance des "
"montages offre la capacité de surveiller un arbre entier de répertoires sans "
"ce problème de chronologie. La surveillance de système de fichiers offre la "
"capacité de surveiller tout montage d’une instance de système de fichiers "
"sans situation de compétition."

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid "The event queue can overflow.  In this case, events are lost."
msgstr ""
"La file d'événements peut déborder. Dans ce cas, les événements sont perdus."

#. type: SH
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "BUGS"
msgstr "BOGUES"

#.  commit 820c12d5d6c0890bc93dd63893924a13041fdc35
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"Before Linux 3.19, B<fallocate>(2)  did not generate fanotify events.  Since "
"Linux 3.19, calls to B<fallocate>(2)  generate B<FAN_MODIFY> events."
msgstr ""
"Avant Linux 3.19, B<fallocate>(2) ne créait pas d'événement fanotify. Depuis "
"Linux 3.19, les appels à B<fallocate>(2) créent des événements B<FAN_MODIFY>."

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid "As of Linux 3.17, the following bugs exist:"
msgstr "Dans Linux 3.17, les bogues suivants existent :"

#. type: IP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "\\[bu]"
msgstr "-"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"On Linux, a filesystem object may be accessible through multiple paths, for "
"example, a part of a filesystem may be remounted using the I<--bind> option "
"of B<mount>(8).  A listener that marked a mount will be notified only of "
"events that were triggered for a filesystem object using the same mount.  "
"Any other event will pass unnoticed."
msgstr ""
"Dans Linux, un objet du système de fichiers pourrait être accessible par de "
"multiples chemins. Par exemple, une partie d'un système de fichiers pourrait "
"être remontée avec l'option I<--bind> de B<mount>(8). Un écoutant ayant "
"marqué un montage ne sera notifié que des événements déclenchés pour un "
"objet du système de fichiers utilisant le même montage. Tout autre événement "
"passera inaperçu."

#.  FIXME . A patch was proposed.
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"When an event is generated, no check is made to see whether the user ID of "
"the receiving process has authorization to read or write the file before "
"passing a file descriptor for that file.  This poses a security risk, when "
"the B<CAP_SYS_ADMIN> capability is set for programs executed by unprivileged "
"users."
msgstr ""
"Quand un événement est créé, aucune vérification n’est effectuée pour voir "
"si l’identifiant utilisateur du processus recevant a le droit de lire ou "
"écrire le fichier avant de passer un descripteur de fichier pour ce fichier. "
"Cela pose un risque de sécurité quand la capacité B<CAP_SYS_ADMIN> est "
"définie pour un programme exécuté par les utilisateurs ordinaires."

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"If a call to B<read>(2)  processes multiple events from the fanotify queue "
"and an error occurs, the return value will be the total length of the events "
"successfully copied to the user-space buffer before the error occurred.  The "
"return value will not be -1, and I<errno> will not be set.  Thus, the "
"reading application has no way to detect the error."
msgstr ""
"Si un appel de B<read>(2) traite plusieurs événements de la file fanotify et "
"qu’une erreur survient, la valeur de retour sera la taille totale des "
"événements copiés correctement dans le tampon d’espace utilisateur avant que "
"l’erreur ne survienne. La valeur de retour ne sera pas B<-1> et I<errno> ne "
"sera pas définie. Ainsi, l’application lisant n’a aucun moyen de détecter "
"l’erreur."

#. type: SH
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "EXAMPLES"
msgstr "EXEMPLES"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"The two example programs below demonstrate the usage of the fanotify API."
msgstr ""
"Les deux programmes ci-dessous montrent l’utilisation de l’API de fanotify."

#. type: SS
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "Example program: fanotify_example.c"
msgstr "Exemple de programme : fanotify_example.c"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"The first program is an example of fanotify being used with its event object "
"information passed in the form of a file descriptor.  The program marks the "
"mount passed as a command-line argument and waits for events of type "
"B<FAN_OPEN_PERM> and B<FAN_CLOSE_WRITE>.  When a permission event occurs, a "
"B<FAN_ALLOW> response is given."
msgstr ""
"Le programme suivant montre l’utilisation de l’interface de programmation "
"fanotify avec les informations d’évènements d’objet passées sous la forme "
"d’un descripteur de fichier. Il marque le point de montage passé en argument "
"de ligne de commande et attend les événements de type B<FAN_OPEN_PERM> et "
"B<FAN_CLOSE_WRITE>. Quand un événement de permission survient, une réponse "
"B<FAN_ALLOW> est donnée."

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"The following shell session shows an example of running this program.  This "
"session involved editing the file I</home/user/temp/notes>.  Before the file "
"was opened, a B<FAN_OPEN_PERM> event occurred.  After the file was closed, a "
"B<FAN_CLOSE_WRITE> event occurred.  Execution of the program ends when the "
"user presses the ENTER key."
msgstr ""
"La sortie suivante de session d’interpréteur de commande montre un exemple "
"de l’exécution de ce programme. Cette session concerne l’édition du fichier "
"I</home/utilisateur/temp/notes>. Avant d’ouvrir le fichier, un événement "
"B<FAN_OPEN_PERM> est survenu. Après la fermeture du fichier, un événement "
"B<FAN_CLOSE_WRITE> est survenu. L’exécution du programme se termine quand "
"l’utilisateur appuie sur la touche Entrée."

#. type: Plain text
#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
#: opensuse-tumbleweed
#, fuzzy, no-wrap
#| msgid ""
#| "# B<./fanotify_example /home>\n"
#| "Press enter key to terminate.\n"
#| "Listening for events.\n"
#| "FAN_OPEN_PERM: File /home/user/temp/notes\n"
#| "FAN_CLOSE_WRITE: File /home/user/temp/notes\n"
msgid ""
"# B<./fanotify_example /home>\n"
"Press enter key to terminate.\n"
"Listening for events.\n"
"FAN_OPEN_PERM: File /home/user/temp/notes\n"
"FAN_CLOSE_WRITE: File /home/user/temp/notes\n"
"\\&\n"
"Listening for events stopped.\n"
msgstr ""
"# B<./fanotify_exemple /home>\n"
"Appuyer sur la touche Entrée pour quitter.\n"
"En écoute d’événements.\n"
"FAN_OPEN_PERM : Fichier /home/utilisateur/temp/notes\n"
"FAN_CLOSE_WRITE : Fichier /home/utilisateur/temp/notes\n"

#. type: SS
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "Program source: fanotify_example.c"
msgstr "Source du programme : fanotify_example.c"

#. type: Plain text
#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
#: opensuse-tumbleweed
#, no-wrap
msgid ""
"#define _GNU_SOURCE     /* Needed to get O_LARGEFILE definition */\n"
"#include E<lt>errno.hE<gt>\n"
"#include E<lt>fcntl.hE<gt>\n"
"#include E<lt>limits.hE<gt>\n"
"#include E<lt>poll.hE<gt>\n"
"#include E<lt>stdio.hE<gt>\n"
"#include E<lt>stdlib.hE<gt>\n"
"#include E<lt>sys/fanotify.hE<gt>\n"
"#include E<lt>unistd.hE<gt>\n"
"\\&\n"
"/* Read all available fanotify events from the file descriptor \\[aq]fd\\[aq]. */\n"
"\\&\n"
"static void\n"
"handle_events(int fd)\n"
"{\n"
"    const struct fanotify_event_metadata *metadata;\n"
"    struct fanotify_event_metadata buf[200];\n"
"    ssize_t len;\n"
"    char path[PATH_MAX];\n"
"    ssize_t path_len;\n"
"    char procfd_path[PATH_MAX];\n"
"    struct fanotify_response response;\n"
"\\&\n"
"    /* Loop while events can be read from fanotify file descriptor. */\n"
"\\&\n"
"    for (;;) {\n"
"\\&\n"
"        /* Read some events. */\n"
"\\&\n"
"        len = read(fd, buf, sizeof(buf));\n"
"        if (len == -1 && errno != EAGAIN) {\n"
"            perror(\"read\");\n"
"            exit(EXIT_FAILURE);\n"
"        }\n"
"\\&\n"
"        /* Check if end of available data reached. */\n"
"\\&\n"
"        if (len E<lt>= 0)\n"
"            break;\n"
"\\&\n"
"        /* Point to the first event in the buffer. */\n"
"\\&\n"
"        metadata = buf;\n"
"\\&\n"
"        /* Loop over all events in the buffer. */\n"
"\\&\n"
"        while (FAN_EVENT_OK(metadata, len)) {\n"
"\\&\n"
"            /* Check that run-time and compile-time structures match. */\n"
"\\&\n"
"            if (metadata-E<gt>vers != FANOTIFY_METADATA_VERSION) {\n"
"                fprintf(stderr,\n"
"                        \"Mismatch of fanotify metadata version.\\en\");\n"
"                exit(EXIT_FAILURE);\n"
"            }\n"
"\\&\n"
"            /* metadata-E<gt>fd contains either FAN_NOFD, indicating a\n"
"               queue overflow, or a file descriptor (a nonnegative\n"
"               integer). Here, we simply ignore queue overflow. */\n"
"\\&\n"
"            if (metadata-E<gt>fd E<gt>= 0) {\n"
"\\&\n"
"                /* Handle open permission event. */\n"
"\\&\n"
"                if (metadata-E<gt>mask & FAN_OPEN_PERM) {\n"
"                    printf(\"FAN_OPEN_PERM: \");\n"
"\\&\n"
"                    /* Allow file to be opened. */\n"
"\\&\n"
"                    response.fd = metadata-E<gt>fd;\n"
"                    response.response = FAN_ALLOW;\n"
"                    write(fd, &response, sizeof(response));\n"
"                }\n"
"\\&\n"
"                /* Handle closing of writable file event. */\n"
"\\&\n"
"                if (metadata-E<gt>mask & FAN_CLOSE_WRITE)\n"
"                    printf(\"FAN_CLOSE_WRITE: \");\n"
"\\&\n"
"                /* Retrieve and print pathname of the accessed file. */\n"
"\\&\n"
"                snprintf(procfd_path, sizeof(procfd_path),\n"
"                         \"/proc/self/fd/%d\", metadata-E<gt>fd);\n"
"                path_len = readlink(procfd_path, path,\n"
"                                    sizeof(path) - 1);\n"
"                if (path_len == -1) {\n"
"                    perror(\"readlink\");\n"
"                    exit(EXIT_FAILURE);\n"
"                }\n"
"\\&\n"
"                path[path_len] = \\[aq]\\e0\\[aq];\n"
"                printf(\"File %s\\en\", path);\n"
"\\&\n"
"                /* Close the file descriptor of the event. */\n"
"\\&\n"
"                close(metadata-E<gt>fd);\n"
"            }\n"
"\\&\n"
"            /* Advance to next event. */\n"
"\\&\n"
"            metadata = FAN_EVENT_NEXT(metadata, len);\n"
"        }\n"
"    }\n"
"}\n"
"\\&\n"
"int\n"
"main(int argc, char *argv[])\n"
"{\n"
"    char buf;\n"
"    int fd, poll_num;\n"
"    nfds_t nfds;\n"
"    struct pollfd fds[2];\n"
"\\&\n"
"    /* Check mount point is supplied. */\n"
"\\&\n"
"    if (argc != 2) {\n"
"        fprintf(stderr, \"Usage: %s MOUNT\\en\", argv[0]);\n"
"        exit(EXIT_FAILURE);\n"
"    }\n"
"\\&\n"
"    printf(\"Press enter key to terminate.\\en\");\n"
"\\&\n"
"    /* Create the file descriptor for accessing the fanotify API. */\n"
"\\&\n"
"    fd = fanotify_init(FAN_CLOEXEC | FAN_CLASS_CONTENT | FAN_NONBLOCK,\n"
"                       O_RDONLY | O_LARGEFILE);\n"
"    if (fd == -1) {\n"
"        perror(\"fanotify_init\");\n"
"        exit(EXIT_FAILURE);\n"
"    }\n"
"\\&\n"
"    /* Mark the mount for:\n"
"       - permission events before opening files\n"
"       - notification events after closing a write-enabled\n"
"         file descriptor. */\n"
"\\&\n"
"    if (fanotify_mark(fd, FAN_MARK_ADD | FAN_MARK_MOUNT,\n"
"                      FAN_OPEN_PERM | FAN_CLOSE_WRITE, AT_FDCWD,\n"
"                      argv[1]) == -1) {\n"
"        perror(\"fanotify_mark\");\n"
"        exit(EXIT_FAILURE);\n"
"    }\n"
"\\&\n"
"    /* Prepare for polling. */\n"
"\\&\n"
"    nfds = 2;\n"
"\\&\n"
"    fds[0].fd = STDIN_FILENO;       /* Console input */\n"
"    fds[0].events = POLLIN;\n"
"\\&\n"
"    fds[1].fd = fd;                 /* Fanotify input */\n"
"    fds[1].events = POLLIN;\n"
"\\&\n"
"    /* This is the loop to wait for incoming events. */\n"
"\\&\n"
"    printf(\"Listening for events.\\en\");\n"
"\\&\n"
"    while (1) {\n"
"        poll_num = poll(fds, nfds, -1);\n"
"        if (poll_num == -1) {\n"
"            if (errno == EINTR)     /* Interrupted by a signal */\n"
"                continue;           /* Restart poll() */\n"
"\\&\n"
"            perror(\"poll\");         /* Unexpected error */\n"
"            exit(EXIT_FAILURE);\n"
"        }\n"
"\\&\n"
"        if (poll_num E<gt> 0) {\n"
"            if (fds[0].revents & POLLIN) {\n"
"\\&\n"
"                /* Console input is available: empty stdin and quit. */\n"
"\\&\n"
"                while (read(STDIN_FILENO, &buf, 1) E<gt> 0 && buf != \\[aq]\\en\\[aq])\n"
"                    continue;\n"
"                break;\n"
"            }\n"
"\\&\n"
"            if (fds[1].revents & POLLIN) {\n"
"\\&\n"
"                /* Fanotify events are available. */\n"
"\\&\n"
"                handle_events(fd);\n"
"            }\n"
"        }\n"
"    }\n"
"\\&\n"
"    printf(\"Listening for events stopped.\\en\");\n"
"    exit(EXIT_SUCCESS);\n"
"}\n"
msgstr ""

#. type: SS
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "Example program: fanotify_fid.c"
msgstr "Exemple de programme : fanotify_fid.c"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy
#| msgid ""
#| "The second program is an example of fanotify being used with a group that "
#| "identifies objects by file handles.  The program marks the filesystem "
#| "object that is passed as a command-line argument and waits until an event "
#| "of type B<FAN_CREATE> has occurred.  The event mask indicates which type "
#| "of filesystem object\\(emeither a file or a directory\\(emwas created.  "
#| "Once all events have been read from the buffer and processed accordingly, "
#| "the program simply terminates."
msgid ""
"The second program is an example of fanotify being used with a group that "
"identifies objects by file handles.  The program marks the filesystem object "
"that is passed as a command-line argument and waits until an event of type "
"B<FAN_CREATE> has occurred.  The event mask indicates which type of "
"filesystem object\\[em]either a file or a directory\\[em]was created.  Once "
"all events have been read from the buffer and processed accordingly, the "
"program simply terminates."
msgstr ""
"Le second programme est un exemple d’utilisation de fanotify avec un groupe "
"qui identifie des objets avec des gestionnaires de fichier. Le programme "
"marque l’objet de système de fichiers qui est passé comme argument de ligne "
"de commande et attend jusqu’à ce qu’un évènement de type B<FAN_CREATE> se "
"produise. Le masque d’évènement indique quel type d’objet de système de "
"fichiers, soit un fichier ou un répertoire, est créé. Une fois que tous les "
"évènements du tampon ont été lus et traités de la manière appropriée, le "
"programme se termine."

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"The following shell sessions show two different invocations of this program, "
"with different actions performed on a watched object."
msgstr ""
"Les sessions d’interpréteur de commande suivantes montrent deux invocations "
"différentes avec des actions différentes réalisées sur l’objet désiré."

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"The first session shows a mark being placed on I</home/user>.  This is "
"followed by the creation of a regular file, I</home/user/testfile.txt>.  "
"This results in a B<FAN_CREATE> event being generated and reported against "
"the file's parent watched directory object and with the created file name.  "
"Program execution ends once all events captured within the buffer have been "
"processed."
msgstr ""
"La première session montre une marque placée sur I</home/utilisateur>. Cela "
"est suivi par la création d’un fichier normal, I</home/utilisateur/"
"fichiertest.txt>.  Cela aboutit à un évènement B<FAN_CREATE> généré et "
"rapporté à l’objet de répertoire surveillé parent du fichier et à la "
"création du nom de fichier. L’exécution du programme se termine une fois que "
"tous les évènements capturés du tampon ont été traités."

#. type: Plain text
#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
#: opensuse-tumbleweed
#, fuzzy, no-wrap
#| msgid ""
#| "# B<./fanotify_fid /home/user>\n"
#| "Listening for events.\n"
#| "FAN_CREATE (file created):\n"
#| "        Directory /home/user has been modified.\n"
#| "        Entry \\(aqtestfile.txt\\(aq is not a subdirectory.\n"
#| "All events processed successfully. Program exiting.\n"
msgid ""
"# B<./fanotify_fid /home/user>\n"
"Listening for events.\n"
"FAN_CREATE (file created):\n"
"        Directory /home/user has been modified.\n"
"        Entry \\[aq]testfile.txt\\[aq] is not a subdirectory.\n"
"All events processed successfully. Program exiting.\n"
"\\&\n"
"$ B<touch /home/user/testfile.txt>              # In another terminal\n"
msgstr ""
"# B<./fanotify_fid /home/user>\n"
"Écoute de tous les évènements.\n"
"FAN_CREATE (fichier créé) :\n"
"        Répertoire /home/utilisateur a été modifié.\n"
"        Entrée \\(aqfichiertest.txt\\(aq n’est pas un sous-répertoire.\n"
"Tous les évènements ont été traités avec succès. Fin du programme.\n"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"The second session shows a mark being placed on I</home/user>.  This is "
"followed by the creation of a directory, I</home/user/testdir>.  This "
"specific action results in a B<FAN_CREATE> event being generated and is "
"reported with the B<FAN_ONDIR> flag set and with the created directory name."
msgstr ""
"La première session montre une marque placée sur I</home/utilisateur>. C’est "
"suivi par la création d’un répertoire, I</home/utilisateur/réptest>. Cette "
"action spécifique aboutit à la génération d’un évènement B<FAN_CREATE> et "
"est rapporté avec l’attribut B<FAN_ONDIR> défini et avec la création du nom "
"de répertoire."

#. type: Plain text
#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
#: opensuse-tumbleweed
#, fuzzy, no-wrap
#| msgid ""
#| "# B<./fanotify_fid /home/user>\n"
#| "Listening for events.\n"
#| "FAN_CREATE | FAN_ONDIR (subdirectory created):\n"
#| "        Directory /home/user has been modified.\n"
#| "        Entry \\(aqtestdir\\(aq is a subdirectory.\n"
#| "All events processed successfully. Program exiting.\n"
msgid ""
"# B<./fanotify_fid /home/user>\n"
"Listening for events.\n"
"FAN_CREATE | FAN_ONDIR (subdirectory created):\n"
"        Directory /home/user has been modified.\n"
"        Entry \\[aq]testdir\\[aq] is a subdirectory.\n"
"All events processed successfully. Program exiting.\n"
"\\&\n"
"$ B<mkdir -p /home/user/testdir>          # In another terminal\n"
msgstr ""
"# B<./fanotify_fid /home/user>\n"
"Écoute de tous les évènements.\n"
"FAN_CREATE | FAN_ONDIR (sous_répertoire créé) :\n"
"        Répertoire /home/utilisateur a été modifié.\n"
"        Entrée \\(aqréptest\\(aq est un sous-répertoire.\n"
"Tous les évènements ont été traités avec succès. Fin du programme.\n"

#. type: SS
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "Program source: fanotify_fid.c"
msgstr "Source du programme : fanotify_fid.c"

#. type: Plain text
#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
#: opensuse-tumbleweed
#, no-wrap
msgid ""
"#define _GNU_SOURCE\n"
"#include E<lt>errno.hE<gt>\n"
"#include E<lt>fcntl.hE<gt>\n"
"#include E<lt>limits.hE<gt>\n"
"#include E<lt>stdio.hE<gt>\n"
"#include E<lt>stdlib.hE<gt>\n"
"#include E<lt>sys/types.hE<gt>\n"
"#include E<lt>sys/stat.hE<gt>\n"
"#include E<lt>sys/fanotify.hE<gt>\n"
"#include E<lt>unistd.hE<gt>\n"
"\\&\n"
"#define BUF_SIZE 256\n"
"\\&\n"
"int\n"
"main(int argc, char *argv[])\n"
"{\n"
"    int fd, ret, event_fd, mount_fd;\n"
"    ssize_t len, path_len;\n"
"    char path[PATH_MAX];\n"
"    char procfd_path[PATH_MAX];\n"
"    char events_buf[BUF_SIZE];\n"
"    struct file_handle *file_handle;\n"
"    struct fanotify_event_metadata *metadata;\n"
"    struct fanotify_event_info_fid *fid;\n"
"    const char *file_name;\n"
"    struct stat sb;\n"
"\\&\n"
"    if (argc != 2) {\n"
"        fprintf(stderr, \"Invalid number of command line arguments.\\en\");\n"
"        exit(EXIT_FAILURE);\n"
"    }\n"
"\\&\n"
"    mount_fd = open(argv[1], O_DIRECTORY | O_RDONLY);\n"
"    if (mount_fd == -1) {\n"
"        perror(argv[1]);\n"
"        exit(EXIT_FAILURE);\n"
"    }\n"
"\\&\n"
"    /* Create an fanotify file descriptor with FAN_REPORT_DFID_NAME as\n"
"       a flag so that program can receive fid events with directory\n"
"       entry name. */\n"
"\\&\n"
"    fd = fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME, 0);\n"
"    if (fd == -1) {\n"
"        perror(\"fanotify_init\");\n"
"        exit(EXIT_FAILURE);\n"
"    }\n"
"\\&\n"
"    /* Place a mark on the filesystem object supplied in argv[1]. */\n"
"\\&\n"
"    ret = fanotify_mark(fd, FAN_MARK_ADD | FAN_MARK_ONLYDIR,\n"
"                        FAN_CREATE | FAN_ONDIR,\n"
"                        AT_FDCWD, argv[1]);\n"
"    if (ret == -1) {\n"
"        perror(\"fanotify_mark\");\n"
"        exit(EXIT_FAILURE);\n"
"    }\n"
"\\&\n"
"    printf(\"Listening for events.\\en\");\n"
"\\&\n"
"    /* Read events from the event queue into a buffer. */\n"
"\\&\n"
"    len = read(fd, events_buf, sizeof(events_buf));\n"
"    if (len == -1 && errno != EAGAIN) {\n"
"        perror(\"read\");\n"
"        exit(EXIT_FAILURE);\n"
"    }\n"
"\\&\n"
"    /* Process all events within the buffer. */\n"
"\\&\n"
"    for (metadata = (struct fanotify_event_metadata *) events_buf;\n"
"            FAN_EVENT_OK(metadata, len);\n"
"            metadata = FAN_EVENT_NEXT(metadata, len)) {\n"
"        fid = (struct fanotify_event_info_fid *) (metadata + 1);\n"
"        file_handle = (struct file_handle *) fid-E<gt>handle;\n"
"\\&\n"
"        /* Ensure that the event info is of the correct type. */\n"
"\\&\n"
"        if (fid-E<gt>hdr.info_type == FAN_EVENT_INFO_TYPE_FID ||\n"
"            fid-E<gt>hdr.info_type == FAN_EVENT_INFO_TYPE_DFID) {\n"
"            file_name = NULL;\n"
"        } else if (fid-E<gt>hdr.info_type == FAN_EVENT_INFO_TYPE_DFID_NAME) {\n"
"            file_name = file_handle-E<gt>f_handle +\n"
"                        file_handle-E<gt>handle_bytes;\n"
"        } else {\n"
"            fprintf(stderr, \"Received unexpected event info type.\\en\");\n"
"            exit(EXIT_FAILURE);\n"
"        }\n"
"\\&\n"
"        if (metadata-E<gt>mask == FAN_CREATE)\n"
"            printf(\"FAN_CREATE (file created):\\en\");\n"
"\\&\n"
"        if (metadata-E<gt>mask == (FAN_CREATE | FAN_ONDIR))\n"
"            printf(\"FAN_CREATE | FAN_ONDIR (subdirectory created):\\en\");\n"
"\\&\n"
"\t/* metadata-E<gt>fd is set to FAN_NOFD when the group identifies\n"
"\t   objects by file handles.  To obtain a file descriptor for\n"
"\t   the file object corresponding to an event you can use the\n"
"\t   struct file_handle that\\[aq]s provided within the\n"
"\t   fanotify_event_info_fid in conjunction with the\n"
"\t   open_by_handle_at(2) system call.  A check for ESTALE is\n"
"\t   done to accommodate for the situation where the file handle\n"
"\t   for the object was deleted prior to this system call. */\n"
"\\&\n"
"        event_fd = open_by_handle_at(mount_fd, file_handle, O_RDONLY);\n"
"        if (event_fd == -1) {\n"
"            if (errno == ESTALE) {\n"
"                printf(\"File handle is no longer valid. \"\n"
"                        \"File has been deleted\\en\");\n"
"                continue;\n"
"            } else {\n"
"                perror(\"open_by_handle_at\");\n"
"                exit(EXIT_FAILURE);\n"
"            }\n"
"        }\n"
"\\&\n"
"        snprintf(procfd_path, sizeof(procfd_path), \"/proc/self/fd/%d\",\n"
"                event_fd);\n"
"\\&\n"
"        /* Retrieve and print the path of the modified dentry. */\n"
"\\&\n"
"        path_len = readlink(procfd_path, path, sizeof(path) - 1);\n"
"        if (path_len == -1) {\n"
"            perror(\"readlink\");\n"
"            exit(EXIT_FAILURE);\n"
"        }\n"
"\\&\n"
"        path[path_len] = \\[aq]\\e0\\[aq];\n"
"        printf(\"\\etDirectory \\[aq]%s\\[aq] has been modified.\\en\", path);\n"
"\\&\n"
"        if (file_name) {\n"
"            ret = fstatat(event_fd, file_name, &sb, 0);\n"
"            if (ret == -1) {\n"
"                if (errno != ENOENT) {\n"
"                    perror(\"fstatat\");\n"
"                    exit(EXIT_FAILURE);\n"
"                }\n"
"                printf(\"\\etEntry \\[aq]%s\\[aq] does not exist.\\en\", file_name);\n"
"            } else if ((sb.st_mode & S_IFMT) == S_IFDIR) {\n"
"                printf(\"\\etEntry \\[aq]%s\\[aq] is a subdirectory.\\en\", file_name);\n"
"            } else {\n"
"                printf(\"\\etEntry \\[aq]%s\\[aq] is not a subdirectory.\\en\",\n"
"                        file_name);\n"
"            }\n"
"        }\n"
"\\&\n"
"        /* Close associated file descriptor for this event. */\n"
"\\&\n"
"        close(event_fd);\n"
"    }\n"
"\\&\n"
"    printf(\"All events processed successfully. Program exiting.\\en\");\n"
"    exit(EXIT_SUCCESS);\n"
"}\n"
msgstr ""

#. type: SH
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "SEE ALSO"
msgstr "VOIR AUSSI"

#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid "B<fanotify_init>(2), B<fanotify_mark>(2), B<inotify>(7)"
msgstr "B<fanotify_init>(2), B<fanotify_mark>(2), B<inotify>(7)"

#. type: TH
#: debian-bookworm
#, no-wrap
msgid "2023-02-05"
msgstr "5 février 2023"

#. type: TH
#: debian-bookworm
#, no-wrap
msgid "Linux man-pages 6.03"
msgstr "Pages du manuel de Linux 6.03"

#. type: Plain text
#: debian-bookworm debian-unstable opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid ""
"struct fanotify_event_info_fid {\n"
"    struct fanotify_event_info_header hdr;\n"
"    __kernel_fsid_t fsid;\n"
"    unsigned char file_handle[0];\n"
"};\n"
msgstr ""
"struct fanotify_event_info_fid {\n"
"    struct fanotify_event_info_header hdr;\n"
"    __kernel_fsid_t fsid;\n"
"    unsigned char file_handle[0];\n"
"};\n"

#. type: TP
#: debian-bookworm debian-unstable opensuse-leap-15-6 opensuse-tumbleweed
#, no-wrap
msgid "I<file_handle>"
msgstr "I<file_handle>"

#. type: Plain text
#: debian-bookworm debian-unstable opensuse-leap-15-6 opensuse-tumbleweed
#, fuzzy
#| msgid ""
#| "This is a variable length structure of type struct file_handle.  It is an "
#| "opaque handle that corresponds to a specified object on a filesystem as "
#| "returned by B<name_to_handle_at>(2).  It can be used to uniquely identify "
#| "a file on a filesystem and can be passed as an argument to "
#| "B<open_by_handle_at>(2).  Note that for the directory entry modification "
#| "events B<FAN_CREATE>, B<FAN_DELETE>, and B<FAN_MOVE>, the I<file_handle> "
#| "identifies the modified directory and not the created/deleted/moved child "
#| "object.  If the value of I<info_type> field is "
#| "B<FAN_EVENT_INFO_TYPE_DFID_NAME>, the file handle is followed by a null "
#| "terminated string that identifies the created/deleted/moved directory "
#| "entry name.  For other events such as B<FAN_OPEN>, B<FAN_ATTRIB>, "
#| "B<FAN_DELETE_SELF>, and B<FAN_MOVE_SELF>, if the value of I<info_type> "
#| "field is B<FAN_EVENT_INFO_TYPE_FID>, the I<file_handle> identifies the "
#| "object correlated to the event.  If the value of I<info_type> field is "
#| "B<FAN_EVENT_INFO_TYPE_DFID>, the I<file_handle> identifies the directory "
#| "object correlated to the event or the parent directory of a non-directory "
#| "object correlated to the event.  If the value of I<info_type> field is "
#| "B<FAN_EVENT_INFO_TYPE_DFID_NAME>, the I<file_handle> identifies the same "
#| "directory object that would be reported with B<FAN_EVENT_INFO_TYPE_DFID> "
#| "and the file handle is followed by a null terminated string that "
#| "identifies the name of a directory entry in that directory, or '.' to "
#| "identify the directory object itself."
msgid ""
"This is a variable length structure of type struct file_handle.  It is an "
"opaque handle that corresponds to a specified object on a filesystem as "
"returned by B<name_to_handle_at>(2).  It can be used to uniquely identify a "
"file on a filesystem and can be passed as an argument to "
"B<open_by_handle_at>(2).  If the value of I<info_type> field is "
"B<FAN_EVENT_INFO_TYPE_DFID_NAME>, the file handle is followed by a null "
"terminated string that identifies the created/deleted/moved directory entry "
"name.  For other events such as B<FAN_OPEN>, B<FAN_ATTRIB>, "
"B<FAN_DELETE_SELF>, and B<FAN_MOVE_SELF>, if the value of I<info_type> field "
"is B<FAN_EVENT_INFO_TYPE_FID>, the I<file_handle> identifies the object "
"correlated to the event.  If the value of I<info_type> field is "
"B<FAN_EVENT_INFO_TYPE_DFID>, the I<file_handle> identifies the directory "
"object correlated to the event or the parent directory of a non-directory "
"object correlated to the event.  If the value of I<info_type> field is "
"B<FAN_EVENT_INFO_TYPE_DFID_NAME>, the I<file_handle> identifies the same "
"directory object that would be reported with B<FAN_EVENT_INFO_TYPE_DFID> and "
"the file handle is followed by a null terminated string that identifies the "
"name of a directory entry in that directory, or '.' to identify the "
"directory object itself."
msgstr ""
"C’est une structure de taille variable de type I<struct "
"gestionnaire_fichier>. C’est un gestionnaire opaque qui correspond à un "
"objet précis de système de fichiers comme renvoyé par "
"B<name_to_handle_at>(2). Il peut être utilisé uniquement pour identifier un "
"fichier d’un système de fichiers et peut être passé comme argument à "
"B<open_by_handle_at>(2). Remarquez que pour les évènements de modification "
"d’entrée de répertoire B<FAN_CREATE>, B<FAN_DELETE> et B<FAN_MOVE>, "
"I<gestionnaire_fichier> identifie le répertoire modifié et non l’objet "
"enfant créé/supprimé/déplacé. Si la valeur du champ I<info_type> est "
"B<FAN_EVENT_INFO_TYPE_DFID_NAME>, le gestionnaire de fichiers est suivi par "
"un octet NULL final qui identifie le nom d’entrée de répertoire créé/"
"supprimé/déplacé. Pour les autres évènements tels que B<FAN_OPEN>, "
"B<FAN_ATTRIB>, B<FAN_DELETE_SELF> et B<FAN_MOVE_SELF>, si la valeur du champ "
"I<info_type> est B<FAN_EVENT_INFO_TYPE_FID>, le I<gestionnaire_fichier> "
"identifie l’objet corrélé à l’évènement. Si la valeur du champ I<info_type> "
"est B<FAN_EVENT_INFO_TYPE_DFID>, le I<gestionnaire_fichier> identifie "
"l’objet de répertoire corrélé à l’évènement ou le répertoire parent d’un "
"objet non répertoire corrélé à l’évènement. Si la valeur du champ "
"I<info_type> est B<FAN_EVENT_INFO_TYPE_DFID_NAME>, le "
"I<gestionnaire_fichier> identifie le même objet de répertoire qui aurait été "
"rapporté avec B<FAN_EVENT_INFO_TYPE_DFID> et le gestionnaire de fichiers est "
"suivi par un octet NULL final qui identifie le nom de l’entrée de répertoire "
"dans ce répertoire ou « . » pour identifier l’objet du répertoire."

#. type: Plain text
#: debian-bookworm debian-unstable opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
"Errors not directly related to a file (i.e. super block corruption)  are "
"reported with an invalid I<file_handle>.  For these errors, the "
"I<file_handle> will have the field I<handle_type> set to B<FILEID_INVALID>, "
"and the handle buffer size set to B<0>."
msgstr ""

#. type: Plain text
#: debian-bookworm
msgid ""
"The file I</proc/[pid]/fdinfo/[fd]> contains information about fanotify "
"marks for file descriptor I<fd> of process I<pid>.  See B<proc>(5)  for "
"details."
msgstr ""
"Le fichier I</proc/[pid]/fdinfo/[fd]> contient des renseignements sur les "
"marques fanotify pour le descripteur de fichier I<fd> du processus I<pid>. "
"Consultez B<proc>(5) pour plus de précisions."

#. type: SH
#: debian-bookworm
#, no-wrap
msgid "VERSIONS"
msgstr "VERSIONS"

#. type: Plain text
#: debian-bookworm
#, fuzzy
#| msgid ""
#| "The fanotify API was introduced in version 2.6.36 of the Linux kernel and "
#| "enabled in version 2.6.37.  Fdinfo support was added in version 3.8."
msgid ""
"The fanotify API was introduced in Linux 2.6.36 and enabled in Linux "
"2.6.37.  Fdinfo support was added in Linux 3.8."
msgstr ""
"L’interface de programmation fanotify a été introduite dans la "
"version 2.6.36 du noyau Linux et activée dans la version 2.6.37. La prise en "
"charge de fdinfo a été ajoutée dans la version 3.8."

#. type: Plain text
#: debian-bookworm
msgid "The fanotify API is Linux-specific."
msgstr "L’interface de programmation fanotify est spécifique à Linux."

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid ""
"# B<./fanotify_example /home>\n"
"Press enter key to terminate.\n"
"Listening for events.\n"
"FAN_OPEN_PERM: File /home/user/temp/notes\n"
"FAN_CLOSE_WRITE: File /home/user/temp/notes\n"
msgstr ""
"# B<./fanotify_exemple /home>\n"
"Appuyer sur la touche Entrée pour quitter.\n"
"En écoute d’événements.\n"
"FAN_OPEN_PERM : Fichier /home/utilisateur/temp/notes\n"
"FAN_CLOSE_WRITE : Fichier /home/utilisateur/temp/notes\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "Listening for events stopped.\n"
msgstr "Arrêt de l’écoute d’événements.\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid ""
"#define _GNU_SOURCE     /* Needed to get O_LARGEFILE definition */\n"
"#include E<lt>errno.hE<gt>\n"
"#include E<lt>fcntl.hE<gt>\n"
"#include E<lt>limits.hE<gt>\n"
"#include E<lt>poll.hE<gt>\n"
"#include E<lt>stdio.hE<gt>\n"
"#include E<lt>stdlib.hE<gt>\n"
"#include E<lt>sys/fanotify.hE<gt>\n"
"#include E<lt>unistd.hE<gt>\n"
msgstr ""
"#define _GNU_SOURCE  /* Nécessaire pour obtenir la définition de O_LARGEFILE */\n"
"#include E<lt>errno.hE<gt>\n"
"#include E<lt>fcntl.hE<gt>\n"
"#include E<lt>limits.hE<gt>\n"
"#include E<lt>poll.hE<gt>\n"
"#include E<lt>stdio.hE<gt>\n"
"#include E<lt>stdlib.hE<gt>\n"
"#include E<lt>sys/fanotify.hE<gt>\n"
"#include E<lt>unistd.hE<gt>\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, fuzzy, no-wrap
#| msgid "/* Read all available fanotify events from the file descriptor \\(aqfd\\(aq. */\n"
msgid "/* Read all available fanotify events from the file descriptor \\[aq]fd\\[aq]. */\n"
msgstr ""
"/* Lire tous les événements fanotify disponibles à partir du descripteur\n"
"   de fichier « fd » */\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid ""
"static void\n"
"handle_events(int fd)\n"
"{\n"
"    const struct fanotify_event_metadata *metadata;\n"
"    struct fanotify_event_metadata buf[200];\n"
"    ssize_t len;\n"
"    char path[PATH_MAX];\n"
"    ssize_t path_len;\n"
"    char procfd_path[PATH_MAX];\n"
"    struct fanotify_response response;\n"
msgstr ""
"static void\n"
"handle_events(int fd)\n"
"{\n"
"    const struct fanotify_event_metadata *metadata;\n"
"    struct fanotify_event_metadata buf[200];\n"
"    ssize_t len;\n"
"    char path[PATH_MAX];\n"
"    ssize_t path_len;\n"
"    char procfd_path[PATH_MAX];\n"
"    struct fanotify_response response;\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "    /* Loop while events can be read from fanotify file descriptor. */\n"
msgstr ""
"    /* Boucler tant que les événements peuvent être lus à partir du\n"
"       descripteur de fichier fanotify */\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "    for (;;) {\n"
msgstr "    for (;;) {\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "        /* Read some events. */\n"
msgstr "        /* Lire certains événements */\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid ""
"        len = read(fd, buf, sizeof(buf));\n"
"        if (len == -1 && errno != EAGAIN) {\n"
"            perror(\"read\");\n"
"            exit(EXIT_FAILURE);\n"
"        }\n"
msgstr ""
"        len = read(fd, buf, sizeof(buf));\n"
"        if (len == -1 && errno != EAGAIN) {\n"
"            perror(\"read\");\n"
"            exit(EXIT_FAILURE);\n"
"        }\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "        /* Check if end of available data reached. */\n"
msgstr "        /* Vérifier si la fin des données disponibles est atteinte */\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid ""
"        if (len E<lt>= 0)\n"
"            break;\n"
msgstr ""
"        if (len E<lt>= 0)\n"
"            break;\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "        /* Point to the first event in the buffer. */\n"
msgstr "        /* Pointer vers le premier événement du tampon */\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "        metadata = buf;\n"
msgstr "        metadata = buf;\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "        /* Loop over all events in the buffer. */\n"
msgstr "        /* Boucler sur tous les événements du tampon */\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "        while (FAN_EVENT_OK(metadata, len)) {\n"
msgstr "        while (FAN_EVENT_OK(metadata, len)) {\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "            /* Check that run-time and compile-time structures match. */\n"
msgstr ""
"            /* Vérifier que les structures au moment de l’exécution et\n"
"               de la compilation correspondent */\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid ""
"            if (metadata-E<gt>vers != FANOTIFY_METADATA_VERSION) {\n"
"                fprintf(stderr,\n"
"                        \"Mismatch of fanotify metadata version.\\en\");\n"
"                exit(EXIT_FAILURE);\n"
"            }\n"
msgstr ""
"            if (metadata-E<gt>vers != FANOTIFY_METADATA_VERSION) {\n"
"                fprintf(stderr,\n"
"            \"Non correspondance de version de métadonnées fanotify.\\en\");\n"
"                exit(EXIT_FAILURE);\n"
"            }\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid ""
"            /* metadata-E<gt>fd contains either FAN_NOFD, indicating a\n"
"               queue overflow, or a file descriptor (a nonnegative\n"
"               integer). Here, we simply ignore queue overflow. */\n"
msgstr ""
"            /* metadata-E<gt>fd contient soit FAN_NOFD, indiquant un\n"
"               dépassement de file, soit un descripteur de fichier\n"
"               (un entier positif).\n"
"               Ici, le dépassement de file est simplement ignoré. */\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "            if (metadata-E<gt>fd E<gt>= 0) {\n"
msgstr "            if (metadata-E<gt>fd E<gt>= 0) {\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "                /* Handle open permission event. */\n"
msgstr "                /* Traiter l’événement de permission d’ouverture */\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid ""
"                if (metadata-E<gt>mask & FAN_OPEN_PERM) {\n"
"                    printf(\"FAN_OPEN_PERM: \");\n"
msgstr ""
"                if (metadata-E<gt>mask & FAN_OPEN_PERM) {\n"
"                    printf(\"FAN_OPEN_PERM : \");\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "                    /* Allow file to be opened. */\n"
msgstr "                    /* Permettre d’ouvrir le fichier */\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid ""
"                    response.fd = metadata-E<gt>fd;\n"
"                    response.response = FAN_ALLOW;\n"
"                    write(fd, &response, sizeof(response));\n"
"                }\n"
msgstr ""
"                    response.fd = metadata-E<gt>fd;\n"
"                    response.response = FAN_ALLOW;\n"
"                    write(fd, &response, sizeof(response));\n"
"                }\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "                /* Handle closing of writable file event. */\n"
msgstr ""
"                /* Traiter l’événement de fermeture de fichier ouvert\n"
"                   en écriture */\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid ""
"                if (metadata-E<gt>mask & FAN_CLOSE_WRITE)\n"
"                    printf(\"FAN_CLOSE_WRITE: \");\n"
msgstr ""
"                if (metadata-E<gt>mask & FAN_CLOSE_WRITE)\n"
"                    printf(\"FAN_CLOSE_WRITE : \");\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "                /* Retrieve and print pathname of the accessed file. */\n"
msgstr "                /* Récupérer et afficher le chemin du fichier accédé */\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid ""
"                snprintf(procfd_path, sizeof(procfd_path),\n"
"                         \"/proc/self/fd/%d\", metadata-E<gt>fd);\n"
"                path_len = readlink(procfd_path, path,\n"
"                                    sizeof(path) - 1);\n"
"                if (path_len == -1) {\n"
"                    perror(\"readlink\");\n"
"                    exit(EXIT_FAILURE);\n"
"                }\n"
msgstr ""
"                snprintf(procfd_path, sizeof(procfd_path),\n"
"                         \"/proc/self/fd/%d\", metadata-E<gt>fd);\n"
"                path_len = readlink(procfd_path, path,\n"
"                                    sizeof(path) - 1);\n"
"                if (path_len == -1) {\n"
"                    perror(\"readlink\");\n"
"                    exit(EXIT_FAILURE);\n"
"                }\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, fuzzy, no-wrap
#| msgid ""
#| "                path[path_len] = \\(aq\\e0\\(aq;\n"
#| "                printf(\"File %s\\en\", path);\n"
msgid ""
"                path[path_len] = \\[aq]\\e0\\[aq];\n"
"                printf(\"File %s\\en\", path);\n"
msgstr ""
"                path[path_len] = \\(aq\\e0\\(aq;\n"
"                printf(\"File %s\\en\", path);\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "                /* Close the file descriptor of the event. */\n"
msgstr "                /* Fermer le descripteur de fichier de l’événement */\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid ""
"                close(metadata-E<gt>fd);\n"
"            }\n"
msgstr ""
"                close(metadata-E<gt>fd);\n"
"            }\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "            /* Advance to next event. */\n"
msgstr "            /* Avancer au prochain événement */\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid ""
"            metadata = FAN_EVENT_NEXT(metadata, len);\n"
"        }\n"
"    }\n"
"}\n"
msgstr ""
"            metadata = FAN_EVENT_NEXT(metadata, len);\n"
"        }\n"
"    }\n"
"}\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid ""
"int\n"
"main(int argc, char *argv[])\n"
"{\n"
"    char buf;\n"
"    int fd, poll_num;\n"
"    nfds_t nfds;\n"
"    struct pollfd fds[2];\n"
msgstr ""
"int\n"
"main(int argc, char *argv[])\n"
"{\n"
"    char buf;\n"
"    int fd, poll_num;\n"
"    nfds_t nfds;\n"
"    struct pollfd fds[2];\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "    /* Check mount point is supplied. */\n"
msgstr "    /* Vérifier qu’un point de montage est fourni */\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid ""
"    if (argc != 2) {\n"
"        fprintf(stderr, \"Usage: %s MOUNT\\en\", argv[0]);\n"
"        exit(EXIT_FAILURE);\n"
"    }\n"
msgstr ""
"    if (argc != 2) {\n"
"        fprintf(stderr, \"Utilisation : %s MONTAGE\\en\", argv[0]);\n"
"        exit(EXIT_FAILURE);\n"
"    }\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "    printf(\"Press enter key to terminate.\\en\");\n"
msgstr "    printf(\"Appuyer sur la touche Entrée pour quitter.\\en\");\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "    /* Create the file descriptor for accessing the fanotify API. */\n"
msgstr ""
"    /* Créer le descripteur de fichier pour accéder à l’interface de\n"
"       programmation fanotify */\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid ""
"    fd = fanotify_init(FAN_CLOEXEC | FAN_CLASS_CONTENT | FAN_NONBLOCK,\n"
"                       O_RDONLY | O_LARGEFILE);\n"
"    if (fd == -1) {\n"
"        perror(\"fanotify_init\");\n"
"        exit(EXIT_FAILURE);\n"
"    }\n"
msgstr ""
"    fd = fanotify_init(FAN_CLOEXEC | FAN_CLASS_CONTENT | FAN_NONBLOCK,\n"
"                       O_RDONLY | O_LARGEFILE);\n"
"    if (fd == -1) {\n"
"        perror(\"fanotify_init\");\n"
"        exit(EXIT_FAILURE);\n"
"    }\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid ""
"    /* Mark the mount for:\n"
"       - permission events before opening files\n"
"       - notification events after closing a write-enabled\n"
"         file descriptor. */\n"
msgstr ""
"    /* Marquer le montage pour :\n"
"       — les événements de permission avant d’ouvrir les fichiers\n"
"       — les événements de notification après fermeture de descripteur\n"
"         de fichier ouvert en écriture */\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid ""
"    if (fanotify_mark(fd, FAN_MARK_ADD | FAN_MARK_MOUNT,\n"
"                      FAN_OPEN_PERM | FAN_CLOSE_WRITE, AT_FDCWD,\n"
"                      argv[1]) == -1) {\n"
"        perror(\"fanotify_mark\");\n"
"        exit(EXIT_FAILURE);\n"
"    }\n"
msgstr ""
"    if (fanotify_mark(fd, FAN_MARK_ADD | FAN_MARK_MOUNT,\n"
"                      FAN_OPEN_PERM | FAN_CLOSE_WRITE, AT_FDCWD,\n"
"                      argv[1]) == -1) {\n"
"        perror(\"fanotify_mark\");\n"
"        exit(EXIT_FAILURE);\n"
"    }\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "    /* Prepare for polling. */\n"
msgstr "    /* Préparer pour la scrutation (polling) */\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "    nfds = 2;\n"
msgstr "    nfds = 2;\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid ""
"    fds[0].fd = STDIN_FILENO;       /* Console input */\n"
"    fds[0].events = POLLIN;\n"
msgstr ""
"    fds[0].fd = STDIN_FILENO;       /* Entrée de console */\n"
"    fds[0].events = POLLIN;\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid ""
"    fds[1].fd = fd;                 /* Fanotify input */\n"
"    fds[1].events = POLLIN;\n"
msgstr ""
"    fds[1].fd = fd;                 /* Entrée fanotify */\n"
"    fds[1].events = POLLIN;\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "    /* This is the loop to wait for incoming events. */\n"
msgstr "    /* Boucle en attente d’arrivée d’événements */\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "    printf(\"Listening for events.\\en\");\n"
msgstr "    printf(\"En écoute d’événements.\\en\");\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid ""
"    while (1) {\n"
"        poll_num = poll(fds, nfds, -1);\n"
"        if (poll_num == -1) {\n"
"            if (errno == EINTR)     /* Interrupted by a signal */\n"
"                continue;           /* Restart poll() */\n"
msgstr ""
"    while (1) {\n"
"        poll_num = poll(fds, nfds, -1);\n"
"        if (poll_num == -1) {\n"
"            if (errno == EINTR)     /* Interrompu par un signal */\n"
"                continue;           /* Redémarrage de poll() */\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid ""
"            perror(\"poll\");         /* Unexpected error */\n"
"            exit(EXIT_FAILURE);\n"
"        }\n"
msgstr ""
"            perror(\"poll\");         /* Erreur inattendue */\n"
"            exit(EXIT_FAILURE);\n"
"        }\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid ""
"        if (poll_num E<gt> 0) {\n"
"            if (fds[0].revents & POLLIN) {\n"
msgstr ""
"        if (poll_num E<gt> 0) {\n"
"            if (fds[0].revents & POLLIN) {\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "                /* Console input is available: empty stdin and quit. */\n"
msgstr ""
"                /* Entrée de console disponible :\n"
"                   effacer l’entrée standard et quitter */\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid ""
"                while (read(STDIN_FILENO, &buf, 1) E<gt> 0 && buf != \\[aq]\\en\\[aq])\n"
"                    continue;\n"
"                break;\n"
"            }\n"
msgstr ""
"                while (read(STDIN_FILENO, &buf, 1) E<gt> 0 && buf != \\[aq]\\en\\[aq])\n"
"                    continue;\n"
"                break;\n"
"            }\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "            if (fds[1].revents & POLLIN) {\n"
msgstr "            if (fds[1].revents & POLLIN) {\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "                /* Fanotify events are available. */\n"
msgstr "                /* Des événements fanotify sont disponibles */\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid ""
"                handle_events(fd);\n"
"            }\n"
"        }\n"
"    }\n"
msgstr ""
"                handle_events(fd);\n"
"            }\n"
"        }\n"
"    }\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid ""
"    printf(\"Listening for events stopped.\\en\");\n"
"    exit(EXIT_SUCCESS);\n"
"}\n"
msgstr ""
"    printf(\"Arrêt de l’écoute d’événements.\\en\");\n"
"    exit(EXIT_SUCCESS);\n"
"}\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, fuzzy, no-wrap
#| msgid ""
#| "# B<./fanotify_fid /home/user>\n"
#| "Listening for events.\n"
#| "FAN_CREATE (file created):\n"
#| "        Directory /home/user has been modified.\n"
#| "        Entry \\(aqtestfile.txt\\(aq is not a subdirectory.\n"
#| "All events processed successfully. Program exiting.\n"
msgid ""
"# B<./fanotify_fid /home/user>\n"
"Listening for events.\n"
"FAN_CREATE (file created):\n"
"        Directory /home/user has been modified.\n"
"        Entry \\[aq]testfile.txt\\[aq] is not a subdirectory.\n"
"All events processed successfully. Program exiting.\n"
msgstr ""
"# B<./fanotify_fid /home/user>\n"
"Écoute de tous les évènements.\n"
"FAN_CREATE (fichier créé) :\n"
"        Répertoire /home/utilisateur a été modifié.\n"
"        Entrée \\(aqfichiertest.txt\\(aq n’est pas un sous-répertoire.\n"
"Tous les évènements ont été traités avec succès. Fin du programme.\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "$ B<touch /home/user/testfile.txt>              # In another terminal\n"
msgstr "$ B<touch /home/utilisateur/fichiertest.txt>   # Dans un autre terminal\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, fuzzy, no-wrap
#| msgid ""
#| "# B<./fanotify_fid /home/user>\n"
#| "Listening for events.\n"
#| "FAN_CREATE | FAN_ONDIR (subdirectory created):\n"
#| "        Directory /home/user has been modified.\n"
#| "        Entry \\(aqtestdir\\(aq is a subdirectory.\n"
#| "All events processed successfully. Program exiting.\n"
msgid ""
"# B<./fanotify_fid /home/user>\n"
"Listening for events.\n"
"FAN_CREATE | FAN_ONDIR (subdirectory created):\n"
"        Directory /home/user has been modified.\n"
"        Entry \\[aq]testdir\\[aq] is a subdirectory.\n"
"All events processed successfully. Program exiting.\n"
msgstr ""
"# B<./fanotify_fid /home/user>\n"
"Écoute de tous les évènements.\n"
"FAN_CREATE | FAN_ONDIR (sous_répertoire créé) :\n"
"        Répertoire /home/utilisateur a été modifié.\n"
"        Entrée \\(aqréptest\\(aq est un sous-répertoire.\n"
"Tous les évènements ont été traités avec succès. Fin du programme.\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "$ B<mkdir -p /home/user/testdir>          # In another terminal\n"
msgstr "$ B<mkdir -p /home/utilisateur/réptest>      # Dans un autre terminal\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid ""
"#define _GNU_SOURCE\n"
"#include E<lt>errno.hE<gt>\n"
"#include E<lt>fcntl.hE<gt>\n"
"#include E<lt>limits.hE<gt>\n"
"#include E<lt>stdio.hE<gt>\n"
"#include E<lt>stdlib.hE<gt>\n"
"#include E<lt>sys/types.hE<gt>\n"
"#include E<lt>sys/stat.hE<gt>\n"
"#include E<lt>sys/fanotify.hE<gt>\n"
"#include E<lt>unistd.hE<gt>\n"
msgstr ""
"#define _GNU_SOURCE\n"
"#include E<lt>errno.hE<gt>\n"
"#include E<lt>fcntl.hE<gt>\n"
"#include E<lt>limits.hE<gt>\n"
"#include E<lt>stdio.hE<gt>\n"
"#include E<lt>stdlib.hE<gt>\n"
"#include E<lt>sys/types.hE<gt>\n"
"#include E<lt>sys/stat.hE<gt>\n"
"#include E<lt>sys/fanotify.hE<gt>\n"
"#include E<lt>unistd.hE<gt>\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "#define BUF_SIZE 256\n"
msgstr "#define BUF_SIZE 256\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid ""
"int\n"
"main(int argc, char *argv[])\n"
"{\n"
"    int fd, ret, event_fd, mount_fd;\n"
"    ssize_t len, path_len;\n"
"    char path[PATH_MAX];\n"
"    char procfd_path[PATH_MAX];\n"
"    char events_buf[BUF_SIZE];\n"
"    struct file_handle *file_handle;\n"
"    struct fanotify_event_metadata *metadata;\n"
"    struct fanotify_event_info_fid *fid;\n"
"    const char *file_name;\n"
"    struct stat sb;\n"
msgstr ""
"int\n"
"main(int argc, char *argv[])\n"
"{\n"
"    int fd, ret, event_fd, mount_fd;\n"
"    ssize_t len, path_len;\n"
"    char path[PATH_MAX];\n"
"    char procfd_path[PATH_MAX];\n"
"    char events_buf[BUF_SIZE];\n"
"    struct file_handle *file_handle;\n"
"    struct fanotify_event_metadata *metadata;\n"
"    struct fanotify_event_info_fid *fid;\n"
"    const char *file_name;\n"
"    struct stat sb;\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid ""
"    if (argc != 2) {\n"
"        fprintf(stderr, \"Invalid number of command line arguments.\\en\");\n"
"        exit(EXIT_FAILURE);\n"
"    }\n"
msgstr ""
"    if (argc != 2) {\n"
"        fprintf(stderr, \"nb d’arguments de ligne de commande non valable.\\en\");\n"
"        exit(EXIT_FAILURE);\n"
"    }\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid ""
"    mount_fd = open(argv[1], O_DIRECTORY | O_RDONLY);\n"
"    if (mount_fd == -1) {\n"
"        perror(argv[1]);\n"
"        exit(EXIT_FAILURE);\n"
"    }\n"
msgstr ""
"    mount_fd = open(argv[1], O_DIRECTORY | O_RDONLY);\n"
"    if (mount_fd == -1) {\n"
"        perror(argv[1]);\n"
"        exit(EXIT_FAILURE);\n"
"    }\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid ""
"    /* Create an fanotify file descriptor with FAN_REPORT_DFID_NAME as\n"
"       a flag so that program can receive fid events with directory\n"
"       entry name. */\n"
msgstr ""
"    /* Créer un descripteur de fichier avec FAN_REPORT_DFID_NAME sous\n"
"       forme d’attribut de façon que le programme puisse recevoir des\n"
"       évènements fid avec des noms de répertoire d’entrée */\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid ""
"    fd = fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME, 0);\n"
"    if (fd == -1) {\n"
"        perror(\"fanotify_init\");\n"
"        exit(EXIT_FAILURE);\n"
"    }\n"
msgstr ""
"    fd = fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME, 0);\n"
"    if (fd == -1) {\n"
"        perror(\"fanotify_init\");\n"
"        exit(EXIT_FAILURE);\n"
"    }\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "    /* Place a mark on the filesystem object supplied in argv[1]. */\n"
msgstr ""
"    /* Placer une marque sur un objet de système de fichiers\n"
"       fourni dans argv[1]. */\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid ""
"    ret = fanotify_mark(fd, FAN_MARK_ADD | FAN_MARK_ONLYDIR,\n"
"                        FAN_CREATE | FAN_ONDIR,\n"
"                        AT_FDCWD, argv[1]);\n"
"    if (ret == -1) {\n"
"        perror(\"fanotify_mark\");\n"
"        exit(EXIT_FAILURE);\n"
"    }\n"
msgstr ""
"    ret = fanotify_mark(fd, FAN_MARK_ADD | FAN_MARK_ONLYDIR,\n"
"                        FAN_CREATE | FAN_ONDIR,\n"
"                        AT_FDCWD, argv[1]);\n"
"    if (ret == -1) {\n"
"        perror(\"fanotify_mark\");\n"
"        exit(EXIT_FAILURE);\n"
"    }\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "    /* Read events from the event queue into a buffer. */\n"
msgstr "        /* Lire les évènements dans la file dans le tampon */\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid ""
"    len = read(fd, events_buf, sizeof(events_buf));\n"
"    if (len == -1 && errno != EAGAIN) {\n"
"        perror(\"read\");\n"
"        exit(EXIT_FAILURE);\n"
"    }\n"
msgstr ""
"    len = read(fd, events_buf, sizeof(events_buf));\n"
"    if (len == -1 && errno != EAGAIN) {\n"
"        perror(\"read\");\n"
"        exit(EXIT_FAILURE);\n"
"    }\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "    /* Process all events within the buffer. */\n"
msgstr "        /* Traiter tous les événements du tampon */\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid ""
"    for (metadata = (struct fanotify_event_metadata *) events_buf;\n"
"            FAN_EVENT_OK(metadata, len);\n"
"            metadata = FAN_EVENT_NEXT(metadata, len)) {\n"
"        fid = (struct fanotify_event_info_fid *) (metadata + 1);\n"
"        file_handle = (struct file_handle *) fid-E<gt>handle;\n"
msgstr ""
"    for (metadata = (struct fanotify_event_metadata *) events_buf;\n"
"            FAN_EVENT_OK(metadata, len);\n"
"            metadata = FAN_EVENT_NEXT(metadata, len)) {\n"
"        fid = (struct fanotify_event_info_fid *) (metadata + 1);\n"
"        file_handle = (struct file_handle *) fid-E<gt>handle;\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "        /* Ensure that the event info is of the correct type. */\n"
msgstr "        /* Assurer que l’info d’évènement soit du type correct */\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid ""
"        if (fid-E<gt>hdr.info_type == FAN_EVENT_INFO_TYPE_FID ||\n"
"            fid-E<gt>hdr.info_type == FAN_EVENT_INFO_TYPE_DFID) {\n"
"            file_name = NULL;\n"
"        } else if (fid-E<gt>hdr.info_type == FAN_EVENT_INFO_TYPE_DFID_NAME) {\n"
"            file_name = file_handle-E<gt>f_handle +\n"
"                        file_handle-E<gt>handle_bytes;\n"
"        } else {\n"
"            fprintf(stderr, \"Received unexpected event info type.\\en\");\n"
"            exit(EXIT_FAILURE);\n"
"        }\n"
msgstr ""
"        if (fid-E<gt>hdr.info_type == FAN_EVENT_INFO_TYPE_FID ||\n"
"            fid-E<gt>hdr.info_type == FAN_EVENT_INFO_TYPE_DFID) {\n"
"            file_name = NULL;\n"
"        } else if (fid-E<gt>hdr.info_type == FAN_EVENT_INFO_TYPE_DFID_NAME) {\n"
"            file_name = file_handle-E<gt>f_handle +\n"
"                        file_handle-E<gt>handle_bytes;\n"
"        } else {\n"
"            fprintf(stderr, \"Type inattendu d’évènement reçu.\\en\");\n"
"            exit(EXIT_FAILURE);\n"
"        }\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid ""
"        if (metadata-E<gt>mask == FAN_CREATE)\n"
"            printf(\"FAN_CREATE (file created):\\en\");\n"
msgstr ""
"        if (metadata-E<gt>mask == FAN_CREATE)\n"
"            printf(\"FAN_CREATE (file created):\\en\");\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid ""
"        if (metadata-E<gt>mask == (FAN_CREATE | FAN_ONDIR))\n"
"            printf(\"FAN_CREATE | FAN_ONDIR (subdirectory created):\\en\");\n"
msgstr ""
"        if (metadata-E<gt>mask == (FAN_CREATE | FAN_ONDIR))\n"
"            printf(\"FAN_CREATE | FAN_ONDIR (sous_répertoire créé) :\\en\");\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, fuzzy, no-wrap
#| msgid ""
#| "\t/* metadata-E<gt>fd is set to FAN_NOFD when the group identifies\n"
#| "\t   objects by file handles.  To obtain a file descriptor for\n"
#| "\t   the file object corresponding to an event you can use the\n"
#| "\t   struct file_handle that\\(aqs provided within the\n"
#| "\t   fanotify_event_info_fid in conjunction with the\n"
#| "\t   open_by_handle_at(2) system call.  A check for ESTALE is\n"
#| "\t   done to accommodate for the situation where the file handle\n"
#| "\t   for the object was deleted prior to this system call. */\n"
msgid ""
"\t/* metadata-E<gt>fd is set to FAN_NOFD when the group identifies\n"
"\t   objects by file handles.  To obtain a file descriptor for\n"
"\t   the file object corresponding to an event you can use the\n"
"\t   struct file_handle that\\[aq]s provided within the\n"
"\t   fanotify_event_info_fid in conjunction with the\n"
"\t   open_by_handle_at(2) system call.  A check for ESTALE is\n"
"\t   done to accommodate for the situation where the file handle\n"
"\t   for the object was deleted prior to this system call. */\n"
msgstr ""
"\t/* metadata-E<gt>fd est défini à FAN_NOFD quand le groupe identifie\n"
"\t   les objets avec des gestionnaires de fichiers. Pour obtenir un\n"
"\t   descripteur de fichier pour l’objet de fichier correspondant à\n"
"\t   à un évènement, utiliser struct gestionnaire_fichier qui est\n"
"\t   fourni dans le fanotify_event_info_fid conjointement avec l’appel\n"
"\t   système open_by_handle_at(2). Une vérification pour ESTALE est\n"
"\t   faite pour supporter la situation où le gestionnaire de fichiers\n"
"\t   pour l’objet ait été détruit avant cet appel système. */\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid ""
"        event_fd = open_by_handle_at(mount_fd, file_handle, O_RDONLY);\n"
"        if (event_fd == -1) {\n"
"            if (errno == ESTALE) {\n"
"                printf(\"File handle is no longer valid. \"\n"
"                        \"File has been deleted\\en\");\n"
"                continue;\n"
"            } else {\n"
"                perror(\"open_by_handle_at\");\n"
"                exit(EXIT_FAILURE);\n"
"            }\n"
"        }\n"
msgstr ""
"        event_fd = open_by_handle_at(mount_fd, file_handle, O_RDONLY);\n"
"        if (event_fd == -1) {\n"
"            if (errno == ESTALE) {\n"
"                printf(\"Le gestionnaire de fichiers n’est plus valable, \"\n"
"                        \"le fichier a été supprimé\\en\");\n"
"                continue;\n"
"            } else {\n"
"                perror(\"open_by_handle_at\");\n"
"                exit(EXIT_FAILURE);\n"
"            }\n"
"        }\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid ""
"        snprintf(procfd_path, sizeof(procfd_path), \"/proc/self/fd/%d\",\n"
"                event_fd);\n"
msgstr ""
"        snprintf(procfd_path, sizeof(procfd_path), \"/proc/self/fd/%d\",\n"
"                event_fd);\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "        /* Retrieve and print the path of the modified dentry. */\n"
msgstr "        /* Retrouver et afficher le chemin de l’entrée modifiée */\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid ""
"        path_len = readlink(procfd_path, path, sizeof(path) - 1);\n"
"        if (path_len == -1) {\n"
"            perror(\"readlink\");\n"
"            exit(EXIT_FAILURE);\n"
"        }\n"
msgstr ""
"        path_len = readlink(procfd_path, path, sizeof(path) - 1);\n"
"        if (path_len == -1) {\n"
"            perror(\"readlink\");\n"
"            exit(EXIT_FAILURE);\n"
"        }\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, fuzzy, no-wrap
#| msgid ""
#| "        path[path_len] = \\(aq\\e0\\(aq;\n"
#| "        printf(\"\\etDirectory \\(aq%s\\(aq has been modified.\\en\", path);\n"
msgid ""
"        path[path_len] = \\[aq]\\e0\\[aq];\n"
"        printf(\"\\etDirectory \\[aq]%s\\[aq] has been modified.\\en\", path);\n"
msgstr ""
"        path[path_len] = \\(aq\\e0\\(aq;\n"
"        printf(\"\\eLe répertoire \\(aq%s\\(aq a été modifié\\en\", path);\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, fuzzy, no-wrap
#| msgid ""
#| "        if (file_name) {\n"
#| "            ret = fstatat(event_fd, file_name, &sb, 0);\n"
#| "            if (ret == -1) {\n"
#| "                if (errno != ENOENT) {\n"
#| "                    perror(\"fstatat\");\n"
#| "                    exit(EXIT_FAILURE);\n"
#| "                }\n"
#| "                printf(\"\\etEntry \\(aq%s\\(aq does not exist.\\en\", file_name);\n"
#| "            } else if ((sb.st_mode & S_IFMT) == S_IFDIR) {\n"
#| "                printf(\"\\etEntry \\(aq%s\\(aq is a subdirectory.\\en\", file_name);\n"
#| "            } else {\n"
#| "                printf(\"\\etEntry \\(aq%s\\(aq is not a subdirectory.\\en\",\n"
#| "                        file_name);\n"
#| "            }\n"
#| "        }\n"
msgid ""
"        if (file_name) {\n"
"            ret = fstatat(event_fd, file_name, &sb, 0);\n"
"            if (ret == -1) {\n"
"                if (errno != ENOENT) {\n"
"                    perror(\"fstatat\");\n"
"                    exit(EXIT_FAILURE);\n"
"                }\n"
"                printf(\"\\etEntry \\[aq]%s\\[aq] does not exist.\\en\", file_name);\n"
"            } else if ((sb.st_mode & S_IFMT) == S_IFDIR) {\n"
"                printf(\"\\etEntry \\[aq]%s\\[aq] is a subdirectory.\\en\", file_name);\n"
"            } else {\n"
"                printf(\"\\etEntry \\[aq]%s\\[aq] is not a subdirectory.\\en\",\n"
"                        file_name);\n"
"            }\n"
"        }\n"
msgstr ""
"        if (file_name) {\n"
"            ret = fstatat(event_fd, file_name, &sb, 0);\n"
"            if (ret == -1) {\n"
"                if (errno != ENOENT) {\n"
"                    perror(\"fstatat\");\n"
"                    exit(EXIT_FAILURE);\n"
"                }\n"
"                printf(\"\\etL’entrée \\(aq%s\\(aq n’existe pas\\en\", file_name);\n"
"            } else if ((sb.st_mode & S_IFMT) == S_IFDIR) {\n"
"                printf(\"\\etL’entrée \\(aq%s\\(aq est un sous-répertoire\\en\", file_name);\n"
"            } else {\n"
"                printf(\"\\etL’entrée \\(aq%s\\(aq n’est pas un sous-répertoire\\en\",\n"
"                        file_name);\n"
"            }\n"
"        }\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "        /* Close associated file descriptor for this event. */\n"
msgstr "                /* Fermer le descripteur de fichier de l’événement */\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid ""
"        close(event_fd);\n"
"    }\n"
msgstr ""
"        close(event_fd);\n"
"    }\n"

#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid ""
"    printf(\"All events processed successfully. Program exiting.\\en\");\n"
"    exit(EXIT_SUCCESS);\n"
"}\n"
msgstr ""
"    printf(\"Tous les évènements traités avec succès, fin du programme.\\en\");\n"
"    exit(EXIT_SUCCESS);\n"
"}\n"

#. type: TH
#: debian-unstable opensuse-tumbleweed
#, no-wrap
msgid "2023-05-03"
msgstr "3 mai 2023"

#. type: TH
#: debian-unstable opensuse-tumbleweed
#, no-wrap
msgid "Linux man-pages 6.05.01"
msgstr "Pages du manuel de Linux 6.05.01"

#. type: TH
#: opensuse-leap-15-6
#, no-wrap
msgid "2023-04-03"
msgstr "3 avril 2023"

#. type: TH
#: opensuse-leap-15-6
#, no-wrap
msgid "Linux man-pages 6.04"
msgstr "Pages du manuel de Linux 6.04"