1
0
Fork 0

Do not append .ko suffix for exploits

timestamps
dump_stack() 2018-10-07 17:25:44 +00:00
parent 4d6caef219
commit 4876c01b06
1 changed files with 4 additions and 1 deletions

View File

@ -142,7 +142,10 @@ func build(tmp string, ka artifact, ki kernelInfo) (outPath, output string, err
return
}
outPath = tmpSourcePath + "/" + target + ".ko"
outPath = tmpSourcePath + "/" + target
if ka.Type == KernelModule {
outPath += ".ko"
}
kernel := "/lib/modules/" + ki.KernelRelease + "/build"