execve: Call preempt_enable() before error-exit
Fix "execve: fix execve with oversubscribing". Change-Id: I4de3f5d44b1703db392f3da75196faa1e12d5845 Refs: #727 Refs: #1072 Refs: #1232
This commit is contained in:
committed by
Dominique Martinet
parent
da02f76a25
commit
8521b98730
@ -2612,6 +2612,7 @@ SYSCALL_DECLARE(execve)
|
||||
sizeof(struct program_image_section) * desc->num_sections;
|
||||
|
||||
if ((ret = do_syscall(&request, ihk_mc_get_processor_id())) != 0) {
|
||||
preempt_enable();
|
||||
goto end;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user