libnvme_privsep_spawn(9) libnvme API manual libnvme_privsep_spawn(9)

libnvme_privsep_spawn - Start the privilege separation helper

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

Path of the helper binary or NULL for the installed helper
On success, the helper channel

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.

0 on success or a negative error code otherwise.

libnvme_privsep_spawn October 2026