uti: util_indicate_clone: check --enable-uti mcexec option
Change-Id: Ic7474d01c18acd1edbc07844d7a7b010b2175f71
This commit is contained in:
@@ -10722,6 +10722,12 @@ SYSCALL_DECLARE(util_indicate_clone)
|
||||
struct thread *thread = cpu_local_var(current);
|
||||
struct uti_attr *kattr = NULL;
|
||||
|
||||
if (!thread->proc->enable_uti) {
|
||||
kprintf("%s: error: --enable-uti mcexec option not specified\n",
|
||||
__func__);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
if (mod != SPAWN_TO_LOCAL &&
|
||||
mod != SPAWN_TO_REMOTE)
|
||||
return -EINVAL;
|
||||
|
||||
Reference in New Issue
Block a user