velociraptor/make-libbpfgo-vendorable.patch

28 lines
631 B
Diff
Raw Normal View History

Accepting request 975255 from home:jeff_mahoney:security:sensor:devel - Fix error handling in tcpsnoop and dnssnoop. * If BTF information is unavailable, there is no indication that the query has failed. - Rebase on 0.6.4: * Updated dependencies * Bugfix: startup bugs (#1680) * bugfix: Server event notebook not correctly created (#1737) * Bugfix: Start a dummy indexing service (#1736) * Add bugfix which would return no rows if the user removed whitelist (#1735) * Fixed bug in read_reg_key (#1734) * BUGFIX: Do not include config flag when darwin installer is repacked (#1733) * Refactored index into its own service. (#1730) * Bugfix: Write one index item per JSONL record. (#1727) * Bugfix: Estimating client impact should consider last active status (#1726) * Add complete ntfs metadata option to MFT output (#1725) * Various bugfixes. (#1724) * Update Usn.yaml (#1723) * Fixed a bug in hunt download preparation. (#1722) * Add Windows.Forensics.Usn filter and presentation updates (#1720) * Optimize writing event monitoring records (#1721) * Add Generic.Detection.Yara.Zip (#1718) * Fixed crash on master-pong response. (#1719) * Remove _type option from elastic. (#1715) * Opportunistically update directly connected client's ping times (#1713) * Fixed a bug in hunt download preparation. (#1722) * Add Windows.Forensics.Usn filter and presentation updates (#1720) * Optimize writing event monitoring records (#1721) * Add Generic.Detection.Yara.Zip (#1718) * Fixed crash on master-pong response. (#1719) OBS-URL: https://build.opensuse.org/request/show/975255 OBS-URL: https://build.opensuse.org/package/show/security:sensor/velociraptor?expand=0&rev=14
2022-05-05 20:38:36 +02:00
---
third_party/libbpfgo/go.mod | 8 --------
third_party/libbpfgo/libbpfgo.go | 2 +-
2 files changed, 1 insertion(+), 9 deletions(-)
--- a/third_party/libbpfgo/go.mod
+++ /dev/null
@@ -1,8 +0,0 @@
-module github.com/aquasecurity/libbpfgo
-
-go 1.16
-
-require (
- github.com/stretchr/testify v1.7.0
- golang.org/x/sys v0.0.0-20210514084401-e8d321eab015
-)
--- a/third_party/libbpfgo/libbpfgo.go
+++ b/third_party/libbpfgo/libbpfgo.go
@@ -87,7 +87,7 @@ import (
"syscall"
"unsafe"
- "github.com/aquasecurity/libbpfgo/helpers"
+ "www.velocidex.com/golang/velociraptor/third_party/libbpfgo/helpers"
)
const (