libnvme_privsep_spawn-libnvme3(2)

libnvme_privsep_spawn-libnvme32

Start the privilege separation helper

Usage

int libnvme_privsep_spawn (const char *helper , struct libnvme_privsep **psp );

Arguments

helper

Path of the helper binary or NULL for the installed helper

psp

On success, the helper channel

Overview

Starts the helper as a child process and checks that it speaks the same protocol version. The helper inherits the credentials of the caller, so call this function before dropping privileges.

Return

0 on success or a negative error code otherwise.

From nvme-cli 3.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.