Skip to content

Prevent password file TOCTOU window - #2082

Merged
oferchen merged 1 commit into
masterfrom
decompose-source-files-over-500-lines
Nov 8, 2025
Merged

oferchen merged 1 commit into
masterfrom
decompose-source-files-over-500-lines

Conversation

@oferchen

@oferchen oferchen commented Nov 8, 2025 •

Copy link
Copy Markdown
Owner

Summary

  • open password files once before permission checks so validation and reads use the same handle
  • document the intent to avoid time-of-check to time-of-use races when loading daemon passwords

Testing

  • cargo test -p oc-rsync-cli load_password_file

[Codex Task](

@oferchen
oferchen merged commit bd7c6c7 into master Nov 8, 2025
@oferchen
oferchen deleted the decompose-source-files-over-500-lines branch November 8, 2025 19:39
oferchen added a commit that referenced this pull request May 7, 2026
…#3933)

Document the four wire-compatible zsync-inspired matching speedups
(bithash prefilter #2059-2062, seq-match extend-run #2064-2066,
matched-block pruning #2068-2070, compact-keys layout #2072-2073)
with CHANGELOG snippets, a release notes block, an anti-spec
forbidding wire-feature advertisement, and a placeholder for
benchmark numbers pending #2081 and #2082.
oferchen added a commit that referenced this pull request May 17, 2026
Adds a release-qualification benchmark that exercises the match-index
and rolling-hash pipeline on a 10 GiB sparse VM-style image with ~1%
modified bytes. Gated behind OC_RSYNC_LARGE_BENCH=1 so default CI is
unaffected; a tools/ci wrapper provides skip-or-fail semantics for the
release pipeline.

Includes the scenario specification, expected runtime envelope, and
result-interpretation guide alongside the existing benchmark docs.
oferchen added a commit that referenced this pull request May 18, 2026
…#3933)

Document the four wire-compatible zsync-inspired matching speedups
(bithash prefilter #2059-2062, seq-match extend-run #2064-2066,
matched-block pruning #2068-2070, compact-keys layout #2072-2073)
with CHANGELOG snippets, a release notes block, an anti-spec
forbidding wire-feature advertisement, and a placeholder for
benchmark numbers pending #2081 and #2082.
oferchen added a commit that referenced this pull request May 18, 2026
Adds a release-qualification benchmark that exercises the match-index
and rolling-hash pipeline on a 10 GiB sparse VM-style image with ~1%
modified bytes. Gated behind OC_RSYNC_LARGE_BENCH=1 so default CI is
unaffected; a tools/ci wrapper provides skip-or-fail semantics for the
release pipeline.

Includes the scenario specification, expected runtime envelope, and
result-interpretation guide alongside the existing benchmark docs.
oferchen added a commit that referenced this pull request May 18, 2026
Adds a release-qualification benchmark that exercises the match-index
and rolling-hash pipeline on a 10 GiB sparse VM-style image with ~1%
modified bytes. Gated behind OC_RSYNC_LARGE_BENCH=1 so default CI is
unaffected; a tools/ci wrapper provides skip-or-fail semantics for the
release pipeline.

Includes the scenario specification, expected runtime envelope, and
result-interpretation guide alongside the existing benchmark docs.
oferchen added a commit that referenced this pull request Aug 24, 2026
…#3933)

Document the four wire-compatible zsync-inspired matching speedups
(bithash prefilter #2059-2062, seq-match extend-run #2064-2066,
matched-block pruning #2068-2070, compact-keys layout #2072-2073)
with CHANGELOG snippets, a release notes block, an anti-spec
forbidding wire-feature advertisement, and a placeholder for
benchmark numbers pending #2081 and #2082.
oferchen added a commit that referenced this pull request Aug 24, 2026
Adds a release-qualification benchmark that exercises the match-index
and rolling-hash pipeline on a 10 GiB sparse VM-style image with ~1%
modified bytes. Gated behind OC_RSYNC_LARGE_BENCH=1 so default CI is
unaffected; a tools/ci wrapper provides skip-or-fail semantics for the
release pipeline.

Includes the scenario specification, expected runtime envelope, and
result-interpretation guide alongside the existing benchmark docs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant