Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

cat /proc/cpuinfo | grep pti


What is the expected outcome if its patched vs. not?

I am getting:

  fpu_exception	: yes


You should see "pti" on the "flags" line of /proc/cpuinfo. You apparently don't, so you don't have page table isolation.


No, he shouldn’t be seeing that regardless as it doesn’t match the grep regex. I don’t know what, though.

Edit: facepalm. Or should that be foot-in-mouth?


It does match the regex. "pti" is a substring in "exception"


Thanks. I feel stupid, I looked that line up, down, and sideways for a match :/


I was wrong


I currently have the following system (up-to-date):

  Ubuntu 16.04.3 LTS (GNU/Linux 4.4.0-104-generic x86_64)
I ran the following command:

  sudo cat /proc/cpuinfo | grep pti
which returned:

  fpu_exception	: yes
Note the instance of 'pti' in the word 'exception'.


fpu_excePTIon




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: