syscall.sh / x86 / acct
acct
switch process accounting on or off
sys_acct(const char *name)
| number | 51 (0x33) |
|---|---|
| abi | i386 |
| entry point | sys_acct |
| since | Linux 3.3 |
| man page | acct(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 51, the syscall number |
ebx | const char *name |
eax | the return value |
Then run int 0x80 to enter the kernel.
Same syscall on other architectures
- x64 163
- arm64 89
- arm 51
- riscv64 89
- x32 1073741987
- loongarch64 89
- ppc64 51
- ppc 51
- s390x 51
- mips64 5158
- mipsn32 6158
- mipso32 4051
- alpha 51
- arc 89
- csky 89
- hexagon 89
- m68k 51
- microblaze 51
- nios2 89
- openrisc 89
- parisc 51
- sh 51
- sparc 51
- sparc64 51
- xtensa 155
Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/acct