updated module type to be 'RLM_TYPE_THREAD_USAFE' due to the use of
authorcparker <cparker>
Sat, 25 Aug 2001 00:08:29 +0000 (00:08 +0000)
committercparker <cparker>
Sat, 25 Aug 2001 00:08:29 +0000 (00:08 +0000)
getusershell(), which is not thread safe

src/modules/rlm_unix/rlm_unix.c

index 8a7b61f..59b7875 100644 (file)
@@ -601,7 +601,7 @@ static int unix_accounting(void *instance, REQUEST *request)
 /* globally exported name */
 module_t rlm_unix = {
   "System",
-  0,                            /* type: reserved */
+  RLM_TYPE_THREAD_UNSAFE,        /* type: reserved */
   unix_init,                    /* initialization */
   unix_instantiate,            /* instantiation */
   {