Crates.io | linux-sed-opal-sys |
lib.rs | linux-sed-opal-sys |
version | 0.1.1 |
source | src |
created_at | 2023-12-02 21:27:48.782148 |
updated_at | 2023-12-02 21:34:59.18415 |
description | FFI bindings to linux sed-opal UAPI (linux/sed-opal.h) |
homepage | |
repository | |
max_upload_size | |
id | 1056391 |
size | 7,717 |
linux-sed-opal-sys
Low-level Rust bindings to the linux/sed-opal.h
UAPI header.
As Linux extends the list of available ioctls time to time, linux-sed-opal-sys
allows
you to specify the Linux version you want to create ioctl wrappers for
using its feature flags.
For example, to support the ioctls available in Linux 6.3, specify
features = [ "linux_6_1" ]
which is the feature flag with the next lower version number.
The lowess supported version of Linux is 6.0.
linux-sed-opal-sys uses the Linux headers of your system to build its wrapper. Whether they should be vendored or something is open for discussion.