lookup_dcookie on score
return a directory entry's path
sys_lookup_dcookie(u64 cookie64, char *buf, size_t len)
| number | 18 (0x12) |
|---|---|
| abi | common |
| entry point | sys_lookup_dcookie |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | lookup_dcookie(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 18, the syscall number |
r4 | u64 cookie64 |
r5 | char *buf |
r6 | size_t len |
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 212, removed in 6.7
- x86 253, removed in 6.7
- arm64 18, removed in 6.7
- arm 249, removed in 6.7
- riscv64 18, removed in 6.7
- ia32 253, removed in 6.7
- x32 1073742036, removed in 6.7
- loongarch64 18, removed in 6.7
- ppc64 235, removed in 6.7
- ppc 235, removed in 6.7
- s390x 110, removed in 6.7
- mips64 5206, removed in 6.7
- mipsn32 6206, removed in 6.7
- mipso32 4247, removed in 6.7
- alpha 406, removed in 6.7
- arc 18, removed in 6.7
- blackfin 253, removed in 4.17
- cris 253, removed in 4.17
- csky 18, removed in 6.7
- frv 253, removed in 4.17
- hexagon 18, removed in 6.7
- ia64 1237, removed in 6.7
- m32r 253, removed in 4.17
- m68k 248, removed in 6.7
- metag 18, removed in 4.17
- microblaze 253, removed in 6.7
- mn10300 253, removed in 4.17
- nds32 18, removed in 5.18
- nios2 18, removed in 6.7
- openrisc 18, removed in 6.7
- parisc 223, removed in 6.7
- sh 253, removed in 6.7
- sparc 208, removed in 6.7
- sparc64 208, removed in 6.7
- tilegx 18, removed in 4.17
- tilepro 18, removed in 4.17
- xtensa 254, removed in 6.7
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/lookup_dcookie?kernel=all