|
From: <mla...@us...> - 2006-11-14 07:34:58
|
Revision: 137
http://svn.sourceforge.net/g15daemon/?rev=137&view=rev
Author: mlampard
Date: 2006-11-13 23:34:50 -0800 (Mon, 13 Nov 2006)
Log Message:
-----------
add dev/misc to the uinput search locations.
Modified Paths:
--------------
trunk/g15daemon/ChangeLog
trunk/g15daemon/g15daemon/g15_uinput.c
Modified: trunk/g15daemon/ChangeLog
===================================================================
--- trunk/g15daemon/ChangeLog 2006-11-13 06:40:53 UTC (rev 136)
+++ trunk/g15daemon/ChangeLog 2006-11-14 07:34:50 UTC (rev 137)
@@ -84,3 +84,4 @@
1.2.5svn -> current
- Add compiletime check for uinput version, should resolve compilation problems on some distro's
- Security improved - the daemon now sets its effective uid to nobody as soon as possible.
+- Add /dev/misc/ to the list of possible locations for the uinput device
Modified: trunk/g15daemon/g15daemon/g15_uinput.c
===================================================================
--- trunk/g15daemon/g15daemon/g15_uinput.c 2006-11-13 06:40:53 UTC (rev 136)
+++ trunk/g15daemon/g15daemon/g15_uinput.c 2006-11-14 07:34:50 UTC (rev 137)
@@ -54,7 +54,7 @@
int i=0;
struct uinput_user_dev uinp;
- static const char *uinput_device_fn[] = { "/dev/uinput", "/dev/input/uinput",0};
+ static const char *uinput_device_fn[] = { "/dev/uinput", "/dev/input/uinput", "/dev/misc/uinput",0};
while (uinput_device_fn[i] && (uinp_fd = open(uinput_device_fn[i],O_RDWR))<0){
++i;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|