syscall.sh / x32 / capset

capset

set/get capabilities of thread(s)

sys_capset(cap_user_header_t header, const cap_user_data_t data)
number1073741950 (0x4000007e)
abicommon
entry pointsys_capset
sinceLinux 3.4
man pagecapset(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073741950, the syscall number
rdicap_user_header_t header
rsiconst cap_user_data_t data
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/capset