On 09/24/2012 01:43 PM, Kees Cook wrote:
> 
> How about this...
> 
> mem protection  : nx smap smep
> 
> Maybe the "why" of a cpu feature being missing from the "mem
> protection" line can stay in printk?
> 

Come to think about it, since we use setup_set/clear_cpu_cap we aready
don't list the feature in /proc/cpuinfo already if it isn't enabled.

I would therefore suggest that we simply printk a message if the feature
is disabled.

        -hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to