News for hackers. Stuff that matters.
Re:OpenBSD on the Lenovo ThinkPad X1 Nano by ThinkBeat on Thursday January 28, 2021 @11:10PM (#25953785)
Do you have any links to that?

I am curious what they are?

Re:OpenBSD on the Lenovo ThinkPad X1 Nano by seabird on Thursday January 28, 2021 @11:46PM (#25954043)
https://marc.info/?l=openbsd-misc&m=152600018515730&w=2

This is what I had in mind. This obviously impacts some useful gdb features, but such is the nature of OpenBSD.

Re:OpenBSD on the Lenovo ThinkPad X1 Nano by RJIb8RBYxzAMX9u on Friday January 29, 2021 @05:53AM (#25956045)
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