Scroll to navigation

libnvme_privsep_spawn(2) libnvme API manual libnvme_privsep_spawn(2)

NAME

libnvme_privsep_spawn - Start the privilege separation helper

SYNOPSIS

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

ARGUMENTS

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

DESCRIPTION

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.

libnvme_privsep_spawn October 2026