CAP_DAC_OVERRIDE capability is required to access /proc/self/pagemap, but it was missing from the Linux guide, causing issues for users.
Fixes: 979bb5d493fb ("doc: add more instructions for running as non-root") Cc: sta...@dpdk.org Signed-off-by: Dmitry Kozlyuk <dmitry.kozl...@gmail.com> Reported-by: Boris Ouretskey <borisu...@gmail.com> Reported-by: Isaac Boukris <ibouk...@gmail.com> --- Mail threads: * https://inbox.dpdk.org/users/cag4aaq21hn_ogi0-gfujxvhtwu19bk634bt6ue1bpyzjrxf...@mail.gmail.com * https://inbox.dpdk.org/users/CAC-fF8ShK_n1dhPK2KwV7nRx7535simb=fn77yrzr1+fv2j...@mail.gmail.com 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..b0e123cb7e 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 <https://www.kernel.org/doc/Documentation/vm/hugetlb If the driver requires using physical addresses (PA), the executable file must be granted additional capabilities: -* ``SYS_ADMIN`` to read ``/proc/self/pagemaps`` +* ``CAP_DAC_OVERRIDE`` and ``SYS_ADMIN`` to read ``/proc/self/pagemaps`` * ``IPC_LOCK`` to lock hugepages in memory .. code-block:: console - setcap cap_ipc_lock,cap_sys_admin+ep <executable> + setcap cap_dac_override,cap_ipc_lock,cap_sys_admin+ep <executable> If physical addresses are not accessible, the following message will appear during EAL initialization:: -- 2.38.1