From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Carstens Subject: "bpf: Improve the info.func_info and info.func_info_rec_size behavior" breaks strace self tests Date: Thu, 3 Jan 2019 12:46:13 +0100 Message-ID: <20190103114613.GB3957@osiris> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8BIT Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Yonghong Song , Alexei Starovoitov , "Dmitry V. Levin" To: Martin KaFai Lau , Eugene Syromyatnikov Return-path: Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org 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