|
From: <mla...@us...> - 2008-01-05 06:32:00
|
Revision: 404
http://g15daemon.svn.sourceforge.net/g15daemon/?rev=404&view=rev
Author: mlampard
Date: 2008-01-04 22:32:03 -0800 (Fri, 04 Jan 2008)
Log Message:
-----------
re-add ifdefs for solaris. S11 still requires them.
Modified Paths:
--------------
trunk/g15daemon-wip/g15daemon/main.c
Modified: trunk/g15daemon-wip/g15daemon/main.c
===================================================================
--- trunk/g15daemon-wip/g15daemon/main.c 2008-01-04 23:32:15 UTC (rev 403)
+++ trunk/g15daemon-wip/g15daemon/main.c 2008-01-05 06:32:03 UTC (rev 404)
@@ -480,12 +480,13 @@
cycle_key = 1==g15daemon_cfg_read_bool(global_cfg,"Use MR as Cycle Key",0)?G15_KEY_MR:G15_KEY_L1;
}
+#ifndef OSTYPE_SOLARIS
/* all other processes/threads should be seteuid nobody */
if(nobody!=NULL) {
seteuid(nobody->pw_uid);
setegid(nobody->pw_gid);
}
-
+#endif
/* initialise the pthread condition for the LCD thread */
g15daemon_init_refresh();
pthread_mutex_init(&g15lib_mutex, NULL);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|