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

feat: rework deadlock handling #1

Merged
merged 1 commit into from
Jan 26, 2022

Conversation

secDre4mer
Copy link
Contributor

The current practice of filtering specific access masks out that
can cause deadlocks in NtQueryObject also causes other handles,
e.g. most named pipes, to be ignored.
To improve on this, use a native thread instead that can be killed
in case of a deadlock. Our "main" go routine can communicate with
the go function running on the native thread via a pair of pipes.

The current practice of filtering specific access masks out that
can cause deadlocks in NtQueryObject also causes other handles,
e.g. most named pipes, to be ignored.
To improve on this, use a native thread instead that can be killed
in case of a deadlock. Our "main" go routine can communicate with
the go function running on the native thread via a pair of pipes.
@Codehardt Codehardt merged commit e40c16c into NextronSystems:master Jan 26, 2022
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.

2 participants