draios / sysdig

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

update(userspace): avoid using and relying on std namespace in headers #1939

Closed jasondellaluce closed 1 year ago

jasondellaluce commented 1 year ago

Following up the work of https://github.com/falcosecurity/libs/pull/769, this solves the same issue in the sysdig codebase as well. This both fixes compilation with libs on that branch, and reduces the reliance on implicit std namespace in most of the codebase (the only piece missing is the sinspui part, which was too big to tackle in one single PR).

FedeDP commented 1 year ago

I'd wait on https://github.com/draios/sysdig/pull/1924 before; this way, we can intercept osx and win issues!

FedeDP commented 1 year ago

Let's go!