(data: *mut c::c_void)
| 124 | #[cfg(target_arch = "x86_64")] |
| 125 | #[inline] |
| 126 | pub(crate) unsafe fn set_fs(data: *mut c::c_void) { |
| 127 | ret_infallible(syscall_readonly!( |
| 128 | __NR_arch_prctl, |
| 129 | c_uint(ARCH_SET_FS), |
| 130 | data, |
| 131 | zero(), |
| 132 | zero(), |
| 133 | zero() |
| 134 | )) |
| 135 | } |
| 136 | |
| 137 | #[inline] |
| 138 | pub(crate) unsafe fn set_tid_address(data: *mut c::c_void) -> Pid { |
nothing calls this directly
no test coverage detected