lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240122210546.3423784-3-pctammela@mojatatu.com>
Date: Mon, 22 Jan 2024 18:05:46 -0300
From: Pedro Tammela <pctammela@...atatu.com>
To: netdev@...r.kernel.org
Cc: Pedro Tammela <pctammela@...atatu.com>
Subject: [PATCH iproute2 2/2] bpf: include libgen.h for basename

In musl basename() is only available via libgen.h

Signed-off-by: Pedro Tammela <pctammela@...atatu.com>
---
 lib/bpf_legacy.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/bpf_legacy.c b/lib/bpf_legacy.c
index 844974e9..741eec8d 100644
--- a/lib/bpf_legacy.c
+++ b/lib/bpf_legacy.c
@@ -18,6 +18,7 @@
 #include <stdarg.h>
 #include <limits.h>
 #include <assert.h>
+#include <libgen.h>
 
 #ifdef HAVE_ELF
 #include <libelf.h>
-- 
2.40.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ