From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4686542421; Thu, 19 Jan 2023 22:24:42 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D845940223; Thu, 19 Jan 2023 22:24:41 +0100 (CET) Received: from mail-ej1-f41.google.com (mail-ej1-f41.google.com [209.85.218.41]) by mails.dpdk.org (Postfix) with ESMTP id 13BC4400D5; Thu, 19 Jan 2023 22:24:41 +0100 (CET) Received: by mail-ej1-f41.google.com with SMTP id rl14so5810664ejb.2; Thu, 19 Jan 2023 13:24:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=tlYHZShe+Avw7nLwPwLUpCYsAyDivs0K6tMgbDtAvgk=; b=Ymn5ruwludMeqpqVpXMFR1mK4pywkwjEI7LNGrdou/Zfyh2pYczQf0ufox4ZFDVCmB WPJXYVTPbKweLj5oqxYg9GcBBunLJEyEEX9Tu0uCVasB+RI5u4j5BWipH0q8SWdhXkwJ aV0VxFpouXiGFei69oiSS5DlRVdYrg7ROsGdGkQcijEP8y9AA2WmmnBx2PqmVs+CwPje OVmLV3ib/eA+sPlf13Bq7ZDaLCJ5GwfL5OC6DrQ5C2Bp2NaFjOfyYhP6E32RuwkEs6KR DR0avmXzrOvWCp3l2ydFhzQ6w2etnLdTRDqet4nLHbifQCDKeaxgTrmfWRgFa1UkF0HW DcUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=tlYHZShe+Avw7nLwPwLUpCYsAyDivs0K6tMgbDtAvgk=; b=7CYrUmjcVspA3amnSZLFDvLEoXTrzeIEJkjx8vZ0b6TuxCOgZDEFOk8RWg/gb5Fy3P Zyo96Rpnbv9PtxYfqapgrXlJkpF2mQ8KTxbQI9l93dioMf0NlvmokAohQXGTWNmlHRnp Rfx7QafhaVB6MdvmkdZN9t8ABQeGTIQIk6yJz+eLU8LXOZqZcQq7LzF7Irw8O28lC+41 bYnPdTNqsaFYT4mFJaunZ4iqcQ4TCUFdXv6WZVVQWrBspn93OaHTdvMeft9287/kEkz/ ukZVTuCzj6Fz6sm0kEjHQWOEruyXFl4/IU2KMbT262YlIv/ZLbVR2/pliy+6MsElSwOc tHjw== X-Gm-Message-State: AFqh2koxZzinRyVInx/ouREF9sbCQRN3JkTcngTBE4SBDCP6tRZME/Nu v9a/s4eXC4EU87o1XBz4/+SOfIcqZHU= X-Google-Smtp-Source: AMrXdXu+Aq77ZoE2h5irgd3NxwFU5UUqgV0rRZv+8NTfd8TZ9wET7LK9qgMW9elEeqNUQEF2ftxcFw== X-Received: by 2002:a17:906:3616:b0:870:e329:5f2e with SMTP id q22-20020a170906361600b00870e3295f2emr13229619ejb.20.1674163480322; Thu, 19 Jan 2023 13:24:40 -0800 (PST) Received: from sovereign.. (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id lj1-20020a170906f9c100b0078d22b0bcf2sm16826981ejb.168.2023.01.19.13.24.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Jan 2023 13:24:39 -0800 (PST) From: Dmitry Kozlyuk To: dev@dpdk.org Cc: Dmitry Kozlyuk , stable@dpdk.org, Boris Ouretskey , Isaac Boukris , Bruce Richardson Subject: [PATCH] doc: add capability to access physical addresses Date: Fri, 20 Jan 2023 00:24:24 +0300 Message-Id: <20230119212424.460595-1-dmitry.kozliuk@gmail.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org DAC_READ_SEARCH or DAC_OVERRIDE capability is required to access /proc/self/pagemap, but the Linux guide mentioned neither one. Recommend DAC_READ_SEARCH as less impactful. Fixes: 979bb5d493fb ("doc: add more instructions for running as non-root") Cc: stable@dpdk.org Signed-off-by: Dmitry Kozlyuk Reported-by: Boris Ouretskey Reported-by: Isaac Boukris --- doc/guides/linux_gsg/enable_func.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/guides/linux_gsg/enable_func.rst b/doc/guides/linux_gsg/enable_func.rst index 829084d80e..2344d97403 100644 --- a/doc/guides/linux_gsg/enable_func.rst +++ b/doc/guides/linux_gsg/enable_func.rst @@ -55,12 +55,12 @@ Refer to the `documentation + setcap cap_dac_read_search,cap_ipc_lock,cap_sys_admin+ep If physical addresses are not accessible, the following message will appear during EAL initialization:: -- 2.38.1