File: 1050-ebpf-s390x.patch

package info (click to toggle)
opensnitch 1.6.9-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 5,976 kB
  • sloc: python: 12,604; ansic: 1,965; sh: 435; makefile: 239; xml: 50; sql: 3
file content (19 lines) | stat: -rw-r--r-- 676 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Added ebpf build rule mapping for s390x to s390.
 This ensure the kernel headers are found during compilation.
Author: Petter Reinholdtsen <pere@hungry.com>
Forwarded: https://github.com/evilsocket/opensnitch/pull/1333
Last-Update: 2025-04-25
---
Index: opensnitch-salsa/ebpf_prog/Makefile
===================================================================
--- opensnitch-salsa.orig/ebpf_prog/Makefile	2025-04-25 07:58:50.785702284 +0200
+++ opensnitch-salsa/ebpf_prog/Makefile	2025-04-25 07:59:34.170084431 +0200
@@ -23,6 +23,8 @@
 	ARCH := arm
 else ifeq ($(ARCH),aarch64)
 	ARCH := arm64
+else ifeq ($(ARCH),s390x)
+	ARCH := s390
 endif
 
 ifeq ($(ARCH),arm)