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;
166166pub const PTRACE_SEIZE : :: c_int = 0x4206 ;
167167pub const PTRACE_INTERRUPT : :: c_int = 0x4207 ;
168168pub const PTRACE_LISTEN : :: c_int = 0x4208 ;
169- pub const PTRACE_O_MASK : :: c_int = 0x000000ff ;
170169
171170pub const POSIX_FADV_DONTNEED : :: c_int = 4 ;
172171pub 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;
11631163pub const PTRACE_O_TRACESECCOMP : :: c_int = 0x00000080 ;
11641164pub const PTRACE_O_SUSPEND_SECCOMP : :: c_int = 0x00200000 ;
11651165pub const PTRACE_O_EXITKILL : :: c_int = 0x00100000 ;
1166+ pub const PTRACE_O_MASK : :: c_int = 0x003000ff ;
11661167
11671168// Wait extended result codes for the above trace options.
11681169pub const PTRACE_EVENT_FORK : :: c_int = 1 ;
@@ -1364,12 +1365,6 @@ pub const ARPHRD_IEEE802154: u16 = 804;
13641365pub const ARPHRD_VOID : u16 = 0xFFFF ;
13651366pub const ARPHRD_NONE : u16 = 0xFFFE ;
13661367
1367- cfg_if ! {
1368- if #[ cfg( not( target_env = "uclibc" ) ) ] {
1369- pub const PTRACE_O_MASK : :: c_int = 0x003000ff ;
1370- }
1371- }
1372-
13731368const_fn ! {
13741369 { const } fn CMSG_ALIGN ( len: usize ) -> usize {
13751370 len + :: mem:: size_of:: <usize >( ) - 1 & !( :: mem:: size_of:: <usize >( ) - 1 )
You can’t perform that action at this time.
0 commit comments