Proto commits in falcosecurity/libs

These 19 commits are when the Protocol Buffers files have changed:

Commit:1a0b317
Author:Federico Di Pierro
Committer:poiana

cleanup(userspace/libsinsp): remove container engines, container manager, container info and dependent classes. Signed-off-by: Federico Di Pierro <nierro92@gmail.com>

The documentation is generated from this commit.

Commit:1fe9a1f
Author:Roberto Scolaro
Committer:poiana

feat(libsinsp): add support for containerd interface Signed-off-by: Roberto Scolaro <roberto.scolaro21@gmail.com>

Commit:0f6c4f9
Author:Roberto Scolaro
Committer:poiana

feat(libsinsp/container_engine/containerd): support image digest retrival Signed-off-by: Roberto Scolaro <roberto.scolaro21@gmail.com>

Commit:615c0f7
Author:Roberto Scolaro
Committer:poiana

fix(libsinsp): fix containerd proto compilation Signed-off-by: Roberto Scolaro <roberto.scolaro21@gmail.com>

Commit:82cf198
Author:Joseph Pittman
Committer:poiana

Update and improve gVisor support: - Implement event handlers for recently-added gVisor native events, including WRITE - Enhance event handlers to explicitly document which SCAP event fields are invalid (e.g. where info is not provided by the native gVisor event) - Improve gvisor config generator, to configure all fields needed by the event parser, and only those fields - Zero fill allocated scap_gvisor_platform structure, to avoid crash on startup - Return SCAP_TIMEOUT instead of SCAP_EOF on interrupted socket read - Add new gvisor parser unit tests for new event handlers; and fix existing unit tests to reflect updated functionality of existing event handlers Signed-off-by: Joseph Pittman <joseph.pittman@sysdig.com>

Commit:d84e1ee
Author:Grzegorz Nosek
Committer:poiana

update(sinsp): make v1alpha2 CRI API explicit Signed-off-by: Grzegorz Nosek <grzegorz.nosek@sysdig.com>

Commit:72b9dde
Author:Grzegorz Nosek
Committer:poiana

new(sinsp): CRI v1 proto file Signed-off-by: Grzegorz Nosek <grzegorz.nosek@sysdig.com>

Commit:9683cc0
Author:Luca Guerra
Committer:poiana

update(gvisor): update protobuf definitions to Jun 27th 2022 Signed-off-by: Luca Guerra <luca@guerra.sh> Co-authored-by: Fabricio Voznika <fvoznika@google.com>

Commit:0cc870c
Author:Lorenzo Susini
Committer:poiana

update(gvisor): add chroot syscall Signed-off-by: Lorenzo Susini <susinilorenzo1@gmail.com>

Commit:429a842
Author:Lorenzo Susini
Committer:poiana

update(gvisor): add chdir syscall Signed-off-by: Lorenzo Susini <susinilorenzo1@gmail.com>

Commit:b33cd8c
Author:Lorenzo Susini
Committer:poiana

update(gvisor): add setxid and setresxid syscalls Signed-off-by: Lorenzo Susini <susinilorenzo1@gmail.com>

Commit:79249e3
Author:Luca Guerra
Committer:poiana

update(gvisor): update common.proto Signed-off-by: Luca Guerra <luca@guerra.sh> Co-authored-by: Fabricio Voznika <fvoznika@google.com>

Commit:51c0b61
Author:Lorenzo Susini
Committer:poiana

update(libscap/engine/gvisor): adapt to new wire protocol Dropped the usage of Any for performance reasons. We can now retrieve the message type from the header. Signed-off-by: Lorenzo Susini <susinilorenzo1@gmail.com> Co-authored-by: Fabricio Voznika <fvoznika@google.com> Co-authored-by: Luca Guerra <luca@guerra.sh>

Commit:aa4a002
Author:Luca Guerra
Committer:poiana

new(libscap): add gvisor protobuf definitions from gvisor f2b6fbb47e6c2b5b6435741d7e3e122c9a2f8346 Signed-off-by: Luca Guerra <luca@guerra.sh> Co-authored-by: Fabricio Voznika <fvoznika@google.com>

Commit:70d9b31
Author:Leonardo Grasso
Committer:poiana

update(userspace/libsinsp): remove deprecated=true from cri.proto The deprecation annotation produced warnings when building. Since the warning is not really relevant to libs code and might be problematic for dependant projects (especially when a project uses warnings as errors, like Falco), we are just suppressing it by removing the annotation. Co-authored-by: Grzegorz Nosek <grzegorz.nosek@sysdig.com> Signed-off-by: Leonardo Grasso <me@leonardograsso.com>

Commit:8b290f0
Author:Leonardo Grasso
Committer:Leonardo Grasso

update(userspace/libsinsp): remove deprecated=true from cri.proto The deprecation annotation produced warnings when building. Since the warning is not really relevant to libs code and might be problematic for dependant projects (especially when a project uses warnings as errors, like Falco), we are just suppressing it by removing the annotation. Co-authored-by: Grzegorz Nosek <grzegorz.nosek@sysdig.com> Signed-off-by: Leonardo Grasso <me@leonardograsso.com>

Commit:1a879aa
Author:Leonardo Grasso
Committer:Leonardo Grasso

update(userspace/libsinsp): remove deprecated=true from cri.proto The deprecation annotation produced warnings when building. Since the warning is not really relevant to libs code and might be problematic for dependant projects (especially when a project uses warnings as errors, like Falco), we are just suppressing it by removing the annotation. Co-authored-by: Grzegorz Nosek <grzegorz.nosek@sysdig.com> Signed-off-by: Leonardo Grasso <me@leonardograsso.com>

Commit:5efe455
Author:Grzegorz Nosek
Committer:poiana

Partially automate cri.proto handling musl libc defines stdin, stdout and stderr as macros, so the names cannot be used as field/method names in generated CRI protobuf code. Before this change, we patched cri.proto with a static patch, which is tedious while upgrading cri.proto. Introduce a script, `userspace/libsinsp/scripts/update-cri-proto`, that downloads the latest version, replaces the problematic names and saves a new version of `userspace/libsinsp/cri.proto`. Note: this script requires bash and possibly GNU sed. Note 2: we also replace some occurrences of stdin/out/err in the comments, which looks weird but is harmless. Signed-off-by: Grzegorz Nosek <grzegorz.nosek@sysdig.com>

Commit:4362475
Author:Grzegorz Nosek
Committer:Grzegorz Nosek

Bundle gRPC and CRI .proto schema file