Summary: | __USE_GNU should be used for unshare() and clone() in bits/sched.h | ||
---|---|---|---|
Product: | glibc | Reporter: | Michael Kerrisk <michael.kerrisk> |
Component: | libc | Assignee: | Ulrich Drepper <drepper.fsp> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | glibc-bugs, mtk.manpages, neleai |
Priority: | P2 | Flags: | fweimer:
security-
|
Version: | unspecified | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: |
Description
Michael Kerrisk
2007-07-07 09:00:32 UTC
> #if defined(__USE_MISC) || defined (__USE_GNU)
This makes no sense. __USE_MISC is implied in __USE_GNU. The header is fine.
Agreed -- that last sentence made no sense. But the first point does. Why us __USE_MISC being used to expose Linux-specific definitions? The correct #ifdef should be #ifdef __GNU_SOURCE Silently fixed as I suggested, in glibc 2.14... |