diff options
author | Erik Bosman <ebn310@few.vu.nl> | 2008-04-11 18:54:17 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-19 19:19:55 +0200 |
commit | 8fb402bccf203ecca8f9e0202b8fd3c937dece6f (patch) | |
tree | 4f102f9cc81dedbf9271f728a4b1e6e731a6a174 /arch/x86/kernel/tsc_sync.c | |
parent | 5deb45e39b946901ae028ccd3a1d0b35fa387475 (diff) |
generic, x86: add prctl commands PR_GET_TSC and PR_SET_TSC
This patch adds prctl commands that make it possible
to deny the execution of timestamp counters in userspace.
If this is not implemented on a specific architecture,
prctl will return -EINVAL.
ned-off-by: Erik Bosman <ejbosman@cs.vu.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/tsc_sync.c')
0 files changed, 0 insertions, 0 deletions