kernel-headers icon indicating copy to clipboard operation
kernel-headers copied to clipboard

Upgrade to kernel 5.1

Open gnzlbg opened this issue 5 years ago • 6 comments

Are there musl sanitized versions of the latest kernel headers ? E.g. the ones shipped with Ubuntu 19.04 ?

gnzlbg avatar May 24 '19 13:05 gnzlbg

currently not. is there something missing in particular that you need? if not, there should be no issue with using the ones we ship.

rofl0r avatar May 24 '19 19:05 rofl0r

MAP_FIXED_NOREPLACE, among many others, but I can compile a comprehensive List if you want.

gnzlbg avatar May 25 '19 09:05 gnzlbg

Basically we ship Rust musl targets with the headers here (thank you, btw, without this, it would be much harder to do this), and while our Rust gnu targets supports up-to kernel 5.x features, our musl ones do not.

gnzlbg avatar May 25 '19 09:05 gnzlbg

i pushed a tag for kernel 4.4.2-based headers, plus a number of regression tests. seems to work fine so far (i did a testbuild of a good portion of sabotage's packages against it). i also tried with a much newer kernel, however there were a lot of internal inconsistencies, so i opted for a smaller jump for the time being. in number of major kernel version bumps, this is roughly half way between where we were and 5.x.

rofl0r avatar May 25 '19 23:05 rofl0r

i pushed a tag for kernel 4.4.2-based headers, plus a number of regression tests. seems to work fine so far (i did a testbuild of a good portion of sabotage's packages against it).

@rofl0r thank you! I'll upgrade our musl builders to start using that, and once we finish some internal refactorings, we should end up with a documented list of what exactly (if anything) are we still missing.

i also tried with a much newer kernel, however there were a lot of internal inconsistencies, so i opted for a smaller jump for the time being.

Makes sense. For us it is also good to do these updates incrementally.

gnzlbg avatar May 26 '19 08:05 gnzlbg

Another update would be nice, e.g. for struct clone_args.

copy avatar Jun 14 '24 16:06 copy