On Tue, 15 Nov 2022 20:44:41 +
Junxiao Shi wrote:
> +static int
> +memif_set_owner_uid(const char *key __rte_unused, const char *value, void
> *extra_args)
> +{
> + uid_t *uid = (uid_t *)extra_args;
> + *uid = strtoul(value, NULL, 10);
> + return 0;
> +}
> +
> +static int
> +memi
This allows a DPDK application running with root privilege to create a
memif socket listener with non-root owner uid and gid, which can be
connected from client applications running without root privilege.
Signed-off-by: Junxiao Shi
---
doc/guides/nics/memif.rst | 2 ++
drivers/net/memi
2 matches
Mail list logo