[dpdk-dev] [PATCH v2] eal: enable windows apps to run on non-admin users
Thomas Monjalon
thomas at monjalon.net
Tue Nov 3 21:28:22 CET 2020
28/10/2020 13:41, Burakov, Anatoly:
> On 26-Oct-20 6:44 PM, Pallavi Kadam wrote:
> > Currently, since there is no runtime directory set, the code tries to
> > create a file in C:\ which is only writable with administrator
> > privileges. As a result, if the user is not admin, the application will
> > fail.
> > So, forcing no_shconf to 1 to prevent the code having to create files in
> > the runtime directory.
> >
> > Suggested-by: Dmitry Kozlyuk <dmitry.kozliuk at gmail.com>
> > Signed-off-by: Pallavi Kadam <pallavi.kadam at intel.com>
> > Reviewed-by: Ranjit Menon <ranjit.menon at intel.com>
> > ---
> > internal_conf->in_memory = 1;
> > + internal_conf->no_shconf = 1;
>
> This is the correct way, as in-memory implies no_shconf. I would like to
> deprecate noshconf option as it's a subset of what in-memory does.
>
> Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>
Applied, thanks
More information about the dev
mailing list