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

Feature Request: Use windows Jobs #193

Open
gerardog opened this issue Oct 26, 2022 · 0 comments · May be fixed by #240
Open

Feature Request: Use windows Jobs #193

gerardog opened this issue Oct 26, 2022 · 0 comments · May be fixed by #240

Comments

@gerardog
Copy link
Owner

gerardog commented Oct 26, 2022

As discussed in #186

  1. Using Windows Job Objects
    A Job allows to group several processes as a unit. If gsudo is groupped with the elevated process, if you kill gsudo that would kill the child process. The problem would be, who creates the job? probably gsudo should. Probably other processes won't be able to create the job without elevating first.

Let's create a windows job connecting the client gsudo with the elevated process. That way if the caller gsudo dies, the elevated process does too.

@gerardog gerardog linked a pull request Mar 13, 2023 that will close this issue
@gerardog gerardog linked a pull request Mar 20, 2023 that will close this issue
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 a pull request may close this issue.

1 participant