Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1243645ybi; Thu, 30 May 2019 14:06:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqzmSLtZ5nzmNkCwoJUhrk3scUNZcoWR/1pXap2nZJ0emHF7D7SX+IVmvQcfCoKNk1RC5724 X-Received: by 2002:a63:27c7:: with SMTP id n190mr5477994pgn.250.1559250389680; Thu, 30 May 2019 14:06:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559250389; cv=none; d=google.com; s=arc-20160816; b=do9sbFoFVtmtBkIwVJ3jbWOuqABKMLGHBiQJnHgPlQR4cZ6qBpHvvvazb/hz6tah87 kGNkduofnjQWd3GF14pgw1MrEmP9wdieOAzGwpfS+kVXtnVtAMMlS5ytKTd+m59sN5Dt TQokQnAppItRgw48LnHhgEi+NVtdJ5tmarojtVtfjk1inSzLVMDUx1bhY/arBfKll3hl cS5QZ2EbL4kEmMF0iYlnd5YmJE8Zv8aszfPJUSdSTkYPkmCVDGOt6o8BpiCRlhde2laY rhnO5c9DueQ198IcF7Bb559wnl3O8fMVmu/qmxmMcmX+ng3o8xOxPnceNTyoA5qAU/aO 4svg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=9lkw47YPjpRbhlNPpmFDfsRucb8LwnKDdtHfzkChXh8=; b=n2kZ7FG1fhEvU1o+DBwz8oBKba0wuEE9pDmPPkCEhAEux3RsWhdsfJinXufhkRxN4P JfTpO/2gKceLKgFslvyWScv/IJ63GDD960VD4c2WLbVLSY1U03iXeFqWDSl4RzOiynQJ P2IE/9uRjJ5Ol+jK2YRGatGgBRHrzwzASqdU7RWO/tRchLEIuyLGJ4+/iqHDXGr+xHtl sGWQFfoQVP25RVnOU5rpZfUVnLb0zuw7DmIA9gqDibIU9uZ1gmhyZMZdRhJ4E3AZjy6A KcjBDJeqgktZzJZZYfCwWTq/QNvb4Hm3NeSTRGsdP+Km32DDVkTrUOygB0Te8NhiAvCn 59eA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y11si1594584plr.377.2019.05.30.14.06.13; Thu, 30 May 2019 14:06:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726674AbfE3VFD (ORCPT + 99 others); Thu, 30 May 2019 17:05:03 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:35020 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726079AbfE3VFD (ORCPT ); Thu, 30 May 2019 17:05:03 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 7BC2E80342; Thu, 30 May 2019 23:04:51 +0200 (CEST) Date: Thu, 30 May 2019 23:05:01 +0200 From: Pavel Machek To: pavel@ucw.cz Cc: linux-kernel@vger.kernel.org, Yonghong Song , Alexei Starovoitov , Sasha Levin Subject: Re: [PATCH 4.19 051/276] selftests/bpf: set RLIMIT_MEMLOCK properly for test_libbpf_open.c Message-ID: <20190530210500.GA9685@amd> References: <20190530030523.133519668@linuxfoundation.org> <20190530030528.215407626@linuxfoundation.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PNTmBPCT7hxwcZjr" Content-Disposition: inline In-Reply-To: <20190530030528.215407626@linuxfoundation.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --PNTmBPCT7hxwcZjr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > Signed-off-by: Yonghong Song > Signed-off-by: Alexei Starovoitov > Signed-off-by: Sasha Levin > --- > tools/testing/selftests/bpf/test_libbpf_open.c | 2 ++ > 1 file changed, 2 insertions(+) >=20 > diff --git a/tools/testing/selftests/bpf/test_libbpf_open.c b/tools/testi= ng/selftests/bpf/test_libbpf_open.c > index 8fcd1c076add0..cbd55f5f8d598 100644 > --- a/tools/testing/selftests/bpf/test_libbpf_open.c > +++ b/tools/testing/selftests/bpf/test_libbpf_open.c > @@ -11,6 +11,8 @@ static const char *__doc__ =3D > #include > #include > =20 > +#include "bpf_rlimit.h" > + > static const struct option long_options[] =3D { > {"help", no_argument, NULL, 'h' }, > {"debug", no_argument, NULL, 'D' }, header file with side effects... That's no header file, that's a .c file. Perhaps we should name it as such? I thought "this can't be right" when I first saw it.. Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --PNTmBPCT7hxwcZjr Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlzwRXwACgkQMOfwapXb+vLfnQCfR+p2zSdyfd03hPRp3sVU8Aiz c6cAnj8WiR8dSJVcpBeUFyiC7r0YcTML =1Dwe -----END PGP SIGNATURE----- --PNTmBPCT7hxwcZjr--