seccomp_api_get

Function seccomp_api_get 

Source
pub unsafe extern "C" fn seccomp_api_get() -> c_uint
Expand description

Get the current API level.

  1. Reserved.
  2. Base Level
  3. Support for TSYNC.
  4. Support for LOG.
  5. Support for KILL_PROCESS
  6. Support for NOTIFY
  7. Simultaneous support for TSYNC and NOTIFY.

Note: This function is never used by wrappers. You are expected to test the API if you want to use a particular feature.