Changeset View
Changeset View
Standalone View
Standalone View
head/sys/i386/linux/linux_machdep.c
Show First 20 Lines • Show All 547 Lines • ▼ Show 20 Lines | if (!error && uap->uoss != NULL) { | ||||
lss.ss_flags = bsd_to_linux_sigaltstack(oss.ss_flags); | lss.ss_flags = bsd_to_linux_sigaltstack(oss.ss_flags); | ||||
error = copyout(&lss, uap->uoss, sizeof(l_stack_t)); | error = copyout(&lss, uap->uoss, sizeof(l_stack_t)); | ||||
} | } | ||||
return (error); | return (error); | ||||
} | } | ||||
int | int | ||||
linux_ftruncate64(struct thread *td, struct linux_ftruncate64_args *args) | |||||
{ | |||||
return (kern_ftruncate(td, args->fd, args->length)); | |||||
} | |||||
int | |||||
linux_set_thread_area(struct thread *td, struct linux_set_thread_area_args *args) | linux_set_thread_area(struct thread *td, struct linux_set_thread_area_args *args) | ||||
{ | { | ||||
struct l_user_desc info; | struct l_user_desc info; | ||||
int error; | int error; | ||||
int idx; | int idx; | ||||
int a[2]; | int a[2]; | ||||
struct segment_descriptor sd; | struct segment_descriptor sd; | ||||
▲ Show 20 Lines • Show All 167 Lines • Show Last 20 Lines |