MCPcopy Create free account
hub / github.com/bsauce/kernel-exploit-factory / get_time_ns

Function get_time_ns

CVE-2026-23271/exploit/exploit.cpp:429–435  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

427}
428
429static uint64_t get_time_ns(void)
430{
431 struct timespec ts;
432
433 clock_gettime(CLOCK_MONOTONIC_RAW, &ts);
434 return (uint64_t)ts.tv_sec * 1000000000ULL + (uint64_t)ts.tv_nsec;
435}
436
437static void tp_spin_delay_ns(uint64_t delay_ns);
438static void tp_cpu_relax_once(void);

Callers 10

tp_spin_delay_nsFunction · 0.85
tp_sigtrap_handlerFunction · 0.85
tp_attempt_worker_threadFunction · 0.85
tp_attempt_closer_threadFunction · 0.85
tp_worker_threadFunction · 0.85
single_spray_threadFunction · 0.85
sprayer_threadFunction · 0.85
locate_victim_eventFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected