Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1893559pxj; Sat, 5 Jun 2021 06:21:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzOs9vB/lQbCzReqr85BiXFVJepy/D2h8zI/5cE4Zg1CrLHoIMWav82cp68wf7RrW3scgm7 X-Received: by 2002:a17:906:8810:: with SMTP id zh16mr9038451ejb.268.1622899273493; Sat, 05 Jun 2021 06:21:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622899273; cv=none; d=google.com; s=arc-20160816; b=xE00lYbgco9zGL0IaRez3J9F1L2WJVnrhq63jcADos+R8Uaj2aUXLzP8ViguHl4KQm znFpc5Q78srODfNhCpzGXpm8ZLXMXJYNPG+9APCfXTZnGiyoVZbEc03aFP3qHqK6t8AG 7mId+DAhP0w4GJN9JNvISEcr4Zq7NLt/eDrHwe/qrf0qYVtlAzJDyxjQYJ+Sfa74X/ue Mf2fBDV+sgAAE2l1KD91C4iyjlwOsvRtC33kQ0096FItHUikUYsieof3yJ8wd+URJZYG dVNaXiUlNXL1XRWQ3ld1XmfRVPKJa5I/hB+jDduPLaZw3/ex51tvJj/nyRQmObtnqb40 LCBA== 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=t/EyRF3a0Gm0a2D6rlVg03CN6QmZLo/SWYhBThG3AaqLtFF3oM0Ttg61jUkbpoLjby l17ukg5V0XpNe3O3Fa37ym3nalHNq6unjrciyYWh8kpeRibUmEqBLr5wE4wOy5IRBlE8 KhjxLP65tnlyakvmojPMjo+NPtGynqANu4LyXC5nHGqrRDHCcJl0GchOLBuvAwuYiYs+ DKFSwGvP4w2yPtnCzdDkb2j7bO0T7m8MUwu6GjdvPgd+aS0gSOIB0sSOqYBGj1TaG1kL Ey5pOIU3bUMBWF+QaGLJn4xdotYml4Uuvz5P9LmKcg3sQfxanyg2xduxM5vFrlzi6wNP B2eQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=be7GRwMB; 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 k4si6951698eds.218.2021.06.05.06.20.34; Sat, 05 Jun 2021 06:21:13 -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=be7GRwMB; 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 S230322AbhFENUk (ORCPT + 99 others); Sat, 5 Jun 2021 09:20:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:35038 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230029AbhFENUZ (ORCPT ); Sat, 5 Jun 2021 09:20:25 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 88F3961408; Sat, 5 Jun 2021 13:18:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1622899117; bh=TBS6JoAxPmOD9dx9GzeTj3rbPrTu3AsIuW9k8qlWnzU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=be7GRwMB8z4uvJGHXiovODyFjICco4VKZLeIBW91i+IBt6MH3Ra5hWzecpGYk2Ow3 WlHxa+DbW6mm2qI0VzmczqpRYOqlgAcg+gcoULNR0zp0Aiiz19niZuyn4PKra/I0F4 KPrJajcdeJKG4RGD4N9dhy+bnDRvTfkQftxfUxwcvfvSRHo3Zrnz8Ev+XLskNdlbiV o06OJNZQOCHHMK+K+4OFJL9fACsb988O+R1SgOYAzD6pkX+ZIldHIbhSfTwOLf8+9e KwaKGtnXti3V6CajH4ACTXkn1X1WXYhfwD+SPtQNEgVl083Npx2jcCyFJLy068uyaD Ue4R6EhfnQliA== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1lpWCB-008GFB-Nm; Sat, 05 Jun 2021 15:18:35 +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 11/34] docs: bpf: bpf_lsm.rst: avoid using ReSt :doc:`foo` markup Date: Sat, 5 Jun 2021 15:18:10 +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