syscall.sh / alpha / osf_set_program_attributes
osf_set_program_attributes
sys_osf_set_program_attributes(unsigned long text_start, unsigned long text_len, unsigned long bss_start, unsigned long bss_len)
| number | 43 (0x2b) |
|---|---|
| abi | common |
| entry point | sys_osf_set_program_attributes |
| since | Linux 5.0 |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 43, the syscall number |
a0 | unsigned long text_start |
a1 | unsigned long text_len |
a2 | unsigned long bss_start |
a3 | unsigned long bss_len |
v0 | the return value |
Then run callsys to enter the kernel.
Get this as JSON: https://api.syscall.sh/v2/syscalls/alpha/osf_set_program_attributes