Operating systems and hardware 0/198

Operating systems and hardware

Processes and system calls

What a process is, fork and exec, signals, pipes and the system calls a program makes to the kernel. Questions about what happens when you run a command start here.

0 / 24 solved

Questions

0/24 solved
Question Module Tags Difficulty Success
1. Ready Not Running Process Creation & Lifecycle
process-statesblocking-io +2
Medium 73%
2. Still In The Table Process Creation & Lifecycle
zombie-processwait +2
Medium 60%
3. fork() and File Descriptors Process Creation & Lifecycle
forkfile_descriptors +2
Medium 62%
4. Why fork() then exec() Process Creation & Lifecycle
forkexec +3
Medium 72%
5. Who Adopts The Orphans Process Creation & Lifecycle
orphan-processreparenting +2
Medium 47%
6. One File Two Writers Process Creation & Lifecycle
forkfile-descriptors +2
Medium 50%
7. Changing Seats Process Creation & Lifecycle
Operating SystemsConcurrency
Medium 23%
8. Only The Child Loops Process Creation & Lifecycle
forkprocess-tree +2
Medium 56%
9. Ten Thousand Defunct Workers Process Creation & Lifecycle
zombie-processsigchld +2
Medium 37%
10. What Survives The Exec Process Creation & Lifecycle
execvefile-descriptors +2
Medium 19%
11. Buffer Lost To Exec Process Creation & Lifecycle
forkexec +2
Hard 67%
12. Hiding In The Buffer Process Creation & Lifecycle
forkstdio-buffering +2
Hard 41%
13. Forty Gigabytes To Spawn Process Creation & Lifecycle
forkposix-spawn +2
Hard 50%
14. Signals IPC & System Calls
signalssigint +3
Medium 70%
15. IPC Mechanism Comparison IPC & System Calls
shared_memorypipes +2
Medium 79%
16. Cross the Wall IPC & System Calls
Operating Systems
Medium 28%
17. Sync up IPC & System Calls
Operating Systems
Medium 70%
18. I/O Redirection IPC & System Calls
dup2redirection +3
Medium 87%
19. Safe Inside The Handler IPC & System Calls
async-signal-safesignal-handler +2
Medium 32%
20. Nobody On The Other End IPC & System Calls
fifonamed-pipe +2
Medium 69%
21. The Missing EOF IPC & System Calls
pipeeof +2
Medium 67%
22. The Handler Ate Errno IPC & System Calls
signal-handlererrno +2
Hard 60%
23. Half A Message Left IPC & System Calls
epolledge-triggered +2
Hard —
24. Three Before One IPC & System Calls
dup2file-offset +2
Hard 33%