syscall.sh / x32 / capget

capget

set/get capabilities of thread(s)

sys_capget(cap_user_header_t header, cap_user_data_t dataptr)
number1073741949 (0x4000007d)
abicommon
entry pointsys_capget
sinceLinux 3.4
man pagecapget(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073741949, the syscall number
rdicap_user_header_t header
rsicap_user_data_t dataptr
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/x32/capget