diff options
author | Mike Gilbert <floppym@gentoo.org> | 2021-11-17 13:23:07 -0500 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2021-11-19 11:16:07 -0500 |
commit | fe3e50025fee15d59c4956a39b675faf50555c46 (patch) | |
tree | 977e08e0df822bddb612cd6bc7d076913cf07119 /cnf | |
parent | estrip: add death messages and debug prints in save_elf_debug (diff) | |
download | portage-fe3e50025fee15d59c4956a39b675faf50555c46.tar.gz portage-fe3e50025fee15d59c4956a39b675faf50555c46.tar.bz2 portage-fe3e50025fee15d59c4956a39b675faf50555c46.zip |
estrip: fix lockfile handling
The previous code would wait for the first link to an inode to be
processed, and would then allow multiple processes to process duplicate
links to the same inode. This behavior leads to a race condition in
save_elf_debug.
The new code ensures that each inode is accessed by a single process at
a time.
Closes: https://bugs.gentoo.org/823798
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'cnf')
0 files changed, 0 insertions, 0 deletions