* 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
INFO("apparmor profile unchanged");
return 0;
}
-
tid = lxc_raw_gettid();
label_fd = lsm_process_label_fd_get(tid, on_exec);
if (label_fd < 0) {
* 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