File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
src/unix/linux_like/linux/arch/generic Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
22
22
PTRACE_GET_RSEQ_CONFIGURATION
23
23
PTRACE_SYSEMU
24
24
PTRACE_SYSEMU_SINGLESTEP
25
+ SO_BUSY_POLL_BUDGET
26
+ SO_PREFER_BUSY_POLL
25
27
_libc_fpstate
26
28
flock64
27
29
getcontext
Original file line number Diff line number Diff line change @@ -102,6 +102,11 @@ cfg_if! {
102
102
target_arch = "csky" ,
103
103
target_arch = "loongarch64"
104
104
) ,
105
+ // FIXME(musl):
106
+ // Musl hardcodes the SO_* constants instead
107
+ // of inheriting them from the kernel headers.
108
+ // For new constants you might need consider updating
109
+ // musl in the CI as well.
105
110
not( any( target_env = "musl" , target_env = "ohos" ) )
106
111
) ) ] {
107
112
pub const SO_TIMESTAMP_NEW : c_int = 63 ;
@@ -110,10 +115,10 @@ cfg_if! {
110
115
pub const SO_RCVTIMEO_NEW : c_int = 66 ;
111
116
pub const SO_SNDTIMEO_NEW : c_int = 67 ;
112
117
pub const SO_DETACH_REUSEPORT_BPF : c_int = 68 ;
118
+ pub const SO_PREFER_BUSY_POLL : c_int = 69 ;
119
+ pub const SO_BUSY_POLL_BUDGET : c_int = 70 ;
113
120
}
114
121
}
115
- // pub const SO_PREFER_BUSY_POLL: c_int = 69;
116
- // pub const SO_BUSY_POLL_BUDGET: c_int = 70;
117
122
118
123
cfg_if ! {
119
124
if #[ cfg( any(
You can’t perform that action at this time.
0 commit comments