version 1.1, 2011/05/20 16:02:05
|
version 1.2.4.2, 2013/04/09 08:29:20
|
Line 14
|
Line 14
|
|
|
#define DEFAULT_CONFIG "/etc/suX.conf" |
#define DEFAULT_CONFIG "/etc/suX.conf" |
#define DEFAULT_CMD "!/bin/sh -c" |
#define DEFAULT_CMD "!/bin/sh -c" |
|
#define DEFAULT_LOG "/var/log/suX.log" |
|
|
#ifndef PACKAGE_NAME |
#ifndef PACKAGE_NAME |
#define PACKAGE_NAME "suX" |
#define PACKAGE_NAME "suX" |
Line 21
|
Line 22
|
|
|
|
|
struct tagProc { |
struct tagProc { |
short proc_uid; | ait_val_t proc_uid; |
short proc_gid; | ait_val_t proc_gid; |
int proc_prio; | ait_val_t proc_prio; |
char proc_class[STRSIZ]; | ait_val_t proc_class; |
char proc_dir[MAXPATHLEN]; | ait_val_t proc_dir; |
char proc_name[MAXPATHLEN]; | ait_val_t proc_name; |
char proc_cmd[MAXPATHLEN]; | ait_val_t proc_cmd; |
}; |
}; |
|
|
|
|
extern char **environ; |
extern char **environ; |
extern sl_config cfg; | extern cfg_root_t cfg; |
extern int Verbose; |
extern int Verbose; |
extern struct tagProc proc; |
extern struct tagProc proc; |
|
extern FILE *lf; |
|
|
|
|
#endif |
#endif |