Bug 138081
Summary: | sem_post and sem_destroy fail to report errors | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | Jared Smith-Mickelson <jaredsm> | ||||
Component: | glibc | Assignee: | Jakub Jelinek <jakub> | ||||
Status: | CLOSED NOTABUG | QA Contact: | Brian Brock <bbrock> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 3.0 | CC: | drepper, roland | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i686 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2004-11-05 00:34:49 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Jared Smith-Mickelson
2004-11-04 15:28:59 UTC
Created attachment 106167 [details]
test case to illustrate the bug
The man page is for LinuxThreads. NPTL is governed by POSIX and there is no such requirement in http://www.opengroup.org/onlinepubs/009695399/functions/sem_post.html (only sem_open must return SEM_FAILED + EINVAL in errno if 4th argument is > SEM_VALUE_MAX). Similarly, http://www.opengroup.org/onlinepubs/009695399/functions/sem_destroy.html doesn't mandate but allows -1/EBUSY in sem_destroy. Indeed, no bugs here. |