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

Function do_init

CVE-2022-2639/exploit.c:689–695  ·  view source on GitHub ↗

do_init() —— bind cpu & set namespace & get flow_family_id & get msg queue & sock_pairs[4][2]

Source from the content-addressed store, hash-verified

687}
688// do_init() —— bind cpu & set namespace & get flow_family_id & get msg queue & sock_pairs[4][2]
689void do_init() {
690 bind_cpu();
691 init_unshare();
692 init_nl_sock();
693 init_msq();
694 init_sock();
695}
696// create_br1337() —— test if openswitch enabled
697void create_br1337() {
698 struct ovs_attr ovs_attrs[] = {

Callers 1

mainFunction · 0.85

Calls 5

bind_cpuFunction · 0.85
init_unshareFunction · 0.85
init_nl_sockFunction · 0.85
init_msqFunction · 0.85
init_sockFunction · 0.85

Tested by

no test coverage detected