79178517

Date: 2024-11-11 17:05:59
Score: 2.5
Natty:
Report link

Problem was in syscall function as @JhonBollinger noticed mp_parent is index of parent in mproc. So it should be

if ((child->mp_flags & IN_USE) && mproc[child->mp_parent].mp_pid == proc->mp_pid) {
                child_count++;
            }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @JhonBollinger
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Ivashchenko Matvii