---
name: "libnvme_privsep_spawn-libnvme3"
section: "2"
platform: "linux"
package: "nvme-cli"
version: "3.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/libnvme_privsep_spawn-libnvme3"
---

# libnvme\_privsep\_spawn-libnvme3(2)

Start the privilege separation helper

## NAME

libnvme\_privsep\_spawn - Start the privilege separation helper

## SYNOPSIS

**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

## 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.
