eBPF-based security platform
testing: use the shared little-endian reader in the signed-load helper
Daniel Borkmannbc20602f1565
diff --git a/testing/helper/test-signed-load.c b/testing/helper/test-signed-load.cindex 2d04ca09..0691e427 100644--- a/testing/helper/test-signed-load.c+++ b/testing/helper/test-signed-load.c@@ -36,14 +36,6 @@ static long sys_bpf(int cmd, union bpf_attr *a)return syscall(__NR_bpf, cmd, a, sizeof(*a));}-static uint32_t rd_le32(const void *p)-{- uint32_t v;-- memcpy(&v, p, sizeof(v));- return v;-}-int main(int argc, char **argv){const struct shirudo_upatch_header *h;