Switched to using the root of /tmp for creating user semaphores.
This commit is contained in:
		| @@ -392,7 +392,7 @@ CreateUserMutex( | ||||
|  | ||||
|    // We use Named Semaphores to provide this functionality. The semaphore names are | ||||
|    // linked to the user via its uid. | ||||
|    if (sprintf(g_userNamedSemName, "/tmp/CASA/authtoken/client/semuser_%d", geteuid()) != -1) | ||||
|    if (sprintf(g_userNamedSemName, "/tmp/casa_auth_semuser_%d", geteuid()) != -1) | ||||
|    { | ||||
|       // Create or open semaphore to be only used by the effective user | ||||
|       g_userNamedSem = Local_sem_open((const char*) g_userNamedSemName, O_RDWR | O_CREAT, 0600, 1); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user