Skip to content

Conversation

@cyphar
Copy link
Owner

@cyphar cyphar commented Oct 20, 2025

  • The openat2 resolver will now return -EAGAIN if the number of openat2
    retries is exceeded -- this allows higher-level users easily detect if an
    error is an indication they should retry (based on their own retry policy).
  • Error and ErrorKind now have a can_retry helper that can be used to
    make retry loops easier for callers.

Signed-off-by: Aleksa Sarai [email protected]

@cyphar cyphar added this to the 0.2.1 milestone Oct 20, 2025
@cyphar cyphar merged commit ba1759c into main Oct 20, 2025
53 checks passed
@cyphar cyphar deleted the openat2-retry branch October 20, 2025 05:59
cyphar added a commit to cyphar/filepath-securejoin that referenced this pull request Oct 20, 2025
This is to match the new behavour from libpathrs, as it provides more
reasonable information to downstream users (they can check for
unix.EAGAIN and have their own custom retry logic).

Ref: cyphar/libpathrs#265
Signed-off-by: Aleksa Sarai <[email protected]>
cyphar added a commit to cyphar/filepath-securejoin that referenced this pull request Oct 20, 2025
This is to match the new behavour from libpathrs, as it provides more
reasonable information to downstream users (they can check for
unix.EAGAIN and have their own custom retry logic).

Ref: cyphar/libpathrs#265
Signed-off-by: Aleksa Sarai <[email protected]>
cyphar added a commit to cyphar/filepath-securejoin that referenced this pull request Oct 20, 2025
This is to match the new behavour from libpathrs, as it provides more
reasonable information to downstream users (they can check for
unix.EAGAIN and have their own custom retry logic).

Ref: cyphar/libpathrs#265
Signed-off-by: Aleksa Sarai <[email protected]>
cyphar added a commit to cyphar/filepath-securejoin that referenced this pull request Oct 20, 2025
This is to match the new behavour from libpathrs, as it provides more
reasonable information to downstream users (they can check for
unix.EAGAIN and have their own custom retry logic).

Ref: cyphar/libpathrs#265
Signed-off-by: Aleksa Sarai <[email protected]>
cyphar added a commit to cyphar/filepath-securejoin that referenced this pull request Oct 31, 2025
This is to match the new behavour from libpathrs, as it provides more
reasonable information to downstream users (they can check for
unix.EAGAIN and have their own custom retry logic).

Ref: cyphar/libpathrs#265
Signed-off-by: Aleksa Sarai <[email protected]>
cyphar added a commit to cyphar/filepath-securejoin that referenced this pull request Oct 31, 2025
This is to match the new behavour from libpathrs, as it provides more
reasonable information to downstream users (they can check for
unix.EAGAIN and have their own custom retry logic).

Ref: cyphar/libpathrs#265
Signed-off-by: Aleksa Sarai <[email protected]>
(cherry picked from commit 02d2e4b)
Signed-off-by: Aleksa Sarai <[email protected]>
cyphar added a commit to cyphar/filepath-securejoin that referenced this pull request Oct 31, 2025
This is to match the new behavour from libpathrs, as it provides more
reasonable information to downstream users (they can check for
unix.EAGAIN and have their own custom retry logic).

Ref: cyphar/libpathrs#265
Signed-off-by: Aleksa Sarai <[email protected]>
(cherry picked from commit 02d2e4b)
Signed-off-by: Aleksa Sarai <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants