Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ndim opened this issue Nov 3, 2023 · 0 comments

Comments

@ndim
Copy link
Member

ndim commented Nov 3, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant