| Summary: | Robust mutexes do not take ROBUST_LIST_LIMIT into account | ||
|---|---|---|---|
| Product: | glibc | Reporter: | Florian Weimer <fweimer> |
| Component: | nptl | Assignee: | Not yet assigned to anyone <unassigned> |
| Status: | NEW --- | ||
| Severity: | normal | CC: | drepper.fsp, github |
| Priority: | P2 | Flags: | fweimer:
security-
|
| Version: | 2.23 | ||
| Target Milestone: | --- | ||
| See Also: | https://sourceware.org/bugzilla/show_bug.cgi?id=14485 | ||
| Host: | Target: | ||
| Build: | Last reconfirmed: | ||
| Project(s) to access: | ssh public key: | ||
| Attachments: | tst-robust10.c | ||
|
Description
Florian Weimer
2015-10-08 11:21:56 UTC
It is not possible to check for the limit at pthread_mutex_init time because the mutex could have been created in another process, and the limit is really a lock count limit. I requested a clarification of the POSIX specification: http://austingroupbugs.net/view.php?id=988 It seems that POSIX already permits returning an EAGAIN error in this case. |