Changeset View
Changeset View
Standalone View
Standalone View
head/sys/i386/linux/linux_machdep.c
Show First 20 Lines • Show All 348 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, uap->prot)); | return (linux_mprotect_common(td, PTROUT(uap->addr), uap->len, uap->prot)); | ||||
} | } | ||||
int | int | ||||
linux_madvise(struct thread *td, struct linux_madvise_args *uap) | |||||
{ | |||||
return (linux_madvise_common(td, PTROUT(uap->addr), uap->len, uap->behav)); | |||||
} | |||||
int | |||||
linux_ioperm(struct thread *td, struct linux_ioperm_args *args) | linux_ioperm(struct thread *td, struct linux_ioperm_args *args) | ||||
{ | { | ||||
int error; | int error; | ||||
struct i386_ioperm_args iia; | struct i386_ioperm_args iia; | ||||
iia.start = args->start; | iia.start = args->start; | ||||
iia.length = args->length; | iia.length = args->length; | ||||
iia.enable = args->enable; | iia.enable = args->enable; | ||||
▲ Show 20 Lines • Show All 366 Lines • Show Last 20 Lines |