brk on frv
change data segment size
sys_brk(unsigned long brk)
| number | 45 (0x2d) |
|---|---|
| abi | common |
| entry point | sys_brk |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for frv) |
| man page | brk(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
gr7 | 45, the syscall number |
gr8 | unsigned long brk |
gr8 | the return value |
Then run tira gr0, 0 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
- x64 12
- x86 45
- arm64 214
- arm 45
- riscv64 214
- ia32 45
- x32 1073741836
- loongarch64 214
- ppc64 45
- ppc 45
- s390x 45
- mips64 5012
- mipsn32 6012
- mipso32 4045
- alpha 17
- arc 214
- blackfin 45, removed in 4.17
- cris 45, removed in 4.17
- csky 214
- hexagon 214
- ia64 1060, removed in 6.7
- m32r 45, removed in 4.17
- m68k 45
- metag 214, removed in 4.17
- microblaze 45
- mn10300 45, removed in 4.17
- nds32 214, removed in 5.18
- nios2 214
- openrisc 214
- parisc 45
- score 214, removed in 4.17
- sh 45
- sparc 17
- sparc64 17
- tilegx 214, removed in 4.17
- tilepro 214, removed in 4.17
- xtensa 83
Get this as JSON: https://api.syscall.sh/v2/syscalls/frv/brk?kernel=all