syscall.sh / ppc64 / mq_getsetattr

mq_getsetattr

get/set message queue attributes

sys_mq_getsetattr(mqd_t mqdes, const struct mq_attr *mqstat, struct mq_attr *omqstat)
number267 (0x10b)
abinospu
entry pointsys_mq_getsetattr
sinceLinux 5.0
man pagemq_getsetattr(2)
sourceelixir.bootlin.com

Registers

registervalue
r0267, the syscall number
r3mqd_t mqdes
r4const struct mq_attr *mqstat
r5struct mq_attr *omqstat
r3the return value

Then run sc to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/ppc64/mq_getsetattr