Skip to content

Conversation

@ghaerr
Copy link
Owner

@ghaerr ghaerr commented Dec 19, 2025

Fixes #2541. The max size of a UNIX socket (string) name was previously decreased from 110 bytes to 16, saving lots of usually unused kernel data space, since 16 UNIX sockets are statically allocated. This increases it to 20.

When screen starts up, it used to create a UNIX socket with the name /root/screen/tty1.scr, which was failing in connect. The name has been shorted to /root/scr/tty1.scr, which fits within the 20 bytes now allowed.

@ghaerr ghaerr mentioned this pull request Dec 19, 2025
@ghaerr ghaerr merged commit 982123d into master Dec 19, 2025
2 checks passed
@ghaerr ghaerr deleted the screen branch December 19, 2025 18:21
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.

screen is not working

2 participants