From: Marcos Paulo de Souza Date: Wed, 7 Feb 2018 15:06:43 +0000 (-0200) Subject: lsm: fix missing @ in function documentation X-Git-Tag: lxc-2.0.10~346 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b98ba20e41ae67dcf2a1a17b306cd7470db85b75;p=thirdparty%2Flxc.git lsm: fix missing @ in function documentation Signed-off-by: Marcos Paulo de Souza --- diff --git a/src/lxc/lsm/apparmor.c b/src/lxc/lsm/apparmor.c index 773c9c717..d21b3d224 100644 --- a/src/lxc/lsm/apparmor.c +++ b/src/lxc/lsm/apparmor.c @@ -162,8 +162,8 @@ static bool aa_needs_transition(char *curlabel) * apparmor_process_label_set: Set AppArmor process profile * * @label : the profile to set - * @conf : the container configuration to use @label is NULL - * @default : use the default profile if label is NULL + * @conf : the container configuration to use if @label is NULL + * @default : use the default profile if @label is NULL * @on_exec : this is ignored. Apparmor profile will be changed immediately * * Returns 0 on success, < 0 on failure @@ -230,7 +230,6 @@ static int apparmor_process_label_set(const char *inlabel, struct lxc_conf *conf INFO("apparmor profile unchanged"); return 0; } - tid = lxc_raw_gettid(); label_fd = lsm_process_label_fd_get(tid, on_exec); if (label_fd < 0) { diff --git a/src/lxc/lsm/selinux.c b/src/lxc/lsm/selinux.c index 21833748b..bd6541cfa 100644 --- a/src/lxc/lsm/selinux.c +++ b/src/lxc/lsm/selinux.c @@ -65,8 +65,8 @@ static char *selinux_process_label_get(pid_t pid) * selinux_process_label_set: Set SELinux context of a process * * @label : label string - * @conf : the container configuration to use @label is NULL - * @default : use the default context if label is NULL + * @conf : the container configuration to use if @label is NULL + * @default : use the default context if @label is NULL * @on_exec : the new context will take effect on exec(2) not immediately * * Returns 0 on success, < 0 on failure