Mark more modules safe for -C
authoraland <aland>
Mon, 12 Nov 2007 06:16:56 +0000 (06:16 +0000)
committeraland <aland>
Mon, 12 Nov 2007 06:16:56 +0000 (06:16 +0000)
src/modules/rlm_detail/rlm_detail.c
src/modules/rlm_radutmp/rlm_radutmp.c
src/modules/rlm_unix/rlm_unix.c

index f4eec15..717a23a 100644 (file)
@@ -556,7 +556,7 @@ static int detail_post_proxy(void *instance, REQUEST *request)
 module_t rlm_detail = {
        RLM_MODULE_INIT,
        "detail",
-       RLM_TYPE_THREAD_UNSAFE,        /* type: reserved */
+       RLM_TYPE_THREAD_UNSAFE | RLM_TYPE_CHECK_CONFIG_SAFE,
        detail_instantiate,             /* instantiation */
        detail_detach,                  /* detach */
        {
index 861f0c3..c96393f 100644 (file)
@@ -749,7 +749,7 @@ static int radutmp_checksimul(void *instance, REQUEST *request)
 module_t rlm_radutmp = {
        RLM_MODULE_INIT,
        "radutmp",
-       0,                            /* type: reserved */
+       RLM_TYPE_CHECK_CONFIG_SAFE,     /* type */
        radutmp_instantiate,          /* instantiation */
        radutmp_detach,               /* detach */
        {
index 1313f55..6a0fbd8 100644 (file)
@@ -588,7 +588,7 @@ static int unix_accounting(void *instance, REQUEST *request)
 module_t rlm_unix = {
        RLM_MODULE_INIT,
        "System",
-       RLM_TYPE_THREAD_UNSAFE,        /* type */
+       RLM_TYPE_THREAD_UNSAFE | RLM_TYPE_CHECK_CONFIG_SAFE,
        unix_instantiate,               /* instantiation */
        unix_detach,                    /* detach */
        {