Skip to content

Conversation

@stargieg
Copy link
Owner

missing include asm/ioctls.h with error 'TCGETS2' undeclared

The [termios-musl.patch] is from the musl mailing list with discussion on this bug, but no solution.
[PATCH] ioctl: Fix implicit constant conversion overflow
https://www.openwall.com/lists/musl/2024/06/01/1

overflow in conversion from 'long unsigned int' to 'int' changes value from '2150388778' to '-2144578518'

missing include asm/ioctls.h with error 'TCGETS2' undeclared
overflow in conversion from 'long unsigned int' to 'int' changes value from '2150388778' to '-2144578518'
@stargieg stargieg closed this Dec 26, 2025
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

Successfully merging this pull request may close these issues.

2 participants