The Linux struct input_event structure actually contains not only the .type, .code and .value members for EV_SND, SND_TONE and the frequency, but also a struct timespec.
We should verify that the struct timespec is ignored by the kernel. Otherwise, it might be possible to move the delays from userspace into the kernel, similar to the BSD API.
The Linux
struct input_eventstructure actually contains not only the.type,.codeand.valuemembers forEV_SND,SND_TONEand the frequency, but also astruct timespec.We should verify that the
struct timespecis ignored by the kernel. Otherwise, it might be possible to move the delays from userspace into the kernel, similar to the BSD API.