DynamoRIO / DynamoRIO/dynamorio

SYS_prlimit64 takes "struct rlimit64" not "struct rlimit"

Open
#1,889 0 comments 0 reactions 0 assignees View on GitHub
good first issue help wanted OpSys-Linux
Dominant language
C
Stars
3.2k
Forks
629
Avg merge
2d 15h
Merged PRs (30d)
31

Description

The 'new' and 'old' structures used for SYS_prlimit64 are a "struct rlimit64" not a "struct rlimit". On some systems these might not be the same size. Needs fixing in core/unix/os.c and suite/tests/client-interface/file_io.c .

(Spotted while looking at failures in code_api|client.file_io.)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.