Changeset View
Changeset View
Standalone View
Standalone View
head/sys/amd64/linux32/linux32_machdep.c
Show First 20 Lines • Show All 587 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_gettimeofday(struct thread *td, struct linux_gettimeofday_args *uap) | linux_gettimeofday(struct thread *td, struct linux_gettimeofday_args *uap) | ||||
{ | { | ||||
struct timeval atv; | struct timeval atv; | ||||
l_timeval atv32; | l_timeval atv32; | ||||
struct timezone rtz; | struct timezone rtz; | ||||
int error = 0; | int error = 0; | ||||
if (uap->tp) { | if (uap->tp) { | ||||
▲ Show 20 Lines • Show All 173 Lines • Show Last 20 Lines |