about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/riscv/syscall.c
diff options
context:
space:
mode:
authorEvan Green <evan@rivosinc.com>2024-02-27 14:56:38 -0800
committerPalmer Dabbelt <palmer@rivosinc.com>2024-03-01 07:14:56 -0800
commitc6c33339b45281590f9db138ba6c9d79acb1da27 (patch)
tree0734d08f9d44f8b1c28ca687f5339e737f8e3693 /sysdeps/unix/sysv/linux/riscv/syscall.c
parent426d0e1aa8f17426d13707594111df712d2b8911 (diff)
downloadglibc-c6c33339b45281590f9db138ba6c9d79acb1da27.tar.gz
glibc-c6c33339b45281590f9db138ba6c9d79acb1da27.tar.xz
glibc-c6c33339b45281590f9db138ba6c9d79acb1da27.zip
linux: Introduce INTERNAL_VSYSCALL
Add an INTERNAL_VSYSCALL() macro that makes a vDSO call, falling back to
a regular syscall, but without setting errno. Instead, the return value
is plumbed straight out of the macro.

Signed-off-by: Evan Green <evan@rivosinc.com>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/riscv/syscall.c')
0 files changed, 0 insertions, 0 deletions