提交 861b8b00 编写于 作者: W wujing

selinux context configuration item change adaptation

Signed-off-by: Nwujing <wujing50@huawei.com>
上级 5f7d7f1b
......@@ -5,7 +5,7 @@ include(cmake/set_build_flags.cmake)
option(VERSION "set lcr version" ON)
if (VERSION STREQUAL "ON")
set(LCR_VERSION "1.0.19")
set(LCR_VERSION "1.0.20")
endif()
option(DEBUG "set lcr gcc option" ON)
......
%global _version 1.0.19
%global _release 20200121.043807.gita1f42840
%global _version 1.0.20
%global _release 20200215.125545.git330d8cda
Name: lcr
Version: %{_version}
Release: %{_release}
......
......@@ -627,7 +627,7 @@ static int trans_oci_process_selinux(const oci_runtime_spec_process *proc, struc
int ret = -1;
if (proc->selinux_label != NULL) {
node = create_lcr_list_node("lxc.se_context", proc->selinux_label);
node = create_lcr_list_node("lxc.selinux.context", proc->selinux_label);
if (node == NULL) {
goto out;
}
......
......@@ -240,7 +240,7 @@ static int trans_hostname_hooks_process_mounts(struct lcr_list *lcr_conf, const
* lxc.cap.{drop/keep}
* lxc.limit.*
* lxc.aa_profile
* lxc.se_context
* lxc.selinux.context
*/
node = trans_oci_process(container->process);
if (node == NULL) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册