That is to say, fortify getrandom(2).
Sponsored by: Stormshield
Sponsored by: Klara, Inc.
Differential D45683
include: ssp: fortify <sys/random.h> kevans on Jun 21 2024, 5:00 PM. Authored by Tags None Referenced Files
Subscribers
Details
That is to say, fortify getrandom(2). Sponsored by: Stormshield
Diff Detail
Event TimelineComment Actions Does it make sense in general to fortify non-standard interfaces like arc4random_buf()? Comment Actions I'm curious to hear your thoughts here, because I hadn't considered there may be a reason not to -- their uses are still susceptible to the same kind of easy-to-catch bugs you might make with many of the standardized interfaces, so if they don't add much complexity I assumed it was worth it even if they're not often-used. Comment Actions Am I right that this patch series doesn't fortify arc4random_buf(), or did I just miss it? I'd assume it's worth it as well, I don't see a downside. |