| Summary: | add renameat2() support | ||
|---|---|---|---|
| Product: | [Developer tools] valgrind | Reporter: | Jann Horn <jannhorn> |
| Component: | general | Assignee: | Julian Seward <jseward> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | mark |
| Priority: | NOR | ||
| Version First Reported In: | 3.11.0 | ||
| Target Milestone: | --- | ||
| Platform: | Debian stable | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | adds renameat2 support | ||
|
Description
Jann Horn
2016-05-29 23:06:51 UTC
Created attachment 99255 [details]
adds renameat2 support
Ah, I can attach stuff after submitting the bug. Attached my patch.
Looks correct. It can probably also be added to the other coregrind/m_syswrap/syswrap-*-linux.c wrappers. Do you happen to have an example program that uses renameat2? No, I don't have an example program - I'm just using it in a private project. I see glibc also doesn't expose it yet. But the code looks fine. Committed as valgrind svn r15889. Thanks |