DPDK usage discussions
 help / color / mirror / Atom feed
From: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
To: Boris Ouretskey <borisusun@gmail.com>
Cc: users@dpdk.org
Subject: Re: Issue setting up the DPDK development with non-privileged user
Date: Wed, 31 Aug 2022 19:01:58 +0300	[thread overview]
Message-ID: <20220831190158.44dd76de@sovereign> (raw)
In-Reply-To: <CAG4AAQ21hn_Ogi0-gfUjXVhtWU19Bk634BT6Ue1bpYZjRXFJjg@mail.gmail.com>

Hi Boris,

1. Tests on Ubuntu 20.04 kernel 5.4.0-96-generic
   show that CAP_DAC_OVERRIDE is missing from the list.
   Unfortunately, this capability guards quite a lot.

2. If the process lack privileges,
   it will see /proc/self/pagemap zero-filled.

I assume you understand that using physical addresses
allows to effectively bypass any OS restrictions.

Please tell if CAP_DAC_OVERRIDE helps, I will update the doc.

  reply	other threads:[~2022-08-31 16:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-31 14:10 Boris Ouretskey
2022-08-31 16:01 ` Dmitry Kozlyuk [this message]
2022-09-01 12:52   ` Boris Ouretskey
2022-09-01 14:42     ` Dmitry Kozlyuk
2022-09-01 19:26       ` Dmitry Kozlyuk
2022-09-02 14:31         ` Dmitry Kozlyuk
2022-09-03 18:18           ` Boris Ouretskey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220831190158.44dd76de@sovereign \
    --to=dmitry.kozliuk@gmail.com \
    --cc=borisusun@gmail.com \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).