Kernel should be as simple as possible but no simpler. Dates and times and (most) unicode data is not it's concern.
If we could wave a magic want to enforce UTF-8 strings at all boundaries, with whatever is generally regarded as the best form of normalisation, could be an improvement, but it's too late for that now.
Look at the crypto API, after several critical vulnerabilities we've come around to agree that it should not be in the kernel at all.
Same for try handling, all that complexity just results in bugs, better hand it off to user space where it will do less harm when it goes wrong...
View all comments
Show parent comment
2
u/yrro Oct 12 '26
Kernel should be as simple as possible but no simpler. Dates and times and (most) unicode data is not it's concern.
If we could wave a magic want to enforce UTF-8 strings at all boundaries, with whatever is generally regarded as the best form of normalisation, could be an improvement, but it's too late for that now.
Look at the crypto API, after several critical vulnerabilities we've come around to agree that it should not be in the kernel at all.
Same for try handling, all that complexity just results in bugs, better hand it off to user space where it will do less harm when it goes wrong...