-
Notifications
You must be signed in to change notification settings - Fork 10
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
fuzz: rework df_exec_cmd_check() #119
Conversation
@mrc0mmand could you move the first commit (with |
Sure thing, done in #121. |
@evverx I tweaked the logging stuff a bit, so we can differentiate between multiple logging handles - in our case it only |
I'm kind of on the fence about this. On the one hand it should make it possible to extend that part easily but on the other hand as a user I'd prefer to pass something like |
I don't really have a preference here, so I can definitely leave the |
Just to clarify, I'm just used to tools where I have to flip a switch like |
I think I'd go with this. If at some point it causes any issues in terms of extending the logger it will be on me :-) |
Explicitly use fork() & execl() to avoid the file descriptor shenanigans, and move & rename the function to util.[ch]. Also, when at it, add a unit test for the function as well.
@mrc0mmand one last thing. I wonder what was wrong with |
I think I should have read the commit message carefully. |
Explicitly use fork() & execl() to avoid the file descriptor
shenanigans, and move & rename the function to util.[ch].
Also, when at it, add a unit test for the function as well.