OSDN Git Service

samples: seccomp: Use __BYTE_ORDER__
authorIlya Leoshkevich <iii@linux.ibm.com>
Tue, 26 Oct 2021 01:08:29 +0000 (03:08 +0200)
committerAndrii Nakryiko <andrii@kernel.org>
Tue, 26 Oct 2021 03:39:42 +0000 (20:39 -0700)
commit14e6cac771355dd5eb0b2cd66164ebd34a1621a7
treeaea9b69844efc91698f1e0ef9a5e4f0b2fdfedee
parent06fca841fb64c9ed499a3575a530014268d0251a
samples: seccomp: Use __BYTE_ORDER__

Use the compiler-defined __BYTE_ORDER__ instead of the libc-defined
__BYTE_ORDER for consistency.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20211026010831.748682-5-iii@linux.ibm.com
samples/seccomp/bpf-helper.h