diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2015-01-15 10:14:30 +0100 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2015-04-07 02:01:10 -0700 |
commit | d5c1493b5fe0871f4f2823125f0d49f8e1edcda7 (patch) | |
tree | 1ca48cf131491dbea7293ecbb894288ab7f84a02 /tools/vmmouse_detect.c | |
parent | 1cbbc03c4b37d57760c57bd2e0b0f89d744a5795 (diff) |
vmmouse: Run vmmouse_detect as an io privileged process
Many distros already include patches to do this in various more or less
hackish ways. Since VMware now is about to restrict access to the VMmouse
backdoor, let's try to support it officially.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Acked-by: Sinclair Yeh <syeh@vmware.com>
Diffstat (limited to 'tools/vmmouse_detect.c')
-rw-r--r-- | tools/vmmouse_detect.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/vmmouse_detect.c b/tools/vmmouse_detect.c index b743b2d..1d28122 100644 --- a/tools/vmmouse_detect.c +++ b/tools/vmmouse_detect.c @@ -58,6 +58,7 @@ main(void) signal(SIGSEGV, segvCB); #if defined __i386__ || defined __x86_64__ + (void) xf86EnableIO(); if (VMMouseClient_Enable()) { VMMouseClient_Disable(); return 0; |