1
0
mirror of https://github.com/containers/youki synced 2024-11-23 01:11:58 +01:00
youki/experiment/selinux
Hiroyuki Moriya ab6c0740ed
selinux: fix xattr and remove anyhow (#2936)
* fix_xattr

Signed-off-by: Hiroyuki Moriya <41197469+Gekko0114@users.noreply.github.com>

* fix

Signed-off-by: Hiroyuki Moriya <41197469+Gekko0114@users.noreply.github.com>

---------

Signed-off-by: Hiroyuki Moriya <41197469+Gekko0114@users.noreply.github.com>
2024-09-29 18:07:54 +05:30
..
src selinux: fix xattr and remove anyhow (#2936) 2024-09-29 18:07:54 +05:30
Cargo.lock selinux: fix xattr and remove anyhow (#2936) 2024-09-29 18:07:54 +05:30
Cargo.toml selinux: fix xattr and remove anyhow (#2936) 2024-09-29 18:07:54 +05:30
README.md Create vagrantfile for SELinux 2024-09-20 22:42:25 +09:00
Vagrantfile generic/centos8 2024-09-20 22:42:25 +09:00

This is an experimental project in order to create selinux library in Rust.
Ref: https://github.com/containers/youki/issues/2718.
Reimplementation of opencontainers/selinux in Rust.
Also selinux depends on xattr, but nix doesn't cover xattr function. Therefore, this PR will implement xattr in Rust.
Referenced the implementation of xattr in unix repo.

Please import and use this project.

$ cargo run

You can create an selinux environment via the Vagrantfile.

$ vagrant up