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

Function gather_mqueue_nosave

CVE-2022-32250/exploit/exploit.c:444–451  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

442}
443
444int gather_mqueue_nosave(mqd_t mqdes, int gather_size)
445{
446 char msg[BUFFER];
447 printf("[*] gathering mqueue...\n");
448 for(int i=0; i < gather_size; i++)
449 mq_receive(mqdes, (char*)&msg, BUFFER, NULL);
450 return 0;
451}
452
453int main(int argc, char ** argv)
454{

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected