Commit bd978a2a authored by Marc Vef's avatar Marc Vef
Browse files

Bugfix: syscall_coverage.cpp attribute error which caused a compilation error

parent 0425c4cd
Pipeline #2937 passed with stages
in 14 minutes and 33 seconds
......@@ -19,6 +19,7 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
- Additional `#ifdef` to remove unused code ([!141](https://storage.bsc.es/gitlab/hpc/gekkofs/-/merge_requests/141))
### Removed
### Fixed
- Fix a compilation error for testing ([!234](https://storage.bsc.es/gitlab/hpc/gekkofs/-/merge_requests/234)).
- Using `unlink` now fails if it is a directory unless the `AT_REMOVEDIR` flag is used (POSIX compliance) ([!139](https://storage.bsc.es/gitlab/hpc/gekkofs/-/merge_requests/139)).
- fchdir generate a SIGSEV in debug mode (due to log) ([!141](https://storage.bsc.es/gitlab/hpc/gekkofs/-/merge_requests/141))
- Fix fstatat to be able to understand `AT_EMPTY_PATH` flag used in coreutils (`cat` ...) ([!149](https://storage.bsc.es/gitlab/hpc/gekkofs/-/merge_requests/149)).
......
......@@ -367,7 +367,7 @@ syscall_coverage_exec(const syscall_coverage_options& opts) {
}
// renameat external
auto fdtmp = ::open("/tmp/test_rename", O_CREAT | O_WRONLY);
auto fdtmp = ::open("/tmp/test_rename", O_CREAT | O_WRONLY, 0644);
::close(fdtmp);
rv = ::renameat(AT_FDCWD, "/tmp/test_rename", AT_FDCWD,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment