acct on score
switch process accounting on or off
sys_acct(const char *name)
| number | 89 (0x59) |
|---|---|
| abi | common |
| kconfig | CONFIG_BSD_PROCESS_ACCT |
| entry point | sys_acct |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | acct(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 89, the syscall number |
r4 | const char *name |
r4 | the return value |
Then run syscall to enter the kernel.
r7 is the error flag and r4 then holds the positive error number.
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 163
- x86 51
- arm64 89
- arm 51
- riscv64 89
- ia32 51
- x32 1073741987
- loongarch64 89
- ppc64 51
- ppc 51
- s390x 51
- mips64 5158
- mipsn32 6158
- mipso32 4051
- alpha 51
- arc 89
- blackfin 51, removed in 4.17
- cris 51, removed in 4.17
- csky 89
- frv 51, removed in 4.17
- hexagon 89
- ia64 1064, removed in 6.7
- m32r 51, removed in 4.17
- m68k 51
- metag 89, removed in 4.17
- microblaze 51
- mn10300 51, removed in 4.17
- nds32 89, removed in 5.18
- nios2 89
- openrisc 89
- parisc 51
- sh 51
- sparc 51
- sparc64 51
- tilegx 89, removed in 4.17
- tilepro 89, removed in 4.17
- xtensa 155
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/acct?kernel=all