Crate sentry_uapi

Crate sentry_uapi 

Source
Expand description

github


sentry_uapi is the user API library that delivers a full access to the Sentry kernel interface. This crate aim to be used by any Outpost-OS Rust application.

-Data types — Sentry_uapi provices a complete set of data types and values that are required in order to properly exchange informations with the Sentry kernel. All the data types are stored in the systypes public module.

-Sentry syscalls — Syscall are defined in a two layers way. The bare syscalls are implemented in the syscall module, while the upper, easy interface is out of the scope of this very crate, and written in the shield crate instead.

Modules§

ffi_c
Sentry UAPI C export interface module
syscall
Sentry kernel low level syscall implementation
systypes
Sentry kernelspace/userspace shared types and values

Traits§

SentryExchangeable
Sentry exchangeable opaque trait, only defined for systypes defined types

Functions§

copy_from_kernel
Copy a given generic type from the kernel exchange zone to the given mutable reference
copy_to_kernel
Copy a given generic type to the kernel exchange zone from the given eference copy to kernel generic implementation