This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug hurd/23088] New: hurd: <sys/types.h> exposes sched_param and sched_priority symbols


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]