diff options
-rw-r--r-- | lib/uid_wrapper/uid_wrapper.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/uid_wrapper/uid_wrapper.c b/lib/uid_wrapper/uid_wrapper.c index 0bc961ebdf7..f53aa470992 100644 --- a/lib/uid_wrapper/uid_wrapper.c +++ b/lib/uid_wrapper/uid_wrapper.c @@ -578,6 +578,8 @@ static void uwrap_init(void) return; } + UWRAP_LOG(UWRAP_LOG_DEBUG, "Initialize uid_wrapper"); + /* * If we hold a lock and the application forks, then the child * is not able to unlock the mutex and we are in a deadlock. @@ -611,9 +613,15 @@ static void uwrap_init(void) } uwrap.enabled = true; + + UWRAP_LOG(UWRAP_LOG_DEBUG, + "Enabled uid_wrapper as %s", + uwrap.myuid == 0 ? "root" : "user"); } pthread_mutex_unlock(&uwrap_id_mutex); + + UWRAP_LOG(UWRAP_LOG_DEBUG, "Succeccfully initialized uid_wrapper"); } bool uid_wrapper_enabled(void) |