1
0
mirror of https://github.com/containers/youki synced 2024-11-23 01:11:58 +01:00
youki/experiment/selinux
Hiroyuki Moriya 6dd0d7f031
Init a selinux project (#2800)
* selinux_init

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

* use_unimplemented

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

* add_explanation

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

* update

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

* use_path_instead_of_str

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

* use_thiserror

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

* use_struct

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

---------

Signed-off-by: Hiroyuki Moriya <41197469+Gekko0114@users.noreply.github.com>
2024-06-21 20:22:38 +09:00
..
src Init a selinux project (#2800) 2024-06-21 20:22:38 +09:00
Cargo.lock Init a selinux project (#2800) 2024-06-21 20:22:38 +09:00
Cargo.toml Init a selinux project (#2800) 2024-06-21 20:22:38 +09:00
README.md Init a selinux project (#2800) 2024-06-21 20:22:38 +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 (selinux)[https://github.com/opencontainers/selinux] in Rust.
Also selinux depends on xattr, but nix doesn't cover xattr function. Therefore, this PR will implement xattr in Rust.

Please import and use this project.