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
| ||
|
Date: Fri, 30 Aug 2019 03:50:33 +0300 From: Ivan Khoronzhuk <ivan.khoronzhuk@...aro.org> To: linux@...linux.org.uk, ast@...nel.org, daniel@...earbox.net, yhs@...com, davem@...emloft.net, jakub.kicinski@...ronome.com, hawk@...nel.org, john.fastabend@...il.com Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org, netdev@...r.kernel.org, bpf@...r.kernel.org, clang-built-linux@...glegroups.com, Ivan Khoronzhuk <ivan.khoronzhuk@...aro.org> Subject: [PATCH RFC bpf-next 06/10] samples: bpf: makefile: fix HDR_PROBE echo should be replace on echo -e to handle \n correctly, but instead, replace it on printf as some systems can't handle echo -e. Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@...aro.org> --- samples/bpf/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/bpf/Makefile b/samples/bpf/Makefile index 9232efa2b1b3..043f9cc14cdd 100644 --- a/samples/bpf/Makefile +++ b/samples/bpf/Makefile @@ -208,7 +208,7 @@ endif # Don't evaluate probes and warnings if we need to run make recursively ifneq ($(src),) -HDR_PROBE := $(shell echo "\#include <linux/types.h>\n struct list_head { int a; }; int main() { return 0; }" | \ +HDR_PROBE := $(shell printf "\#include <linux/types.h>\n struct list_head { int a; }; int main() { return 0; }" | \ $(HOSTCC) $(KBUILD_HOSTCFLAGS) -x c - -o /dev/null 2>/dev/null && \ echo okay) -- 2.17.1
Powered by blists - more mailing lists