spkr-beep / beep

beep is a command line tool for linux that beeps the PC speaker

Home Page:https://github.com/spkr-beep/beep

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Verify that the the struct timespec part of the struct input_event is actually unused

ndim opened this issue · comments

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.