lookup_dcookie(2) System Calls Manual lookup_dcookie(2) lookup_dcookie - LIBRARY Standard C library (libc, -lc) #include /* SYS_* */ #include int syscall(SYS_lookup_dcookie, uint64_t cookie, char *buffer, size_t len); Note: glibc provides no wrapper for lookup_dcookie(), necessitating the use of syscall(2). , cookie. (cookie) , . . lookup_dcookie() . On success, lookup_dcookie() returns the length of the path string copied into the buffer. On error, -1 is returned, and errno is set to indicate the error. EFAULT . EINVAL / . ENAMETOOLONG . ENOMEM . EPERM CAP_SYS_ADMIN . ERANGE . Linux. Linux 2.5.43. The ENAMETOOLONG error was added in Linux 2.5.70. lookup_dcookie() , oprofile(1). . << (deleted)>>, . . oprofile(1) Artyom Kunyov , Azamat Hackimov , Dmitry Bolkhovskikh , Katrin Kutepova , Konstantin Shvaykovskiy , Yuri Kozlov ; GNU 3 , . . , , . Linux man-pages 6.06 31 2023 . lookup_dcookie(2)