From: Long Wang Date: Wed, 12 Jul 2017 01:58:35 +0000 (+0800) Subject: doc: s/se_context/selinux.context/g X-Git-Tag: lxc-2.1.0~49^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b84702ab432bd44f6d5a649eb0b7a6263ba44d19;p=thirdparty%2Flxc.git doc: s/se_context/selinux.context/g Signed-off-by: Long Wang --- diff --git a/config/selinux/lxc.te b/config/selinux/lxc.te index 4ecb9db78..bb4bfe3a8 100644 --- a/config/selinux/lxc.te +++ b/config/selinux/lxc.te @@ -7,7 +7,7 @@ # semodule -i lxc.pp # # In your container's lxc config: -# lxc.se_context = system_u:system_r:lxc_t:s0:c62,c86,c150,c228 +# lxc.selinux.context = system_u:system_r:lxc_t:s0:c62,c86,c150,c228 # # Ensure your container's rootfs files are labeled: # chcon -R system_u:object_r:lxc_file_t:s0:c62,c86,c150,c228 /path/to/rootfs diff --git a/doc/ja/lxc.container.conf.sgml.in b/doc/ja/lxc.container.conf.sgml.in index 54616b692..93adae36d 100644 --- a/doc/ja/lxc.container.conf.sgml.in +++ b/doc/ja/lxc.container.conf.sgml.in @@ -1764,7 +1764,7 @@ by KATOH Yasufumi - + @@ -1774,7 +1774,7 @@ by KATOH Yasufumi --> コンテナが従うべき SELinux コンテキストを指定するか、unconfined_t を指定します。例えば以下のように設定します。 - lxc.se_context = system_u:system_r:lxc_t:s0:c22 + lxc.selinux.context = system_u:system_r:lxc_t:s0:c22 diff --git a/doc/ko/lxc.container.conf.sgml.in b/doc/ko/lxc.container.conf.sgml.in index 49077b709..76c3655d7 100644 --- a/doc/ko/lxc.container.conf.sgml.in +++ b/doc/ko/lxc.container.conf.sgml.in @@ -1704,7 +1704,7 @@ proc proc proc nodev,noexec,nosuid 0 0 - + @@ -1714,7 +1714,7 @@ proc proc proc nodev,noexec,nosuid 0 0 --> 컨테이너가 따라야할 SELinux 컨텍스트를 지정하거나, unconfined_t를 지정할 수 있다. 예를 들어 아래와 같이 지정 가능하다. - lxc.se_context = system_u:system_r:lxc_t:s0:c22 + lxc.selinux.context = system_u:system_r:lxc_t:s0:c22 diff --git a/doc/lxc.container.conf.sgml.in b/doc/lxc.container.conf.sgml.in index 287c8b9fe..f3b594ea0 100644 --- a/doc/lxc.container.conf.sgml.in +++ b/doc/lxc.container.conf.sgml.in @@ -1278,14 +1278,14 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - + Specify the SELinux context under which the container should be run or unconfined_t. For example - lxc.se_context = system_u:system_r:lxc_t:s0:c22 + lxc.selinux.context = system_u:system_r:lxc_t:s0:c22 diff --git a/src/tests/attach.c b/src/tests/attach.c index 985cea03b..02c221e1a 100644 --- a/src/tests/attach.c +++ b/src/tests/attach.c @@ -51,7 +51,7 @@ static void test_lsm_detect(void) { if (lsm_enabled()) { if (!strcmp(lsm_name(), "SELinux")) { - lsm_config_key = "lxc.se_context"; + lsm_config_key = "lxc.selinux.context"; lsm_label = "unconfined_u:unconfined_r:lxc_t:s0-s0:c0.c1023"; } else if (!strcmp(lsm_name(), "AppArmor")) {