mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 19:05:06 -05:00
sys: move getpwnam() call to main.c
Pass uid/gid instead of user name to the root dropping function.
This commit is contained in:
@@ -31,7 +31,7 @@ extern void SYS_Linux_Initialise(void);
|
||||
|
||||
extern void SYS_Linux_Finalise(void);
|
||||
|
||||
extern void SYS_Linux_DropRoot(char *user);
|
||||
extern void SYS_Linux_DropRoot(uid_t uid, gid_t gid);
|
||||
|
||||
extern void SYS_Linux_MemLockAll(int LockAll);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user