Hacker News new | ask | show | jobs
by RJIb8RBYxzAMX9u 1971 days ago
I'm a fan of OpenBSD's more conservative and structured approach to software development, but in this case I must beg to differ. In the linked CVE, OpenBSD was unaffected because "[it] didn't chase the fad of using every Intel cpu feature." The feature in question was user-space hardware debug register access. Without such access, watch-points are borderline unusable[0].

Perhaps prohibiting access to user-space except GDB would be a reasonable compromise. Also, debug registers are not unique to x86: most (all?) CPU architectures have them. So calling it a "fad [...] Intel cpu feature" is a bit unfair.

[0] https://marc.info/?l=openbsd-misc&m=152609160230624&w=2