Do not append .ko suffix for exploits
此提交包含在:
5
main.go
5
main.go
@@ -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"
|
||||
|
||||
|
新增問題並參考
封鎖使用者