Commit Graph

2 Commits

Author SHA1 Message Date
Michael Roitzsch
4224476df6 kmod: fix kmod tools crash on darwin
include the proper header for basename(), otherwise the returned
pointer is truncated to 32 bit because an int return type is assumed
2020-12-28 20:02:45 +01:00
Matthew Bauer
7a2c07d29b kmod: enable on darwin
This is needed to build linux kernels on darwin. While we can’t
actually use it to load kernel modules, we can use it to create
indexes of modules on macOS.

(cherry picked from commit ebb31480e8a45efbaff4c4a212bdfc0b053adde0)
2018-12-02 14:12:42 -06:00