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

Function make_queue

CVE-2022-0185/exploit/util.c:18–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16}
17
18int32_t make_queue(key_t key, int msgflg)
19{
20 int32_t result;
21 if ((result = msgget(key, msgflg)) == -1)
22 {
23 perror("msgget failure");
24 exit(-1);
25 }
26 return result;
27}
28
29ssize_t get_msg_no_err(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg)
30{

Callers 10

spray_512Function · 0.70
spray_4kFunction · 0.70
generic_sprayFunction · 0.70
do_kaslr_leakFunction · 0.70
do_heap_leaksFunction · 0.70
do_winFunction · 0.70
mainFunction · 0.70
do_leakFunction · 0.70
do_winFunction · 0.70
spray_4kFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected