Crate sudo_plugin [] [src]

description = "Macros to simplify writing sudo plugins"

TODO: explain

Re-exports

pub extern crate sudo_plugin_sys;
pub use self::plugin::*;

Modules

errors

The collection of Error types used by this library.

macros

Macros to simplify the process of correctly wiring up a sudo plugin.

plugin

Utilities for wrapping sudo plugins and the values they're configured with.

sys

This crate is a (lighly enhanced) set of bindgen-generated Rust FFI bindings for the sudo_plugin(8) facility. In general, it is expected that end-users will prefer to use the handcrafted Rust wrappers from the sudo_plugin crate which accompanies this project.

Macros

sudo_io_fn
sudo_io_plugin

Emits the boilerplate stanza for creating and initializing a custom sudo I/O plugin.

sudo_io_static_fn