Commit 2784853
committed
archive: set close-on-exec for chmod fallback descriptors
Open temporary descriptors with O_CLOEXEC to prevent inheritance by
concurrently started child processes.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>1 parent 7cc2cbe commit 2784853
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
0 commit comments