+2019-10-04 Florian Weimer <fweimer@redhat.com>
+
+ nptl: Move pthread_attr_setinheritsched implementation into libc.
+ * nptl/Makefile (routines): Add pthread_attr_setinheritsched.
+ (libpthread-routines): Remove pthread_attr_setinheritsched.
+ * nptl/Versions (libpthread GLIBC_2.0): Remove
+ pthread_attr_setinheritsched.
+ * nptl/forward.c (pthread_attr_setinheritsched): Remove definition.
+ * nptl/nptl-init.c (pthread_functions): Remove initializer for
+ ptr_pthread_attr_setinheritsched.
+ * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
+ Remove ptr_pthread_attr_setinheritsched member.
+ * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
+ Remove pthread_attr_setinheritsched.
+ * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
+ Likewise.
+ * sysdeps/unix/sysv/linux/arm/be/libpthread.abilist (GLIBC_2.4):
+ Likewise.
+ * sysdeps/unix/sysv/linux/arm/le/libpthread.abilist (GLIBC_2.4):
+ Likewise.
+ * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
+ Likewise.
+ * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
+ Likewise.
+ * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
+ Likewise.
+ * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
+ Likewise.
+ * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
+ (GLIBC_2.4): Likewise.
+ * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
+ (GLIBC_2.0): Likewise.
+ * sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist
+ (GLIBC_2.18): Likewise.
+ * sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist
+ (GLIBC_2.18): Likewise.
+ * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
+ (GLIBC_2.0): Likewise.
+ * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
+ (GLIBC_2.0): Likewise.
+ * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
+ Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
+ (GLIBC_2.0): Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
+ (GLIBC_2.3): Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
+ (GLIBC_2.17): Likewise.
+ * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
+ (GLIBC_2.27): Likewise.
+ * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
+ (GLIBC_2.0): Likewise.
+ * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
+ (GLIBC_2.2): Likewise.
+ * sysdeps/unix/sysv/linux/sh/be/libpthread.abilist (GLIBC_2.2):
+ Likewise.
+ * sysdeps/unix/sysv/linux/sh/le/libpthread.abilist (GLIBC_2.2):
+ Likewise.
+ * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
+ (GLIBC_2.0): Likewise.
+ * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
+ (GLIBC_2.2): Likewise.
+ * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
+ (GLIBC_2.2.5): Likewise.
+ * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
+ (GLIBC_2.16): Likewise.
+
2019-10-02 Joseph Myers <joseph@codesourcery.com>
* sunrpc/clnt_udp.c: Include <libc-diag.h>.
register-atfork pthread_atfork pthread_self thrd_current \
thrd_equal thrd_sleep thrd_yield pthread_equal \
pthread_attr_destroy pthread_attr_init pthread_attr_getdetachstate \
- pthread_attr_setdetachstate pthread_attr_getinheritsched
+ pthread_attr_setdetachstate pthread_attr_getinheritsched \
+ pthread_attr_setinheritsched
shared-only-routines = forward
static-only-routines = pthread_atfork
pthread_attr_getguardsize pthread_attr_setguardsize \
pthread_attr_getschedparam pthread_attr_setschedparam \
pthread_attr_getschedpolicy pthread_attr_setschedpolicy \
- pthread_attr_setinheritsched \
pthread_attr_getscope pthread_attr_setscope \
pthread_attr_getstackaddr pthread_attr_setstackaddr \
pthread_attr_getstacksize pthread_attr_setstacksize \
pthread_attr_getschedparam; pthread_attr_setschedparam;
pthread_attr_getschedpolicy; pthread_attr_setschedpolicy;
- pthread_attr_setinheritsched;
pthread_attr_getscope; pthread_attr_setscope;
pthread_mutex_init; pthread_mutex_destroy;
FORWARD2 (name, int, decl, params, return defretval)
-FORWARD (pthread_attr_setinheritsched, (pthread_attr_t *attr, int inherit),
- (attr, inherit), 0)
-
FORWARD (pthread_attr_getschedparam,
(const pthread_attr_t *attr, struct sched_param *param),
(attr, param), 0)
#ifdef SHARED
static const struct pthread_functions pthread_functions =
{
- .ptr_pthread_attr_setinheritsched = __pthread_attr_setinheritsched,
.ptr_pthread_attr_getschedparam = __pthread_attr_getschedparam,
.ptr_pthread_attr_setschedparam = __pthread_attr_setschedparam,
.ptr_pthread_attr_getschedpolicy = __pthread_attr_getschedpolicy,
the thread functions. */
struct pthread_functions
{
- int (*ptr_pthread_attr_setinheritsched) (pthread_attr_t *, int);
int (*ptr_pthread_attr_getschedparam) (const pthread_attr_t *,
struct sched_param *);
int (*ptr_pthread_attr_setschedparam) (pthread_attr_t *,
GLIBC_2.17 pthread_attr_getstacksize F
GLIBC_2.17 pthread_attr_setaffinity_np F
GLIBC_2.17 pthread_attr_setguardsize F
-GLIBC_2.17 pthread_attr_setinheritsched F
GLIBC_2.17 pthread_attr_setschedparam F
GLIBC_2.17 pthread_attr_setschedpolicy F
GLIBC_2.17 pthread_attr_setscope F
GLIBC_2.0 pthread_attr_getschedparam F
GLIBC_2.0 pthread_attr_getschedpolicy F
GLIBC_2.0 pthread_attr_getscope F
-GLIBC_2.0 pthread_attr_setinheritsched F
GLIBC_2.0 pthread_attr_setschedparam F
GLIBC_2.0 pthread_attr_setschedpolicy F
GLIBC_2.0 pthread_attr_setscope F
GLIBC_2.4 pthread_attr_getstacksize F
GLIBC_2.4 pthread_attr_setaffinity_np F
GLIBC_2.4 pthread_attr_setguardsize F
-GLIBC_2.4 pthread_attr_setinheritsched F
GLIBC_2.4 pthread_attr_setschedparam F
GLIBC_2.4 pthread_attr_setschedpolicy F
GLIBC_2.4 pthread_attr_setscope F
GLIBC_2.4 pthread_attr_getstacksize F
GLIBC_2.4 pthread_attr_setaffinity_np F
GLIBC_2.4 pthread_attr_setguardsize F
-GLIBC_2.4 pthread_attr_setinheritsched F
GLIBC_2.4 pthread_attr_setschedparam F
GLIBC_2.4 pthread_attr_setschedpolicy F
GLIBC_2.4 pthread_attr_setscope F
GLIBC_2.29 pthread_attr_getstacksize F
GLIBC_2.29 pthread_attr_setaffinity_np F
GLIBC_2.29 pthread_attr_setguardsize F
-GLIBC_2.29 pthread_attr_setinheritsched F
GLIBC_2.29 pthread_attr_setschedparam F
GLIBC_2.29 pthread_attr_setschedpolicy F
GLIBC_2.29 pthread_attr_setscope F
GLIBC_2.2 pthread_attr_getstackaddr F
GLIBC_2.2 pthread_attr_getstacksize F
GLIBC_2.2 pthread_attr_setguardsize F
-GLIBC_2.2 pthread_attr_setinheritsched F
GLIBC_2.2 pthread_attr_setschedparam F
GLIBC_2.2 pthread_attr_setschedpolicy F
GLIBC_2.2 pthread_attr_setscope F
GLIBC_2.0 pthread_attr_getschedparam F
GLIBC_2.0 pthread_attr_getschedpolicy F
GLIBC_2.0 pthread_attr_getscope F
-GLIBC_2.0 pthread_attr_setinheritsched F
GLIBC_2.0 pthread_attr_setschedparam F
GLIBC_2.0 pthread_attr_setschedpolicy F
GLIBC_2.0 pthread_attr_setscope F
GLIBC_2.2 pthread_attr_getstackaddr F
GLIBC_2.2 pthread_attr_getstacksize F
GLIBC_2.2 pthread_attr_setguardsize F
-GLIBC_2.2 pthread_attr_setinheritsched F
GLIBC_2.2 pthread_attr_setschedparam F
GLIBC_2.2 pthread_attr_setschedpolicy F
GLIBC_2.2 pthread_attr_setscope F
GLIBC_2.4 pthread_attr_getstacksize F
GLIBC_2.4 pthread_attr_setaffinity_np F
GLIBC_2.4 pthread_attr_setguardsize F
-GLIBC_2.4 pthread_attr_setinheritsched F
GLIBC_2.4 pthread_attr_setschedparam F
GLIBC_2.4 pthread_attr_setschedpolicy F
GLIBC_2.4 pthread_attr_setscope F
GLIBC_2.0 pthread_attr_getschedparam F
GLIBC_2.0 pthread_attr_getschedpolicy F
GLIBC_2.0 pthread_attr_getscope F
-GLIBC_2.0 pthread_attr_setinheritsched F
GLIBC_2.0 pthread_attr_setschedparam F
GLIBC_2.0 pthread_attr_setschedpolicy F
GLIBC_2.0 pthread_attr_setscope F
GLIBC_2.18 pthread_attr_getstacksize F
GLIBC_2.18 pthread_attr_setaffinity_np F
GLIBC_2.18 pthread_attr_setguardsize F
-GLIBC_2.18 pthread_attr_setinheritsched F
GLIBC_2.18 pthread_attr_setschedparam F
GLIBC_2.18 pthread_attr_setschedpolicy F
GLIBC_2.18 pthread_attr_setscope F
GLIBC_2.18 pthread_attr_getstacksize F
GLIBC_2.18 pthread_attr_setaffinity_np F
GLIBC_2.18 pthread_attr_setguardsize F
-GLIBC_2.18 pthread_attr_setinheritsched F
GLIBC_2.18 pthread_attr_setschedparam F
GLIBC_2.18 pthread_attr_setschedpolicy F
GLIBC_2.18 pthread_attr_setscope F
GLIBC_2.0 pthread_attr_getschedparam F
GLIBC_2.0 pthread_attr_getschedpolicy F
GLIBC_2.0 pthread_attr_getscope F
-GLIBC_2.0 pthread_attr_setinheritsched F
GLIBC_2.0 pthread_attr_setschedparam F
GLIBC_2.0 pthread_attr_setschedpolicy F
GLIBC_2.0 pthread_attr_setscope F
GLIBC_2.0 pthread_attr_getschedparam F
GLIBC_2.0 pthread_attr_getschedpolicy F
GLIBC_2.0 pthread_attr_getscope F
-GLIBC_2.0 pthread_attr_setinheritsched F
GLIBC_2.0 pthread_attr_setschedparam F
GLIBC_2.0 pthread_attr_setschedpolicy F
GLIBC_2.0 pthread_attr_setscope F
GLIBC_2.21 pthread_attr_getstacksize F
GLIBC_2.21 pthread_attr_setaffinity_np F
GLIBC_2.21 pthread_attr_setguardsize F
-GLIBC_2.21 pthread_attr_setinheritsched F
GLIBC_2.21 pthread_attr_setschedparam F
GLIBC_2.21 pthread_attr_setschedpolicy F
GLIBC_2.21 pthread_attr_setscope F
GLIBC_2.0 pthread_attr_getschedparam F
GLIBC_2.0 pthread_attr_getschedpolicy F
GLIBC_2.0 pthread_attr_getscope F
-GLIBC_2.0 pthread_attr_setinheritsched F
GLIBC_2.0 pthread_attr_setschedparam F
GLIBC_2.0 pthread_attr_setschedpolicy F
GLIBC_2.0 pthread_attr_setscope F
GLIBC_2.3 pthread_attr_getstackaddr F
GLIBC_2.3 pthread_attr_getstacksize F
GLIBC_2.3 pthread_attr_setguardsize F
-GLIBC_2.3 pthread_attr_setinheritsched F
GLIBC_2.3 pthread_attr_setschedparam F
GLIBC_2.3 pthread_attr_setschedpolicy F
GLIBC_2.3 pthread_attr_setscope F
GLIBC_2.17 pthread_attr_getstacksize F
GLIBC_2.17 pthread_attr_setaffinity_np F
GLIBC_2.17 pthread_attr_setguardsize F
-GLIBC_2.17 pthread_attr_setinheritsched F
GLIBC_2.17 pthread_attr_setschedparam F
GLIBC_2.17 pthread_attr_setschedpolicy F
GLIBC_2.17 pthread_attr_setscope F
GLIBC_2.27 pthread_attr_getstacksize F
GLIBC_2.27 pthread_attr_setaffinity_np F
GLIBC_2.27 pthread_attr_setguardsize F
-GLIBC_2.27 pthread_attr_setinheritsched F
GLIBC_2.27 pthread_attr_setschedparam F
GLIBC_2.27 pthread_attr_setschedpolicy F
GLIBC_2.27 pthread_attr_setscope F
GLIBC_2.0 pthread_attr_getschedparam F
GLIBC_2.0 pthread_attr_getschedpolicy F
GLIBC_2.0 pthread_attr_getscope F
-GLIBC_2.0 pthread_attr_setinheritsched F
GLIBC_2.0 pthread_attr_setschedparam F
GLIBC_2.0 pthread_attr_setschedpolicy F
GLIBC_2.0 pthread_attr_setscope F
GLIBC_2.2 pthread_attr_getstackaddr F
GLIBC_2.2 pthread_attr_getstacksize F
GLIBC_2.2 pthread_attr_setguardsize F
-GLIBC_2.2 pthread_attr_setinheritsched F
GLIBC_2.2 pthread_attr_setschedparam F
GLIBC_2.2 pthread_attr_setschedpolicy F
GLIBC_2.2 pthread_attr_setscope F
GLIBC_2.2 pthread_attr_getstackaddr F
GLIBC_2.2 pthread_attr_getstacksize F
GLIBC_2.2 pthread_attr_setguardsize F
-GLIBC_2.2 pthread_attr_setinheritsched F
GLIBC_2.2 pthread_attr_setschedparam F
GLIBC_2.2 pthread_attr_setschedpolicy F
GLIBC_2.2 pthread_attr_setscope F
GLIBC_2.2 pthread_attr_getstackaddr F
GLIBC_2.2 pthread_attr_getstacksize F
GLIBC_2.2 pthread_attr_setguardsize F
-GLIBC_2.2 pthread_attr_setinheritsched F
GLIBC_2.2 pthread_attr_setschedparam F
GLIBC_2.2 pthread_attr_setschedpolicy F
GLIBC_2.2 pthread_attr_setscope F
GLIBC_2.0 pthread_attr_getschedparam F
GLIBC_2.0 pthread_attr_getschedpolicy F
GLIBC_2.0 pthread_attr_getscope F
-GLIBC_2.0 pthread_attr_setinheritsched F
GLIBC_2.0 pthread_attr_setschedparam F
GLIBC_2.0 pthread_attr_setschedpolicy F
GLIBC_2.0 pthread_attr_setscope F
GLIBC_2.2 pthread_attr_getstackaddr F
GLIBC_2.2 pthread_attr_getstacksize F
GLIBC_2.2 pthread_attr_setguardsize F
-GLIBC_2.2 pthread_attr_setinheritsched F
GLIBC_2.2 pthread_attr_setschedparam F
GLIBC_2.2 pthread_attr_setschedpolicy F
GLIBC_2.2 pthread_attr_setscope F
GLIBC_2.2.5 pthread_attr_getstackaddr F
GLIBC_2.2.5 pthread_attr_getstacksize F
GLIBC_2.2.5 pthread_attr_setguardsize F
-GLIBC_2.2.5 pthread_attr_setinheritsched F
GLIBC_2.2.5 pthread_attr_setschedparam F
GLIBC_2.2.5 pthread_attr_setschedpolicy F
GLIBC_2.2.5 pthread_attr_setscope F
GLIBC_2.16 pthread_attr_getstacksize F
GLIBC_2.16 pthread_attr_setaffinity_np F
GLIBC_2.16 pthread_attr_setguardsize F
-GLIBC_2.16 pthread_attr_setinheritsched F
GLIBC_2.16 pthread_attr_setschedparam F
GLIBC_2.16 pthread_attr_setschedpolicy F
GLIBC_2.16 pthread_attr_setscope F