File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,6 @@ pub const PTRACE_SETREGSET: ::c_int = 0x4205;
166
166
pub const PTRACE_SEIZE : :: c_int = 0x4206 ;
167
167
pub const PTRACE_INTERRUPT : :: c_int = 0x4207 ;
168
168
pub const PTRACE_LISTEN : :: c_int = 0x4208 ;
169
- pub const PTRACE_O_MASK : :: c_int = 0x000000ff ;
170
169
171
170
pub const POSIX_FADV_DONTNEED : :: c_int = 4 ;
172
171
pub const POSIX_FADV_NOREUSE : :: c_int = 5 ;
Original file line number Diff line number Diff line change @@ -1163,6 +1163,7 @@ pub const PTRACE_O_TRACEEXIT: ::c_int = 0x00000040;
1163
1163
pub const PTRACE_O_TRACESECCOMP : :: c_int = 0x00000080 ;
1164
1164
pub const PTRACE_O_SUSPEND_SECCOMP : :: c_int = 0x00200000 ;
1165
1165
pub const PTRACE_O_EXITKILL : :: c_int = 0x00100000 ;
1166
+ pub const PTRACE_O_MASK : :: c_int = 0x003000ff ;
1166
1167
1167
1168
// Wait extended result codes for the above trace options.
1168
1169
pub const PTRACE_EVENT_FORK : :: c_int = 1 ;
@@ -1364,12 +1365,6 @@ pub const ARPHRD_IEEE802154: u16 = 804;
1364
1365
pub const ARPHRD_VOID : u16 = 0xFFFF ;
1365
1366
pub const ARPHRD_NONE : u16 = 0xFFFE ;
1366
1367
1367
- cfg_if ! {
1368
- if #[ cfg( not( target_env = "uclibc" ) ) ] {
1369
- pub const PTRACE_O_MASK : :: c_int = 0x003000ff ;
1370
- }
1371
- }
1372
-
1373
1368
const_fn ! {
1374
1369
{ const } fn CMSG_ALIGN ( len: usize ) -> usize {
1375
1370
len + :: mem:: size_of:: <usize >( ) - 1 & !( :: mem:: size_of:: <usize >( ) - 1 )
You can’t perform that action at this time.
0 commit comments