Changeset View
Changeset View
Standalone View
Standalone View
head/sys/arm64/linux/linux_machdep.c
Show First 20 Lines • Show All 98 Lines • ▼ Show 20 Lines | |||||
int | int | ||||
linux_mprotect(struct thread *td, struct linux_mprotect_args *uap) | linux_mprotect(struct thread *td, struct linux_mprotect_args *uap) | ||||
{ | { | ||||
return (linux_mprotect_common(td, PTROUT(uap->addr), uap->len, | return (linux_mprotect_common(td, PTROUT(uap->addr), uap->len, | ||||
uap->prot)); | uap->prot)); | ||||
} | } | ||||
int | |||||
linux_madvise(struct thread *td, struct linux_madvise_args *uap) | |||||
{ | |||||
return (linux_madvise_common(td, PTROUT(uap->addr), uap->len, uap->behav)); | |||||
} | |||||
/* 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); | return (EDOOFUS); | ||||
} | } | ||||
Show All 18 Lines |