From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E3351CA9EC6 for ; Wed, 30 Oct 2019 15:54:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BB00C2087E for ; Wed, 30 Oct 2019 15:54:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727721AbfJ3PyM (ORCPT ); Wed, 30 Oct 2019 11:54:12 -0400 Received: from www62.your-server.de ([213.133.104.62]:42462 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726913AbfJ3PyL (ORCPT ); Wed, 30 Oct 2019 11:54:11 -0400 Received: from [2a02:120b:2c12:c120:71a0:62dd:894c:fd0e] (helo=localhost) by www62.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1iPqIR-0006H2-9m; Wed, 30 Oct 2019 16:54:07 +0100 Date: Wed, 30 Oct 2019 16:54:07 +0100 From: Daniel Borkmann To: Ilya Leoshkevich Cc: Alexei Starovoitov , bpf@vger.kernel.org, Heiko Carstens , Vasily Gorbik , Andrey Ignatov Subject: Re: [PATCH bpf-next] selftests/bpf: test narrow load from bpf_sysctl.write Message-ID: <20191030155407.GA5669@pc-66.home> References: <20191029143027.28681-1-iii@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191029143027.28681-1-iii@linux.ibm.com> User-Agent: Mutt/1.12.1 (2019-06-15) X-Authenticated-Sender: daniel@iogearbox.net X-Virus-Scanned: Clear (ClamAV 0.101.4/25618/Wed Oct 30 09:54:22 2019) Sender: bpf-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org On Tue, Oct 29, 2019 at 03:30:27PM +0100, Ilya Leoshkevich wrote: > There are tests for full and narrows loads from bpf_sysctl.file_pos, but > for bpf_sysctl.write only full load is tested. Add the missing test. > > Suggested-by: Andrey Ignatov > Signed-off-by: Ilya Leoshkevich Applied, thanks!