summaryrefslogtreecommitdiff
path: root/src/nsssd/nsssd_main.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2019-09-04 00:38:12 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2019-09-04 00:38:12 +0000
commitad8f4725b4d41c652dd414037bec59cc9aa919a4 (patch)
tree64237b77365d5be52cc1541ff9ef037c96a9ce65 /src/nsssd/nsssd_main.c
parentb6b314d2dc954338fd67fcb1f616b1bdcaba0e62 (diff)
downloadnsss-ad8f4725b4d41c652dd414037bec59cc9aa919a4.tar.xz
Use stopwatch where applicable
Diffstat (limited to 'src/nsssd/nsssd_main.c')
-rw-r--r--src/nsssd/nsssd_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nsssd/nsssd_main.c b/src/nsssd/nsssd_main.c
index b26a74a..ec964e9 100644
--- a/src/nsssd/nsssd_main.c
+++ b/src/nsssd/nsssd_main.c
@@ -402,7 +402,8 @@ int nsssd_main (char const *const *argv, char const *const *envp)
if (!uid0_scan(x, &uid)) strerr_dieinvalid(100, "IPCREMOTEEUID") ;
if (setuid(uid) == -1) strerr_diefu2sys(111, "setuid to ", x) ;
}
-
+
+ tain_now_set_stopwatch() ;
a = nsssd_handle_init() ;
if (ndelay_on(0) < 0) strerr_diefu1sys(111, "set stdin non-blocking") ;
tain_now_g() ;