@@ -16,6 +16,7 @@ pub type loff_t = ::c_longlong;
16
16
pub type pthread_key_t = :: c_uint ;
17
17
pub type pthread_once_t = :: c_int ;
18
18
pub type pthread_spinlock_t = :: c_int ;
19
+ pub type __kernel_fsid_t = __c_anonymous__kernel_fsid_t ;
19
20
20
21
pub type __u8 = :: c_uchar ;
21
22
pub type __u16 = :: c_ushort ;
@@ -548,6 +549,20 @@ s! {
548
549
pub sh_entsize: Elf64_Xword ,
549
550
}
550
551
552
+ pub struct __c_anonymous_elf32_rel {
553
+ pub r_offset: Elf32_Addr ,
554
+ pub r_info: Elf32_Word ,
555
+ }
556
+
557
+ pub struct __c_anonymous_elf64_rel {
558
+ pub r_offset: Elf64_Addr ,
559
+ pub r_info: Elf64_Xword ,
560
+ }
561
+
562
+ pub struct __c_anonymous__kernel_fsid_t {
563
+ pub val: [ :: c_int; 2 ] ,
564
+ }
565
+
551
566
pub struct ucred {
552
567
pub pid: :: pid_t,
553
568
pub uid: :: uid_t,
@@ -615,6 +630,18 @@ s! {
615
630
pub response: __u32,
616
631
}
617
632
633
+ pub struct fanotify_event_info_header {
634
+ pub info_type: __u8,
635
+ pub pad: __u8,
636
+ pub len: __u16,
637
+ }
638
+
639
+ pub struct fanotify_event_info_fid {
640
+ pub hdr: fanotify_event_info_header,
641
+ pub fsid: :: __kernel_fsid_t,
642
+ pub handle: [ :: c_uchar; 0 ] ,
643
+ }
644
+
618
645
pub struct sockaddr_vm {
619
646
pub svm_family: :: sa_family_t,
620
647
pub svm_reserved1: :: c_ushort,
0 commit comments