draios / sysdig

Linux system exploration and troubleshooting tool with first class support for containers
http://www.sysdig.com/
Other
7.68k stars 728 forks source link

decouple sinsp fdinfo_type from scap fdinfo_type #884

Closed ret2libc closed 1 year ago

ret2libc commented 7 years ago

At the moment, sinsp_fdinfo.m_type uses the scap_fd_type, but this makes it hard to introduce new versions of the same type in libscap, without having to touch all the sinsp related code.

I propose we introduce a sinsp_fd_type and we map scap_fd_type to sinsp_fd_type in the moment we add a fd to a thread.

github-actions[bot] commented 1 year ago

This issue 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.