uselib on score
load shared library
sys_uselib(const char *library)
| number | 1077 (0x435) |
|---|---|
| abi | common |
| kconfig | CONFIG_USELIB |
| entry point | sys_uselib |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | uselib(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 1077, the syscall number |
r4 | const char *library |
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
- x86 86
- arm 86
- ia32 86
- ppc64 86
- ppc 86
- s390x 86
- mipso32 4086
- alpha 313
- cris 86, removed in 4.17
- frv 86, removed in 4.17
- ia64 1093, removed in 6.7
- m32r 86, removed in 4.17
- m68k 86
- microblaze 86
- mn10300 86, removed in 4.17
- sh 86
- sparc 203
- sparc64 203
- xtensa 202
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/uselib?kernel=all