File tree 3 files changed +46
-2
lines changed
src/unix/linux_like/linux 3 files changed +46
-2
lines changed Original file line number Diff line number Diff line change @@ -3495,7 +3495,8 @@ fn test_linux(target: &str) {
3495
3495
"type_"
3496
3496
if struct_ == "input_event"
3497
3497
|| struct_ == "input_mask"
3498
- || struct_ == "ff_effect" =>
3498
+ || struct_ == "ff_effect"
3499
+ || struct_ == "fanotify_response_info_header" =>
3499
3500
{
3500
3501
"type" . to_string ( )
3501
3502
}
Original file line number Diff line number Diff line change @@ -1423,6 +1423,7 @@ MAP_STACK
1423
1423
MAP_TYPE
1424
1424
MAXTTL
1425
1425
MAX_ADDR_LEN
1426
+ MAX_HANDLE_SZ
1426
1427
MAX_IPOPTLEN
1427
1428
MCAST_BLOCK_SOURCE
1428
1429
MCAST_EXCLUDE
@@ -3435,10 +3436,16 @@ execvpe
3435
3436
faccessat
3436
3437
fallocate
3437
3438
fallocate64
3439
+ fanotify_event_info_error
3440
+ fanotify_event_info_fid
3441
+ fanotify_event_info_header
3442
+ fanotify_event_info_pidfd
3438
3443
fanotify_event_metadata
3439
3444
fanotify_init
3440
3445
fanotify_mark
3441
3446
fanotify_response
3447
+ fanotify_response_info_header
3448
+ fanotify_response_info_audit_rule
3442
3449
fchdir
3443
3450
fdatasync
3444
3451
fdopendir
Original file line number Diff line number Diff line change @@ -503,9 +503,45 @@ s! {
503
503
pub len: u32
504
504
}
505
505
506
+ pub struct fanotify_event_info_header {
507
+ pub info_type: :: __u8,
508
+ _pad: :: __u8,
509
+ pub len: :: __u16,
510
+ }
511
+
512
+ pub struct fanotify_event_info_fid {
513
+ pub hdr: fanotify_event_info_header,
514
+ pub fsid: :: fsid_t,
515
+ pub handle: [ :: c_uchar; 0 ] ,
516
+ }
517
+
518
+ pub struct fanotify_event_info_pidfd {
519
+ pub hdr: fanotify_event_info_header,
520
+ pub pidfd: :: __s32,
521
+ }
522
+
523
+ pub struct fanotify_event_info_error {
524
+ pub hdr: fanotify_event_info_header,
525
+ pub error: :: __s32,
526
+ pub error_count: :: __u32,
527
+ }
528
+
506
529
pub struct fanotify_response {
507
530
pub fd: :: c_int,
508
- pub response: __u32,
531
+ pub response: :: __u32,
532
+ }
533
+
534
+ pub struct fanotify_response_info_header {
535
+ pub type_: :: __u8,
536
+ pub pad: :: __u8,
537
+ pub len: :: __u16,
538
+ }
539
+
540
+ pub struct fanotify_response_info_audit_rule {
541
+ pub hdr: fanotify_response_info_header,
542
+ pub rule_number: :: __u32,
543
+ pub subj_trust: :: __u32,
544
+ pub obj_trust: :: __u32,
509
545
}
510
546
511
547
pub struct sockaddr_vm {
You can’t perform that action at this time.
0 commit comments