Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp185021pxj; Tue, 15 Jun 2021 23:30:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzx8O75QdEoBOTsSKZeWVnLgd3p1u4TBfc2YnxvSujbr9iThQ4WtdCf2rJg+kraZf9MTrz6 X-Received: by 2002:a92:d9ce:: with SMTP id n14mr2516723ilq.176.1623825020144; Tue, 15 Jun 2021 23:30:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623825020; cv=none; d=google.com; s=arc-20160816; b=aZOPHlYAcJYurard398BOkGP1CF4SS+DaTazcTZrdBAU4PEtQXMC6WLieUS6fQHe25 yOS9ZjZ1TEr/tiBOXOAJMRquaQVu+Yjjf5Ivo7Phz2g6kfxBa45X7PlJQRJuCifY8jW6 txfJBEHESxPvCXZcaaL6riMyYQ67wtRo5/hB+xXrNL9tBkpGq643zeH5GEZ/ztvWez7d PjdQeJsiLOx+pjzk3PPTiT1VR+jR5f0noN/FyX2OQrrLqKB+ASaX/yCIjdBdbYvTBkRy BybSrjLPSnF8fpuIZdhi3fCFeU8qYD/LRu3BQWoL5T9e+cKLwasEwTQedqxdket5uHyH ZDYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=o5HUtvtAkHWauXib4kIdf1Mt7Zz4v5ssk1LWoUQI+EA=; b=blRT0qVIw6ChHlbWfbfjepfdEJwHYuxsvCH8YSdiNZjQwmRbuZiYs8YDs6yq86QzhC 3GCZMa9IxQNUjdoBhUb+GrO6I6pcpmNm11omajck0yahrF+wY0lGlfTAaZpagjOOwJAH eab3DJh/mwSp1hLLro69jpDPzDQglqfAxQ4xKlaQsM4nXTTm6Lf+pXI/cUw+6UbQK1yJ CiYMyKI4PeguxVwoHG237Df2MIx1O4Cg8JFT1Sf0al6bjti9MZ/PvkW9D7DxlLajItNX YAWkSWXrABXuyk6mr0Z4dZLYI7f+rbbCuP20O5ZIQkjG2qKW2+EGLaK7TF0WWUKUKT2l 623Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cvf48LwF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t16si1275719iom.8.2021.06.15.23.30.08; Tue, 15 Jun 2021 23:30:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cvf48LwF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231604AbhFPGad (ORCPT + 99 others); Wed, 16 Jun 2021 02:30:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:59906 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231481AbhFPG3y (ORCPT ); Wed, 16 Jun 2021 02:29:54 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E0EC3613DC; Wed, 16 Jun 2021 06:27:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1623824868; bh=TBS6JoAxPmOD9dx9GzeTj3rbPrTu3AsIuW9k8qlWnzU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cvf48LwFRDgIKhclCtr3FEhmUOggvXofz9CCdHQx+jkk1DsZU88KPa2K02jfFJdmX ZnjjYQi5XeedFfmI2YJnM3qIcYkSsPFaRwyNSTnYqVH/wzsXbopt388skz2FHQ0pOJ 6yObsuhaidcj3nLZJBeVVr8b7DEqWxax/HxEaK+dQv4Nt9aupErg/RIaLlWPzfAeOz ULynHSIpC3JsEtI20GSQSrCud5Jt4pX5wKI5OxoLKE4NqkK1wcPZx1bpFqiZjJqVfJ tn/gilM5g5C8nVZMU8PWQhHIGu0A5NFipdro3QdQVBuC2lKm2jdfdkVY7AsMpAapAG xqqYp4741lazQ== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1ltP1e-004kIk-65; Wed, 16 Jun 2021 08:27:46 +0200 From: Mauro Carvalho Chehab To: Jonathan Corbet , Linux Doc Mailing List Cc: Mauro Carvalho Chehab , Alexei Starovoitov , Andrii Nakryiko , Brendan Jackman , Daniel Borkmann , Florent Revest , John Fastabend , KP Singh , Martin KaFai Lau , Song Liu , Yonghong Song , bpf@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH v2 07/29] docs: bpf: bpf_lsm.rst: avoid using ReST :doc:`foo` markup Date: Wed, 16 Jun 2021 08:27:22 +0200 Message-Id: X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The :doc:`foo` tag is auto-generated via automarkup.py. So, use the filename at the sources, instead of :doc:`foo`. Signed-off-by: Mauro Carvalho Chehab --- Documentation/bpf/bpf_lsm.rst | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Documentation/bpf/bpf_lsm.rst b/Documentation/bpf/bpf_lsm.rst index 1c0a75a51d79..0dc3fb0d9544 100644 --- a/Documentation/bpf/bpf_lsm.rst +++ b/Documentation/bpf/bpf_lsm.rst @@ -20,10 +20,10 @@ LSM hook: Other LSM hooks which can be instrumented can be found in ``include/linux/lsm_hooks.h``. -eBPF programs that use :doc:`/bpf/btf` do not need to include kernel headers -for accessing information from the attached eBPF program's context. They can -simply declare the structures in the eBPF program and only specify the fields -that need to be accessed. +eBPF programs that use Documentation/bpf/btf.rst do not need to include kernel +headers for accessing information from the attached eBPF program's context. +They can simply declare the structures in the eBPF program and only specify +the fields that need to be accessed. .. code-block:: c @@ -88,8 +88,9 @@ example: The ``__attribute__((preserve_access_index))`` is a clang feature that allows the BPF verifier to update the offsets for the access at runtime using the -:doc:`/bpf/btf` information. Since the BPF verifier is aware of the types, it -also validates all the accesses made to the various types in the eBPF program. +Documentation/bpf/btf.rst information. Since the BPF verifier is aware of the +types, it also validates all the accesses made to the various types in the +eBPF program. Loading ------- -- 2.31.1