google / google/sanitizers

ignore or warn on setrlimit(RLIMIT_AS)

Open
#166 6 comments 0 reactions 1 assignee Claimed by @kcc View on GitHub
Priority-Medium ProjectAddressSanitizer Status-Accepted Type-Enhancement
Dominant language
C
Stars
12.5k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Originally reported on Google Code with ID 166

```
asan should do something with setrlimit(RLIMIT_AS):

Choices:
1. silently ignore and return 0 (success)
2. silently ignore and return -1 (failure). What should be errno then?
3. print a warning and return -1
4. print a warning and die
5. ???

Thoughts?

We need this in sanitizer_common for tsan and msan
```

Reported by `konstantin.s.serebryany` on 2013-03-12 14:11:21

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.