Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp834111ybl; Tue, 13 Aug 2019 03:25:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqyfH03HgjJMCOJrkg6sP3JkSfjuk04HEMu2yp+8bz/Jp0ibTZfrr5mGEl/KQio5X4dcIthx X-Received: by 2002:a17:90b:14c:: with SMTP id em12mr1603707pjb.28.1565691934845; Tue, 13 Aug 2019 03:25:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565691934; cv=none; d=google.com; s=arc-20160816; b=Gwtkg4YeR1dKnAq2aWW2OwMe0We7v6Q6zjihGzwBgOeA6BRIQKzS/4Gp69a37hh26n GWKw2lUm1d4xdR/Qdl/QeAAf9PDxhP+B7n2Ge2Dnot2cKr8ea7udh/ijktKqC7+OuvrL +8IdcrUhUTbQDfIam6Klktv1Yrpcia+LglzEMT9859XxvN43OAZJQ7wm2zHGkY3zNmZP rP8rwBxGPMjduPDkD+0KCUg9I8PYvylAQuNyqXF43mDZw537DMtzX30J7nnL3sjOo734 RI0wZ11lQDRGkZSUTKXc4CQJv+SvfN+QI+gQhOIUGz0QLGIHhlWHsloWVTgLUN7LmhJB Badw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=+vEsZUSwAdb3YjNql7rDM4PtC51lwjYe4ypkHR8meNg=; b=M8hpGwRs9vbgpPVMHwlp9cynljqgGQmbomfMp8+N/ABYfo59UBM3MjQ6SWW7ULVOpd YrDgKdS0HaznybBXCGEkY0sQOQF1LJj2TKjUxRkZhKKTV0u18tBiVGwpnEEep4uMmjrv 6pAZUWpXIWo6IUtr4iciwHt+EN76z187tXDftYLpgZ9z+ciqc5F6ZlnriPOlmzRNU40l HW5SLwVgOIt4PMB+mHSOwreLrYnvLBONw88sPbIRGbbRsJIq2bP7kq6E3CVNjjh9OKC0 L25rF0IcJawJrpc7uMU9KkegdNWppnobik+HWzTRISOJYEvYkbwY5DSBDI+pjSHibEjV XXhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Oz80OPwm; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z124si46874225pfb.208.2019.08.13.03.25.19; Tue, 13 Aug 2019 03:25:34 -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; dkim=pass header.i=@linaro.org header.s=google header.b=Oz80OPwm; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727550AbfHMKYH (ORCPT + 99 others); Tue, 13 Aug 2019 06:24:07 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:43493 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728883AbfHMKXt (ORCPT ); Tue, 13 Aug 2019 06:23:49 -0400 Received: by mail-lj1-f196.google.com with SMTP id h15so7367071ljg.10 for ; Tue, 13 Aug 2019 03:23:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=+vEsZUSwAdb3YjNql7rDM4PtC51lwjYe4ypkHR8meNg=; b=Oz80OPwmh9X4xSAJ07288MD1guPoiHr5QzEzTKNgbbW0yOVRUE+9R2dtHoUBEsUqOh jfyncogTYoy1qjVIr3i7veHJPy5PAhWPX4InfS2/fcPCxjXha0LkuDHcKVMFu/h35tBF 7OvwwIzhLUNCmRZq/09ERQQedSeX9zk0DwXKJqoVegM8JC2G32PctQ3IReLpRJ+mKVDp HiwFTs8BXBnbAWsMmIx81qOWKhLfmDGGrY8SLnzwyu36w01+Ny16cUGqE8QmnsU/i0X2 R5hxQLuB3m6D1bKOaEPLUABe02nOxqEFSg8c9rBfkb0AJAgNkW5LPsYVtb/aWMtMnCFx +XsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=+vEsZUSwAdb3YjNql7rDM4PtC51lwjYe4ypkHR8meNg=; b=eUZxK2L5oj1+oBD0v5G7ZnRRwOJ5/ACKHAa8etKuQt9e05c7Zi4PtFuS6fwIZYwvBg 9diDKTcYCLPfCVps6Fr+hZerUs60gA1jPS+ApeEvoPbEUxYBWIKO48Zn+xj7M5CbuKvY TTXoDMiRmJQ7OZAFkxx/fIz3SDZOlSWWw7xHZgTBCJvVApJmvR50LMVtHwH6HC8VFm5H iytGo9JZCPuO3xlu5OaX185O/zNch12MSdP3tN4f4BdzjCjeAuxWx3GB7/VRtUHGoNDN d+EwCRG8hBYEDBNZ7YacOtzvL/tUvd5gMAuyC0NWgh9k4RqxCMX9FnVlXGL6rkS1AxCQ XLDA== X-Gm-Message-State: APjAAAV4J5nkdSTkZP/VrE9QS3G+/I47IMgfuYyhEwiFkHLPNm89fIVG pR7Nri/X6U80bXPNkZOG0mr5tg== X-Received: by 2002:a2e:9ad1:: with SMTP id p17mr21649917ljj.34.1565691827242; Tue, 13 Aug 2019 03:23:47 -0700 (PDT) Received: from localhost.localdomain (168-200-94-178.pool.ukrtel.net. [178.94.200.168]) by smtp.gmail.com with ESMTPSA id e87sm24796942ljf.54.2019.08.13.03.23.46 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 13 Aug 2019 03:23:46 -0700 (PDT) From: Ivan Khoronzhuk To: magnus.karlsson@intel.com, bjorn.topel@intel.com Cc: davem@davemloft.net, hawk@kernel.org, john.fastabend@gmail.com, jakub.kicinski@netronome.com, daniel@iogearbox.net, netdev@vger.kernel.org, bpf@vger.kernel.org, xdp-newbies@vger.kernel.org, linux-kernel@vger.kernel.org, Ivan Khoronzhuk Subject: [PATCH bpf-next 1/3] libbpf: add asm/unistd.h to xsk to get __NR_mmap2 Date: Tue, 13 Aug 2019 13:23:16 +0300 Message-Id: <20190813102318.5521-2-ivan.khoronzhuk@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190813102318.5521-1-ivan.khoronzhuk@linaro.org> References: <20190813102318.5521-1-ivan.khoronzhuk@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org That's needed to get __NR_mmap2 when mmap2 syscall is used. Signed-off-by: Ivan Khoronzhuk --- tools/lib/bpf/xsk.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/lib/bpf/xsk.c b/tools/lib/bpf/xsk.c index 5007b5d4fd2c..f2fc40f9804c 100644 --- a/tools/lib/bpf/xsk.c +++ b/tools/lib/bpf/xsk.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include -- 2.17.1