opencontainers / runtime-tools

OCI Runtime Tools
https://www.opencontainers.org/
Apache License 2.0
434 stars 141 forks source link

Add SELinux Check #682

Closed zhouhao3 closed 5 years ago

zhouhao3 commented 5 years ago
  1. update godeps and add go-selinux deps
  2. add selinux check in validate and runtimetest

Close #386

This is a rebase of #386

Signed-off-by: Ma Shimiao mashimiao.fnst@cn.fujitsu.com Signed-off-by: Zhou Hao zhouhao@cn.fujitsu.com

zhouhao3 commented 5 years ago

@liangchenye PTAL

liangchenye commented 5 years ago

@q384566678 I'll review it today.

liangchenye commented 5 years ago

LGTM

As commented, We need an 'invalid mount label' test case as well.

Approved with PullApprove