Skip to contentSkip to conversation

struct timespec as part of kernel/userspace ABI

DISCUSSION Tim Cussins 1 participant 1 message Mar 13, 2015

lore
Share & tools
lore
#0 lore raw

Hi all,

Like the other ALSA ioctls, the proposed start_at ioctl currently uses struct timespec.

A reviewer (of the start_at patchset) has mentioned that communicating timespecs across the kernel/userspace boundary requires special 32bit/64bit compatibility handling (pcm_compat.c). I didn't appreciate this :(

Should I follow the same pcm_compat.c pattern for dealing with timespecs for the proposed start_at ioctl?

Cheers,
Tim