Commit 6f16e5d
committed
libcrun: document vfork shared error
There are examples in the source code where the vfork parent
process reuses an error created by the vfork child process.
Document that there is no need to create an
error in the parent process in such cases.
Related issue:
containers#2015
Amended the suggestion from gemini-code-assist in
containers#2018
with some modifications.
Signed-off-by: Erik Sjölund <erik.sjolund@gmail.com>1 parent 94fda0b commit 6f16e5d
2 files changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6216 | 6216 | | |
6217 | 6217 | | |
6218 | 6218 | | |
| 6219 | + | |
| 6220 | + | |
6219 | 6221 | | |
6220 | 6222 | | |
6221 | 6223 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
484 | 484 | | |
485 | 485 | | |
486 | 486 | | |
487 | | - | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
488 | 493 | | |
489 | 494 | | |
490 | 495 | | |
0 commit comments