Skip to content

Commit

Permalink
doc: s/se_context/selinux.context/g
Browse files Browse the repository at this point in the history
Signed-off-by: Long Wang <w@laoqinren.net>
  • Loading branch information
0x0916 committed Jul 12, 2017
1 parent a1d5fdf commit b84702a
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion config/selinux/lxc.te
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions doc/ja/lxc.container.conf.sgml.in
Expand Up @@ -1764,7 +1764,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
<variablelist>
<varlistentry>
<term>
<option>lxc.se_context</option>
<option>lxc.selinux.context</option>
</term>
<listitem>
<para>
Expand All @@ -1774,7 +1774,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
-->
コンテナが従うべき SELinux コンテキストを指定するか、<command>unconfined_t</command> を指定します。例えば以下のように設定します。
</para>
<programlisting>lxc.se_context = system_u:system_r:lxc_t:s0:c22</programlisting>
<programlisting>lxc.selinux.context = system_u:system_r:lxc_t:s0:c22</programlisting>
</listitem>
</varlistentry>
</variablelist>
Expand Down
4 changes: 2 additions & 2 deletions doc/ko/lxc.container.conf.sgml.in
Expand Up @@ -1704,7 +1704,7 @@ proc proc proc nodev,noexec,nosuid 0 0
<variablelist>
<varlistentry>
<term>
<option>lxc.se_context</option>
<option>lxc.selinux.context</option>
</term>
<listitem>
<para>
Expand All @@ -1714,7 +1714,7 @@ proc proc proc nodev,noexec,nosuid 0 0
-->
컨테이너가 따라야할 SELinux 컨텍스트를 지정하거나, <command>unconfined_t</command>를 지정할 수 있다. 예를 들어 아래와 같이 지정 가능하다.
</para>
<programlisting>lxc.se_context = system_u:system_r:lxc_t:s0:c22</programlisting>
<programlisting>lxc.selinux.context = system_u:system_r:lxc_t:s0:c22</programlisting>
</listitem>
</varlistentry>
</variablelist>
Expand Down
4 changes: 2 additions & 2 deletions doc/lxc.container.conf.sgml.in
Expand Up @@ -1278,14 +1278,14 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
<variablelist>
<varlistentry>
<term>
<option>lxc.se_context</option>
<option>lxc.selinux.context</option>
</term>
<listitem>
<para>
Specify the SELinux context under which the container should
be run or <command>unconfined_t</command>. For example
</para>
<programlisting>lxc.se_context = system_u:system_r:lxc_t:s0:c22</programlisting>
<programlisting>lxc.selinux.context = system_u:system_r:lxc_t:s0:c22</programlisting>
</listitem>
</varlistentry>
</variablelist>
Expand Down
2 changes: 1 addition & 1 deletion src/tests/attach.c
Expand Up @@ -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")) {
Expand Down

0 comments on commit b84702a

Please sign in to comment.