-
Notifications
You must be signed in to change notification settings - Fork 726
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
Parse accept4 flags #864
Parse accept4 flags #864
Conversation
sysdig-CLA-1.0-contributing-entity: Amir Rossert sysdig-CLA-1.0-signed-off-by: John Tsai johntsai@paypal.com
This look ok to me, although without exporting the |
I can try to implement this but I don't know where I can get the masking of the flags
If you can give me a direction where to start I will start working on it |
You can have a look at the [1] https://github.com/draios/sysdig/blob/dev/driver/event_table.c#L26 |
Thanks for the tip but I have an issue with getting the flags.
When I'm sending Do I need to do something to put the value in |
If I'm not wrong, |
Can you please elaborate on
What does the |
sysdig-CLA-1.0-contributing-entity: Amir Rossert sysdig-CLA-1.0-signed-off-by: John Tsai johntsai@paypal.com
I was able to make it work by using Let me know if I forgot something in the process. |
I think reading the function at https://github.com/draios/sysdig/blob/dev/driver/ppm_syscall.h#L139 should give you a pretty good understanding of how |
Hi! This looks ok to me apart from the conflicts. I can resolve them when merging, if that's ok with you. |
…_accept_accept4 # Conflicts: # driver/flags_table.c # driver/ppm_events_public.h # userspace/libscap/flags_table.c # userspace/sysdig/chisels/v_incoming_connections.lua sysdig-CLA-1.0-contributing-entity: Amir Rossert sysdig-CLA-1.0-signed-off-by: John Tsai johntsai@paypal.com
# Conflicts: # driver/ppm_events_public.h sysdig-CLA-1.0-contributing-entity: Amir Rossert
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This PR addressing #844.
This may break some other code that relies on the filtering of
accept
by name (I have fixed some chisels that I could find that use this filter).