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

"Three processes" model #34

Open
raspbeguy opened this issue Oct 13, 2021 · 1 comment
Open

"Three processes" model #34

raspbeguy opened this issue Oct 13, 2021 · 1 comment

Comments

@raspbeguy
Copy link

Hello,

I would like to discuss about the feasibility of adopting the famous "three processes" model which is used for lots of OpenBSD services.

I'm not a developper, but if I understand correctly, the benefit of this model is having three specialized processes that you can very easily restrict with pledge/unveil, while with a single thread that does everything, you have to do some compromises for it to work correctly.

Here is a skeleton example of an OpenBSD daemon for reference.

@mario-campos
Copy link
Owner

mario-campos commented May 17, 2022

Hi @raspbeguy!

Thank you for the suggestion! I think it's a great idea. Unfortunately, I don't have much time for improvements these days, but when I do, I'll try to get around to it. 😃

P.S. Sorry about the delay! I'm on GitHub everyday and still it feels like sometimes I don't get notifications.

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

2 participants