|
|
Log in / Subscribe / Register

Anatomy of a system call, part 1

Anatomy of a system call, part 1

Posted Aug 27, 2020 12:55 UTC (Thu) by vishwajith_k (guest, #140997)
Parent article: Anatomy of a system call, part 1

I could not find implementation for a syscall named clock_nanosleep;
As per this article, name used to implement must be sys_clock_nanosleep, but I found some header files when searched for this identifier (used https://elixir.bootlin.com/ site); Am using arm64 machine and syscall number must be 115.
Can you help me?


to post comments

Anatomy of a system call, part 1

Posted Aug 27, 2020 21:14 UTC (Thu) by andresfreund (subscriber, #69562) [Link]

It's in kernel/time/posix-stubs.c :

SYSCALL_DEFINE4(clock_nanosleep, const clockid_t, which_clock, int, flags,
const struct __kernel_timespec __user *, rqtp,
struct __kernel_timespec __user *, rmtp)
{
....


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds