test suite reviews and discussions
 help / color / Atom feed
From: Owen Hilyard <ohilyard@iol.unh.edu>
To: dts@dpdk.org, dev@dpdk.org
Cc: Lincoln Lavoie <lylavoie@iol.unh.edu>
Subject: [dts] Userspace testing
Date: Wed, 29 Jul 2020 10:34:34 -0400
Message-ID: <CAHx6DYBhdOzZRbvMUBLDCbfbsuffgqgWAHstvyD1HmP=sj4tGA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 647 bytes --]

Hello all,

I was wondering what everyone's thoughts on doing both userspace testing
and unprivileged testing of dpdk applications is. DTS currently runs all
commands on the tester and the dut as the root user. Please correct me if
I'm wrong, but I was under the assumption that most applications written
with dpdk would not run as root. This could present a problem since it is
possible that permissions errors could arise and we wouldn't notice it due
to the way we currently test. Given that, I was wondering what should and
should not be possible as a normal (non-root) user, and what would be the
best way to go about verifying this.

Thanks

[-- Attachment #2: Type: text/html, Size: 733 bytes --]

<div dir="ltr">Hello all,<div><br></div><div>I was wondering what everyone&#39;s thoughts on doing both userspace testing and unprivileged testing of dpdk applications is. DTS currently runs all commands on the tester and the dut as the root user. Please correct me if I&#39;m wrong, but I was under the assumption that most applications written with dpdk would not run as root. This could present a problem since it is possible that permissions errors could arise and we wouldn&#39;t notice it due to the way we currently test. Given that, I was wondering what should and should not be possible as a normal (non-root) user, and what would be the best way to go about verifying this. </div><div><br></div><div>Thanks</div></div>

             reply index

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-29 14:34 Owen Hilyard [this message]
     [not found] ` <c70020a2-8948-dda4-bf1f-f5c29ec151b1@intel.com>
2020-07-30 16:54   ` [dts] [dpdk-dev] " Owen Hilyard
     [not found]     ` <bbd7d9a1-09bc-3fc8-b9f1-ab9c71e6c113@intel.com>
2020-08-03 14:31       ` Owen Hilyard
2020-07-31  7:43 ` David Marchand

Reply instructions:

You may reply publically 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='CAHx6DYBhdOzZRbvMUBLDCbfbsuffgqgWAHstvyD1HmP=sj4tGA@mail.gmail.com' \
    --to=ohilyard@iol.unh.edu \
    --cc=dev@dpdk.org \
    --cc=dts@dpdk.org \
    --cc=lylavoie@iol.unh.edu \
    /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

test suite reviews and discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ http://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/ public-inbox