syscall.sh / microblaze / shmat

shmat

System V shared memory operations

sys_shmat(int shmid, char *shmaddr, int shmflg)
number335 (0x14f)
abicommon
entry pointsys_shmat
sinceLinux 5.0
man pageshmat(2)
sourceelixir.bootlin.com

Registers

registervalue
r12335, the syscall number
r5int shmid
r6char *shmaddr
r7int shmflg
r3the return value

Then run brki r14,8 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/microblaze/shmat