@@ -140,6 +140,19 @@ s! {
140
140
pub pve_path: * mut :: c_char,
141
141
}
142
142
143
+ pub struct ptrace_lwpinfo {
144
+ pub pl_lwpid: lwpid_t,
145
+ pub pl_event: :: c_int,
146
+ pub pl_flags: :: c_int,
147
+ pub pl_sigmask: :: sigset_t,
148
+ pub pl_siglist: :: sigset_t,
149
+ pub pl_siginfo: :: siginfo_t,
150
+ pub pl_tdname: [ :: c_char; :: MAXCOMLEN as usize + 1 ] ,
151
+ pub pl_child_pid: :: pid_t,
152
+ pub pl_syscall_code: :: c_uint,
153
+ pub pl_syscall_narg: :: c_uint,
154
+ }
155
+
143
156
pub struct cpuset_t {
144
157
#[ cfg( target_pointer_width = "64" ) ]
145
158
__bits: [ :: c_long; 4 ] ,
@@ -1096,6 +1109,21 @@ pub const LOCAL_CREDS_PERSISTENT: ::c_int = 3;
1096
1109
pub const LOCAL_CONNWAIT : :: c_int = 4 ;
1097
1110
pub const LOCAL_VENDOR : :: c_int = SO_VENDOR ;
1098
1111
1112
+ pub const PL_EVENT_NONE : :: c_int = 0 ;
1113
+ pub const PL_EVENT_SIGNAL : :: c_int = 1 ;
1114
+ pub const PL_FLAG_SA : :: c_int = 0x01 ;
1115
+ pub const PL_FLAG_BOUND : :: c_int = 0x02 ;
1116
+ pub const PL_FLAG_SCE : :: c_int = 0x04 ;
1117
+ pub const PL_FLAG_SCX : :: c_int = 0x08 ;
1118
+ pub const PL_FLAG_EXEC : :: c_int = 0x10 ;
1119
+ pub const PL_FLAG_SI : :: c_int = 0x20 ;
1120
+ pub const PL_FLAG_FORKED : :: c_int = 0x40 ;
1121
+ pub const PL_FLAG_CHILD : :: c_int = 0x80 ;
1122
+ pub const PL_FLAG_BORN : :: c_int = 0x100 ;
1123
+ pub const PL_FLAG_EXITED : :: c_int = 0x200 ;
1124
+ pub const PL_FLAG_VFORKED : :: c_int = 0x400 ;
1125
+ pub const PL_FLAG_VFORK_DONE : :: c_int = 0x800 ;
1126
+
1099
1127
pub const PT_LWPINFO : :: c_int = 13 ;
1100
1128
pub const PT_GETNUMLWPS : :: c_int = 14 ;
1101
1129
pub const PT_GETLWPLIST : :: c_int = 15 ;
0 commit comments