On Mon, 29 Sep 2014 09:39:16 -0700, Andy Lutomirski said:

> Would it make sense to restrict rdpmc to tasks that are in mms that
> have a perf_event mapping?  After all, unless I misunderstand
> something, user code can't reliably use rdpmc unless they've mapped a
> perf_event object to check the rdpmc bit and figure out what ecx value
> to use.

Wouldn't that be trivially easy for an attacker to bypass? Just map a dummy
perf_event object  and then go to town?

Attachment: pgpsnJ4ZRMpAX.pgp
Description: PGP signature

Reply via email to