This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug hurd/23088] New: hurd: <sys/types.h> exposes sched_param and sched_priority symbols
- From: "samuel dot thibault at ens-lyon dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 19 Apr 2018 14:32:19 +0000
- Subject: [Bug hurd/23088] New: hurd: <sys/types.h> exposes sched_param and sched_priority symbols
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=23088
Bug ID: 23088
Summary: hurd: <sys/types.h> exposes sched_param and
sched_priority symbols
Product: glibc
Version: 2.27
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: hurd
Assignee: unassigned at sourceware dot org
Reporter: samuel.thibault@ens-lyon.org
CC: tschwinge at sourceware dot org
Target Milestone: ---
sys/types.h includes bits/pthreadtypes.h which includes
bits/types/struct___pthread_attr.h which currently includes
<bits/types/struct_sched_param.h> to get struct sched_param for the content of
struct __pthread_attr, but then exposes the sched_param and sched_priority
symbols, which are unwanted from <sys/types.h> at various standard levels.
Renaming the sched_priority field is not an option for structure compatibility
guarantees, so we would need to completely hide the content of __pthread_attr
like is done on Linux.
--
You are receiving this mail because:
You are on the CC list for the bug.