Skip to content
Snippets Groups Projects
  • Colin Walters's avatar
    78ae7877
    fdio: Use correct dfd with O_TMPFILE in rename case · 78ae7877
    Colin Walters authored
    While auditing this code to figure out why ostree's
    `tests/test-refs.sh` was failing, while the bug turned out to be
    different, I noticed that in the case where `dfd != target_dfd`, we
    failed to do the right `renameat()`.  (No code I'm aware of does this
    now).
    78ae7877
    History
    fdio: Use correct dfd with O_TMPFILE in rename case
    Colin Walters authored
    While auditing this code to figure out why ostree's
    `tests/test-refs.sh` was failing, while the bug turned out to be
    different, I noticed that in the case where `dfd != target_dfd`, we
    failed to do the right `renameat()`.  (No code I'm aware of does this
    now).
glnx-fdio.c 27.46 KiB