Skip to content

Handle files opened by creat() like those opened by open() - #4140

Merged
rocallahan merged 1 commit into
rr-debugger:masterfrom
ChronitonAI:creat-like-open
Oct 29, 2026
Merged

rocallahan merged 1 commit into
rr-debugger:masterfrom
ChronitonAI:creat-like-open

Conversation

@Keno

@Keno Keno commented Oct 27, 2026

Copy link
Copy Markdown
Member

[AI discovery through code reading - probably diesn't matter that much in practice, but still should be fixed - patch/test by AI]

When the creat syscall reached rr (e.g. with -n), rr didn't refuse blacklisted files or install the file monitors that open() gets, so e.g. writes through the new fd to /proc//mem weren't replayed. rr now also lets other tasks run while creat blocks, as for open.

Test: proc_mem, blacklist

When the creat syscall reached rr (e.g. with -n), rr didn't refuse
blacklisted files or install the file monitors that open() gets, so
e.g. writes through the new fd to /proc/<pid>/mem weren't replayed.
rr now also lets other tasks run while creat blocks, as for open.

Test: proc_mem, blacklist

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@rocallahan
rocallahan merged commit cf94ca9 into rr-debugger:master Oct 29, 2026
5 checks passed
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