11#ifndef __PRIVILEGES_H__
12#define __PRIVILEGES_H__
WS_DLL_PUBLIC char * get_cur_username(void)
Retrieves the current username.
Definition privileges.c:245
WS_DLL_PUBLIC void relinquish_special_privs_perm(void)
Permanently drops any special privileges.
Definition privileges.c:212
WS_DLL_PUBLIC bool started_with_special_privs(void)
Checks whether the program was started with special privileges.
Definition privileges.c:150
WS_DLL_PUBLIC char * get_cur_groupname(void)
Retrieves the current group name.
Definition privileges.c:262
WS_DLL_PUBLIC bool running_with_special_privs(void)
Checks whether the program is currently running with special privileges.
Definition privileges.c:165
WS_DLL_PUBLIC void init_process_policies(void)
Initializes process-level security policies.
Definition privileges.c:135