pub unsafe extern "C" fn seccomp_notify_alloc(
    req: *mut *mut seccomp_notif,
    resp: *mut *mut seccomp_notif_resp
) -> c_int
Expand description

Allocate a pair of notification request/response structures

  • req: the request location
  • resp: the response location

This function allocates a pair of request/response structure by computing the correct sized based on the currently running kernel. It returns zero on success, and negative values on failure.