setgroups32 on m32r

get/set list of supplementary group IDs

sys_setgroups(int gidsetsize, gid_t *grouplist)
number206 (0xce)
abicommon
entry pointsys_setgroups
sinceLinux 3.3 or earlier (3.3 is the first release scanned for m32r)
man pagesetgroups32(2)
sourceelixir.bootlin.com

Registers

registervalue
r7206, the syscall number
r0int gidsetsize
r1gid_t *grouplist
r0the return value

Then run trap #2 to enter the kernel.

This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/m32r/setgroups32?kernel=all