summaryrefslogtreecommitdiff
path: root/libntp/work_fork.c
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2018-08-20 06:07:33 +0000
committerXin LI <delphij@FreeBSD.org>2018-08-20 06:07:33 +0000
commitc7f4d2332394d5600fe4e14c530ede36b0ff29b0 (patch)
treebe0b200d6dc09373927db61d685acc61113c64c1 /libntp/work_fork.c
parentd14ac12f8738acac881f20b4d6244cfc22c68ead (diff)
Notes
Diffstat (limited to 'libntp/work_fork.c')
-rw-r--r--libntp/work_fork.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libntp/work_fork.c b/libntp/work_fork.c
index 2aa2d5cd3046..cce686f239cc 100644
--- a/libntp/work_fork.c
+++ b/libntp/work_fork.c
@@ -89,6 +89,8 @@ netwrite(
}
+int set_user_group_ids(void);
+
/* === functions === */
/*
* exit_worker()
@@ -592,6 +594,8 @@ fork_blocking_child(
init_logging("ntp_intres", 0, FALSE);
setup_logfile(NULL);
+ (void) set_user_group_ids();
+
/*
* And now back to the portable code
*/