glibc/sysdeps/unix/sysv/linux/riscv
Florian Weimer 21571ca0d7 Linux: Add the sched_setattr and sched_getattr functions
And struct sched_attr.

In sysdeps/unix/sysv/linux/bits/sched.h, the hack that defines
sched_param around the inclusion of <linux/sched/types.h> is quite
ugly, but the definition of struct sched_param has already been
dropped by the kernel, so there is nothing else we can do and maintain
compatibility of <sched.h> with a wide range of kernel header
versions.  (An alternative would involve introducing a separate header
for this functionality, but this seems unnecessary.)

The existing sched_* functions that change scheduler parameters
are already incompatible with PTHREAD_PRIO_PROTECT mutexes, so
there is no harm in adding more functionality in this area.

The documentation mostly defers to the Linux manual pages.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
2024-09-11 10:05:08 +02:00
..
bits Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
include/sys riscv: Fix alignment-ignorant memcpy implementation 2024-03-12 14:38:08 -03:00
multiarch riscv: Fix alignment-ignorant memcpy implementation 2024-03-12 14:38:08 -03:00
rv32 Linux: Add the sched_setattr and sched_getattr functions 2024-09-11 10:05:08 +02:00
rv64 Linux: Add the sched_setattr and sched_getattr functions 2024-09-11 10:05:08 +02:00
sys riscv: Add ifunc helper method to hwprobe.h 2024-03-01 07:15:00 -08:00
atomic-machine.h RISC-V: Execute a PAUSE hint in spin loops 2024-06-24 21:36:49 +02:00
clone3.S Remove the clone3 symbol from libc.a [BZ #31770] 2024-05-21 07:05:08 -07:00
clone.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
configure Convert to autoconf 2.72 (vanilla release, no distribution patches) 2024-06-17 21:15:28 +02:00
configure.ac RISC-V: Build infrastructure for 32-bit port 2020-08-27 08:17:43 -07:00
dl-cache.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
flush-icache.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
getcontext.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
hwprobe.c riscv: Fix alignment-ignorant memcpy implementation 2024-03-12 14:38:08 -03:00
Implies RISC-V: Build Infastructure 2018-01-29 10:43:15 -08:00
kernel-features.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
ldd-rewrite.sed RISC-V: Add rv32 path to RTLDLIST in ldd 2020-08-27 08:17:43 -07:00
localplt.data elf: Rework exception handling in the dynamic loader [BZ #25486] 2022-11-03 09:39:31 +01:00
makecontext.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
Makefile riscv: Fix alignment-ignorant memcpy implementation 2024-03-12 14:38:08 -03:00
readelflib.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
setcontext.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
shlib-versions RISC-V: Build infrastructure for 32-bit port 2020-08-27 08:17:43 -07:00
sigcontextinfo.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
swapcontext.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
syscall_cancel.S nptl: Fix Race conditions in pthread cancellation [BZ#12683] 2024-08-23 14:27:43 -03:00
syscall.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
sysconf.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
sysdep.h riscv: Add hwprobe vdso call support 2024-03-01 07:14:57 -08:00
sysdep.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
ucontext_i.sym RISC-V: Linux ABI 2018-01-29 10:37:27 -08:00
ucontext-macros.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
Versions riscv: Add Linux hwprobe syscall support 2024-03-01 07:14:55 -08:00
vfork.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00