Created attachment 1504385 [details] example eBPF object file Description of problem: The file utility recently gained support to detect ELF binaries containing eBPF bytecode. Before this addition, file detects the binary as "unknown arch" Version-Release number of selected component (if applicable): file-5.34-3.fc29.x86_64 How reproducible: 100% Steps to Reproduce: 1. Compile a C code as eBPF, like: clang -target bpf -c test.c -o test.o 2. run file on the binary Actual results: $ file test.o test.o: ELF 64-bit LSB relocatable, *unknown arch 0xf7* version 1 (SYSV), not stripped Expected results: $ file test.o test.o: ELF 64-bit LSB relocatable, eBPF, version 1 (SYSV), not stripped Additional info: Upstream commit: https://github.com/file/file/commit/4cf4e817457ce6ca32452a7c80b27e96be6441dc
This should be easy to backport. Thanks!
downstream commits: https://src.fedoraproject.org/cgit/rpms/file.git/commit/?id=554e8b4b https://src.fedoraproject.org/cgit/rpms/file.git/commit/?id=0c6585f6
file-5.34-4.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-4222a53d59
file-5.33-9.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-c7f670fe4f
file-5.33-9.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-c7f670fe4f
file-5.34-4.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-4222a53d59
file-5.34-4.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.
file-5.33-9.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.