pub unsafe extern "C" fn seccomp_notify_fd(
    ctx: const_scmp_filter_ctx
) -> c_int
Expand description

Return the notification fd from a filter that has already been loaded

  • ctx: the filter context

This returns the listener fd that was generated when the seccomp policy was loaded. This is only valid after seccomp_load() with a filter that makes use of SCMP_ACT_NOTIFY.