From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 01CD9A052B; Wed, 29 Jul 2020 16:35:13 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B5BC21BFF4; Wed, 29 Jul 2020 16:35:12 +0200 (CEST) Received: from mail-ot1-f48.google.com (mail-ot1-f48.google.com [209.85.210.48]) by dpdk.org (Postfix) with ESMTP id A496EE07 for ; Wed, 29 Jul 2020 16:35:10 +0200 (CEST) Received: by mail-ot1-f48.google.com with SMTP id 93so7475327otx.2 for ; Wed, 29 Jul 2020 07:35:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; h=mime-version:from:date:message-id:subject:to:cc; bh=hZBOXWWFJaOi+BWvhfNB4bQn/dLSs4FQpNKGXMgfRPk=; b=hjtyMcfhIKsUI4YuI18P3s2LYz+gZRrrCYW7lDIBlyPyhKT3NpaEFA+mRlnrtZK0yO eqzTCwqVmBJAmZeAev6dWC72AHtT8CD2Vhg1Bz4wtoA7n2G7XVJ0fSKaE9V94g9+tsNY RVco03JLpwvRDRG7vqjKGfHM7H9E1hb8dGOYY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=hZBOXWWFJaOi+BWvhfNB4bQn/dLSs4FQpNKGXMgfRPk=; b=kb0Y7BmQN72Wrgqj48q4tKaV628hBPVFGEwAZ/cnxEdf7ik3ToLoKGp+znjk8e8nvq rVsx3szNsde6xS/5weHmLKLrvgZJ6p+UeSIpBxN+kmyaFOAKOG6Ip2HnbIg3tc8w0eWj dEfpDweU+GLNHLCpuLb/IiMJgzYfmGKCxrAUA3DXHFLmLAtK1bRpEGd9HKec53WARx84 IZ1OMLDRgv4ViKxI0ICHpNKDkEXe/oEUAPu2O9voo//hsyVwM1dkHfgs6ChyUo3K1xC7 kvEp/4pP6rEZjwmAv6TwiBEhTdZ/+hZFEEFy3NO6Z/xQTnDku/W9bsaq3BhrVRXe//xk T9EQ== X-Gm-Message-State: AOAM530pQmqRGxI1362/5Ez8BQLgQYhyhzda/lL222daGVyHgIWC3N8V MqJTtHDQIa6BIVtwzqV+0KJO0mhnJDPIBUWHEEkIhpXS X-Google-Smtp-Source: ABdhPJwL1rclmvy7RNN+DGzi9f/8rYJ2ToCUus/xNQ/eLk6Z0QkLgAv6V0Fl9zFCLUAl503PatmDV45IW51/evnSMMI= X-Received: by 2002:a9d:6ac3:: with SMTP id m3mr28119463otq.222.1596033309662; Wed, 29 Jul 2020 07:35:09 -0700 (PDT) MIME-Version: 1.0 From: Owen Hilyard Date: Wed, 29 Jul 2020 10:34:34 -0400 Message-ID: To: dts@dpdk.org, dev@dpdk.org Cc: Lincoln Lavoie Content-Type: multipart/alternative; boundary="00000000000078f7db05ab9576a7" Subject: [dts] Userspace testing X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" --00000000000078f7db05ab9576a7 Content-Type: text/plain; charset="UTF-8" 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 --00000000000078f7db05ab9576a7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello all,

I was wondering what everyon= e's thoughts=C2=A0on doing both userspace testing and unprivileged=C2= =A0testing 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, bu= t 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 pe= rmissions errors could arise and we wouldn't notice it due to the way w= e 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.=C2=A0

Thanks
--00000000000078f7db05ab9576a7--