glibc/sysdeps/unix/sysv/linux/riscv
Adhemerval Zanella 06436acf81 ipc: Refactor sysvipc internal definitions
This patch refactor the internal sysvipc in two main points:

  1. Add a new __ASSUME_SYSVIPC_DEFAULT_IPC_64 to infer the __IPC_64
     value to be used along either the multiplexed __NR_ipc or wired-up
     syscall.  The defaut value assumed for __IPC_64 is also changed
     from 0x100 to 0x0, aligning with Linux generic UAPI.  The idea
     is to simplify the Linux 5.1 wire-up for sysvipc syscalls for
     some 32-bit ABIs (which expectes __IPC_64 being 0x0) and simplify
     new ports (which will no longer need to add ipc_priv.h).

  2. It also removes some duplicated internal definition used on compat
     sysvipc symbols defined at ipc_priv.h (more specifically the
     __old_ipc_perm, SEMCTL_ARG_ADDRESS, MSGRCV_ARGS, and
     SEMTIMEDOP_IPC_ARGS).  The idea is also to make it simpler to enable
     the new wire-up sysvipc syscall provided by Linux v5.1.

There is no semantic change expected on any port.  Checked with a build
against all affected ABIs.

Reviewed-by: Florian Weimer <fweimer@redhat.com>
2019-10-17 11:04:59 -03:00
..
bits
rv64 nptl: Move pthread_attr_setschedparam implementation into libc 2019-10-07 20:00:38 +02:00
sys
Implies
Makefile riscv: Remove support for variable page sizes 2019-10-07 19:03:51 +02:00
Versions
atomic-machine.h
clone.S
configure
configure.ac
dl-cache.h
flush-icache.c
getcontext.S
kernel-features.h
ldconfig.h
ldd-rewrite.sed
localplt.data
makecontext.c
readelflib.c
register-dump.h
setcontext.S
shlib-versions
sigcontextinfo.h
swapcontext.S
syscall.c
sysdep.S
sysdep.h Refactor vDSO initialization code 2019-09-17 17:09:24 -03:00
ucontext-macros.h
ucontext_i.sym
vfork.S Fix RISC-V vfork build with Linux 5.3 kernel headers. 2019-09-18 13:22:24 +00:00