blob: b4650af115f93ea1d4b55235bcd0c0f802cbc212 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#ifndef PRIVEXEC_CHECK_H
#define PRIVEXEC_CHECK_H
#ifndef CONFIG_PATH
#define CONFIG_PATH "/etc/privexec.conf"
#endif
enum permission { UNKNOWN, NO_AUTH, NEED_AUTH, DENIED };
void fatal(int include_errno, char *fmt, ...);
enum permission get_permission(const char *user, const char *group, const char *cmd);
#endif
|