Changeset View
Changeset View
Standalone View
Standalone View
sys/arm64/linux/linux_machdep.c
Show First 20 Lines • Show All 50 Lines • ▼ Show 20 Lines | |||||
#include <compat/linux/linux_util.h> | #include <compat/linux/linux_util.h> | ||||
/* DTrace init */ | /* DTrace init */ | ||||
LIN_SDT_PROVIDER_DECLARE(LINUX_DTRACE); | LIN_SDT_PROVIDER_DECLARE(LINUX_DTRACE); | ||||
/* DTrace probes */ | /* DTrace probes */ | ||||
LIN_SDT_PROBE_DEFINE0(machdep, linux_mmap2, todo); | LIN_SDT_PROBE_DEFINE0(machdep, linux_mmap2, todo); | ||||
LIN_SDT_PROBE_DEFINE0(machdep, linux_rt_sigsuspend, todo); | LIN_SDT_PROBE_DEFINE0(machdep, linux_rt_sigsuspend, todo); | ||||
LIN_SDT_PROBE_DEFINE0(machdep, linux_sigaltstack, todo); | |||||
/* | /* | ||||
* LINUXTODO: deduplicate; linux_execve is common across archs, except that on | * LINUXTODO: deduplicate; linux_execve is common across archs, except that on | ||||
* amd64 compat linuxulator it calls freebsd32_exec_copyin_args. | * amd64 compat linuxulator it calls freebsd32_exec_copyin_args. | ||||
*/ | */ | ||||
int | int | ||||
linux_execve(struct thread *td, struct linux_execve_args *uap) | linux_execve(struct thread *td, struct linux_execve_args *uap) | ||||
{ | { | ||||
▲ Show 20 Lines • Show All 57 Lines • ▼ Show 20 Lines | |||||
} | } | ||||
/* LINUXTODO: implement arm64 linux_rt_sigsuspend */ | /* LINUXTODO: implement arm64 linux_rt_sigsuspend */ | ||||
int | int | ||||
linux_rt_sigsuspend(struct thread *td, struct linux_rt_sigsuspend_args *uap) | linux_rt_sigsuspend(struct thread *td, struct linux_rt_sigsuspend_args *uap) | ||||
{ | { | ||||
LIN_SDT_PROBE0(machdep, linux_rt_sigsuspend, todo); | LIN_SDT_PROBE0(machdep, linux_rt_sigsuspend, todo); | ||||
return (EDOOFUS); | |||||
} | |||||
/* LINUXTODO: implement arm64 linux_sigaltstack */ | |||||
int | |||||
linux_sigaltstack(struct thread *td, struct linux_sigaltstack_args *uap) | |||||
{ | |||||
LIN_SDT_PROBE0(machdep, linux_sigaltstack, todo); | |||||
return (EDOOFUS); | return (EDOOFUS); | ||||
} | } | ||||
int | int | ||||
linux_set_cloned_tls(struct thread *td, void *desc) | linux_set_cloned_tls(struct thread *td, void *desc) | ||||
{ | { | ||||
if ((uint64_t)desc >= VM_MAXUSER_ADDRESS) | if ((uint64_t)desc >= VM_MAXUSER_ADDRESS) | ||||
Show All 18 Lines |