Subject: "bpf: Improve the info.func_info and info.func_info_rec_size behavior" breaks strace self tests

From: Heiko Carstens <[email-masked]>
Date: Thu, 3 Jan 2019 12:46:13 +0100

Hello,

the kernel commit 7337224fc150 ("bpf: Improve the info.func_info and
info.func_info_rec_size behavior") breaks one of strace's self tests:

FAIL: bpf-obj_get_info_by_fd-prog-v.gen

Looking into the kernel commit, it seems that the user space visible
uapi change is intentional; even though it might break existing user
space.

To reproduce:

git clone https://gitlab.com/strace/strace.git
cd strace
./bootstrap
./configure
make -j $(nproc)
cd tests
make -j $(nproc) check