SUSE / linux-security-sensor

Linux security sensor
Other
18 stars 9 forks source link

Build fixes for non-AMD64 architectures #55

Closed jeffmahoney closed 1 year ago

jeffmahoney commented 1 year ago

Velociraptor has been building fine on OBS but it's limited to x86_64 and i586 (and we don't care about i586). This PR includes fixes for building Velociraptor on non-x86_64 and syncs the libbpfgo submodule to include changes pushed upstream for building on non-x86_64.

The only code change is the handling of the MAP_32BIT flag for mmap() in libbpfgo which nothing should be using anyway.