-
Notifications
You must be signed in to change notification settings - Fork 221
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
_open_osfhandle() fails for the program handle returned by ebpfcore. #287
Comments
Reopening since there is still the workaround to use sequential ids that needs to be removed if this fixes the underlying issue. |
Assigning back to @saxena-anurag as the driver issue should now be fixed. |
@saxena-anurag I can do this one if you prefer |
I am fine doing it, I just couldn't find where the code is that is doing this. |
I made a change, I just need to test it |
The code has issue#287 mentioned where we need to make the change. Mainly 2 places:
I think we will also need to write a platform specific version of _open_osfhandle(), like there is for DeviceIoControl() for UM tests to work. |
Yeah, ebpf_handle_user.c just returns integers, not things that _open_osfhandle() will accept |
Signed-off-by: Alan Jowett <alanjo@microsoft.com>
_open_osfhandle() is failing currently when called for the program handle returned by ebpfcore. It may have to do with the CreateOptions used in ZwCreateFile, needs to be investigated.
The text was updated successfully, but these errors were encountered: