sys_lookup_dcookie [fs/dcookies.c]
Looks up the full path of a directory. Arguments
eax | 253
ebx | Opaque identifier uniquely identifying a particular directory entry.
ecx | Pointer to a buffer which will receive the full path.
edx | Size of the buffer pointed by ecx.
Return values If the system call succeeds the return value is the length of the path string copied into the buffer. If the system call fails the return value is one of the following errno values:
`-EFAULT` | `The buffer was not valid.`
`-EINVAL` | `The kernel has no registered cookie/directory entry mappings at the time of lookup, or the cookie does not refer to a valid directory entry.`
`-ENAMETOOLONG` | `The name could not fit in the buffer.`
`-ENOMEM` | `The kernel could not allocate memory for the temporary buffer holding the path.`
`-EPERM` | `The process does not have the capability CAP_SYS_ADMIN required to look up cookie values.`
`-ERANGE` | `The buffer was not large enough to hold the path of the directory entry.`
Remarks The path returned may be suffixed by the string " (deleted)" if the directory entry has been removed. Compatibility n/a