Skip to content

Conversation

@redoste
Copy link
Contributor

@redoste redoste commented Sep 5, 2023

Summary

Allow connection to a VDE switch run by the same user because libvdeplug will only change the mode if the switch is run by another user that isn't root.
If the switch is run by the same user as 86Box the socket will be chmoded to 000 and the switch, unable to connect back, will drop the connection.

Checklist

References

https://github.com/rd235/vdeplug4/blob/187256c528137036cc4e3228728b3f70a3342fa5/libvdeplug4/libvdeplug_vde.c#L261-L275

`libvdeplug` will only change the mode if the switch is run by another
user that isn't root.
If the switch is run by the same user as 86Box the socket will be
chmoded to 000 and the switch, unable to connect back, will drop the
connection.

https://github.com/rd235/vdeplug4/blob/187256c528137036cc4e3228728b3f70a3342fa5/libvdeplug4/libvdeplug_vde.c#L261-L275
@OBattler OBattler merged commit f5dabe8 into 86Box:master Mar 28, 2024
@cold-brewed
Copy link
Contributor

Thanks for the PR!

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.

3 participants