1
0
mirror of https://github.com/containers/youki synced 2024-11-26 14:13:49 +01:00
Commit Graph

13 Commits

Author SHA1 Message Date
sat0ken
0c1d5e351f
Add unittest to expertiment seccomp programs (#2956)
* add test code

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>

* separate unittest code by arch

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>

* rm blank line

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>

---------

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>
2024-10-22 21:29:21 +09:00
sat0ken
eaaca64fe4
seccomp: Update experiment seccomp program (#2946)
Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>
2024-10-13 13:53:29 +09:00
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
moriya
35b94e4aaa generic/centos8
Signed-off-by: moriya <41197469+Gekko0114@users.noreply.github.com>
2024-09-20 22:42:25 +09:00
moriya
5ba6ac34b7 Create vagrantfile for SELinux
Signed-off-by: moriya <41197469+Gekko0114@users.noreply.github.com>
2024-09-20 22:42:25 +09:00
Hiroyuki Moriya
c7d5992c01
selinux: implemented remaining selinux functions (#2850)
* added selinux functions

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

* not use arc

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

* follow reviewer comment

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

* divided selinux impl into two files

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

* fix

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

* fix

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

* fix

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

* use SELinuxLabel struct

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

* use pointer instead of clone

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

* not loop

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

* add main.rs

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

---------

Signed-off-by: Hiroyuki Moriya <41197469+Gekko0114@users.noreply.github.com>
2024-08-16 21:25:52 +09:00
Keisuke Umegaki
5b62356e37
Fix markdown format in experiment/selinux/README.md (#2855) 2024-07-22 20:43:16 +09:00
Hiroyuki Moriya
ec2b332fff
xattr (#2825)
Signed-off-by: Hiroyuki Moriya <41197469+Gekko0114@users.noreply.github.com>
2024-07-10 06:49:00 +09:00
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
utam0k
61adda616e
seccomp: Add a case for checking arguments
Signed-off-by: utam0k <k0ma@utam0k.jp>
2024-04-29 21:40:22 +09:00
Toru Komatsu
32e021e1e9
seccomp: Use offset_of! (#2763)
* seccomp: Use offset_of!

Signed-off-by: utam0k <k0ma@utam0k.jp>

* Update experiment/seccomp/src/instruction/consts.rs

Co-authored-by: Yashodhan <54112038+YJDoc2@users.noreply.github.com>

---------

Signed-off-by: utam0k <k0ma@utam0k.jp>
Co-authored-by: Yashodhan <54112038+YJDoc2@users.noreply.github.com>
2024-04-18 18:01:14 +05:30
Toru Komatsu
d88b681ffe
Make our codespaces more useful (#2753)
* Add some useful tools into our devcontainer

Signed-off-by: utam0k <k0ma@utam0k.jp>

* Update Quick Start in README

Signed-off-by: utam0k <k0ma@utam0k.jp>

* Simplify installing just

Signed-off-by: utam0k <k0ma@utam0k.jp>

---------

Signed-off-by: utam0k <k0ma@utam0k.jp>
2024-04-11 20:31:44 +05:30
Toru Komatsu
13d791b8e1
Init a seccomp project (#2729)
* Init a seccomp project

Signed-off-by: utam0k <k0ma@utam0k.jp>

* Make gen_validation a static method

Signed-off-by: utam0k <k0ma@utam0k.jp>

---------

Signed-off-by: utam0k <k0ma@utam0k.jp>
2024-04-04 21:32:39 +09:00