@@ -54,7 +54,7 @@ pub type __poll_t = crate::ctypes::c_uint;
5454pub type cap_user_header_t = * mut __user_cap_header_struct ;
5555pub type cap_user_data_t = * mut __user_cap_data_struct ;
5656pub type __kernel_rwf_t = crate :: ctypes:: c_int ;
57- pub type sigset_t = crate :: ctypes:: c_ulong ;
57+ pub type old_sigset_t = crate :: ctypes:: c_ulong ;
5858pub type __signalfn_t = :: core:: option:: Option < unsafe extern "C" fn ( arg1 : crate :: ctypes:: c_int ) > ;
5959pub type __sighandler_t = __signalfn_t ;
6060pub type __restorefn_t = :: core:: option:: Option < unsafe extern "C" fn ( ) > ;
@@ -554,7 +554,7 @@ pub cgroup: __u64,
554554}
555555#[ repr( C ) ]
556556#[ derive( Debug , Copy , Clone ) ]
557- pub struct __new_sigset_t {
557+ pub struct sigset_t {
558558pub sig : [ crate :: ctypes:: c_ulong ; 1usize ] ,
559559}
560560#[ repr( C ) ]
@@ -565,17 +565,17 @@ pub cur_status: crate::ctypes::c_int,
565565}
566566#[ repr( C ) ]
567567#[ derive( Debug , Copy , Clone ) ]
568- pub struct __new_sigaction {
568+ pub struct sigaction {
569569pub sa_handler : __sighandler_t ,
570570pub sa_flags : crate :: ctypes:: c_ulong ,
571571pub sa_restorer : __sigrestore_t ,
572- pub sa_mask : __new_sigset_t ,
572+ pub sa_mask : sigset_t ,
573573}
574574#[ repr( C ) ]
575575#[ derive( Debug , Copy , Clone ) ]
576- pub struct sigaction {
576+ pub struct old_sigaction {
577577pub sa_handler : __sighandler_t ,
578- pub sa_mask : sigset_t ,
578+ pub sa_mask : old_sigset_t ,
579579pub sa_flags : crate :: ctypes:: c_ulong ,
580580pub sa_restorer : :: core:: option:: Option < unsafe extern "C" fn ( ) > ,
581581}
@@ -1046,12 +1046,12 @@ pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
10461046pub __bindgen_padding_0 : [ u8 ; 3usize ] ,
10471047}
10481048#[ repr( C ) ]
1049- #[ derive( Debug ) ]
1049+ #[ derive( Debug , Copy , Clone ) ]
10501050pub struct kernel_sigset_t {
1051- pub sig : __IncompleteArrayField < crate :: ctypes:: c_ulong > ,
1051+ pub sig : [ crate :: ctypes:: c_ulong ; 1usize ] ,
10521052}
10531053#[ repr( C ) ]
1054- #[ derive( Debug ) ]
1054+ #[ derive( Debug , Copy , Clone ) ]
10551055pub struct kernel_sigaction {
10561056pub sa_handler_kernel : __kernel_sighandler_t ,
10571057pub sa_flags : crate :: ctypes:: c_ulong ,
@@ -1982,8 +1982,7 @@ pub const _NSIG_BPW: u32 = 64;
19821982pub const _NSIG_WORDS: u32 = 1 ;
19831983pub const SIGRTMIN : u32 = 32 ;
19841984pub const SIGRTMAX : u32 = 64 ;
1985- pub const _NSIG: u32 = 32 ;
1986- pub const NSIG : u32 = 32 ;
1985+ pub const _NSIG: u32 = 64 ;
19871986pub const _SV_SSTACK: u32 = 1 ;
19881987pub const _SV_INTR: u32 = 2 ;
19891988pub const _SV_RESET: u32 = 4 ;
0 commit comments