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

Run Roblox on FreeBSD ? #688

Open
1 task done
rolio37 opened this issue Feb 18, 2025 · 2 comments
Open
1 task done

Run Roblox on FreeBSD ? #688

rolio37 opened this issue Feb 18, 2025 · 2 comments

Comments

@rolio37
Copy link

rolio37 commented Feb 18, 2025

Before Creating the Enhancement Request

  • I have confirmed that this should be classified as an enhancement rather than a bug/feature.

Is your feature request related to a problem?

Hi, it would be interesting one day to open the code to port the program to other platforms like FreeBSD for example :)
Thanks.

Describe the Solution you'd Like

No comments

Describe Alternatives you've considered

No comments

Additional context

No response

@V3L0C1T13S
Copy link

Sober could in theory run via FreeBSD's binary compatibility layer for Linux applications, however, FreeBSD's Linux compat is missing a feature called Syscall User Dispatch, which we need to run Roblox properly. There are alternatives we could use, such as ptrace, but implementing syscall interception via ptrace is significantly more complex, and even harder on a native FreeBSD port due to the native ptrace missing a Linux extension called PTRACE_SYSEMU, which tells the kernel to not execute the system call, and instead let the tracer do it on behalf of the application. On top of that, ptrace also has a significant performance penalty compared to SUD. It would be much more efficient and maintainable for FreeBSD to add support for SUD into their Linux compatibility layer compared to us trying to emulate the behavior of SUD using ptrace.

@rolio37
Copy link
Author

rolio37 commented Feb 18, 2025

ok I understood, thanks for the technical details.

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

No branches or pull requests

2 participants