syscall.sh / riscv64 / personality

personality

set the process execution domain

sys_personality(unsigned int personality)
number92 (0x5c)
abicommon
entry pointsys_personality
sinceLinux 4.15
man pagepersonality(2)
sourceelixir.bootlin.com

Registers

registervalue
a792, the syscall number
a0unsigned int personality
a0the return value

Then run ecall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/riscv64/personality