bug

http://blog.csdn.net/g9yuayon/category/22978.aspx

1.reactos0.3.0/ntoskrnl/ke/apc.c
1070 static
1071 ( Original,
1072 ,
1073 Mode)
===============>
1070 static
1071 ( ,
1072 Original,
1073 Mode)

2.reactos0.3.0/dll/ntdll/ldr/utils.c1754 if (WrongForwarder ||
1755 ImportedModule->Flags & )
==============>
1754 if (WrongForwarder &&
1755 ImportedModule->Flags & )



3.unifiedkernel/kernel/mm/mmap.c
1169 if (!(flags & MAP_FIXED)) {
1170 if ( > TASK_SIZE)
1171 return -ENOMEM;
……
MAP_FIXED的情况没有考虑



4.unifiedkernel/module/ps/thread.c
321 write_lock(&process->ep_lock);
322 thread->threads_process = process;
323 write_unlock(&process->ep_lock);

340 thread->threads_process = process;
前后重复,是否考虑加锁?

342 list_add_tail(&thread->thread_list_entry, &process->thread_list_head);

346 (&thread->tcb, process);
重复操作:list_add_tail(&thread->thread_list_entry, &process->thread_list_head);



5.unifiedkernel/module/ps/process.c
279 (child_ethread, child_eprocess, child_task);
282 (child_ethread->et_task, child_ethread);
重复操作: (child_ethread->et_task, child_ethread);