aboutsummaryrefslogtreecommitdiff
path: root/src/pies.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pies.h')
-rw-r--r--src/pies.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/pies.h b/src/pies.h
index 69d324d..cc28c69 100644
--- a/src/pies.h
+++ b/src/pies.h
@@ -242,7 +242,7 @@ struct component
(if mode == pies_comp_pass_fd) */
unsigned pass_fd_timeout; /* Maximum time to wait for pass_fd socket to
become available. */
- pies_acl_t acl;
+ pies_acl_t acl; /* Connection ACL */
char *tcpmux; /* Master service for TCPMUX */
/* Optional error messages to be sent back on the socket: */
@@ -256,6 +256,9 @@ struct component
/* Actions to execute on various exit codes: */
struct action *act_head, *act_tail;
struct action act_temp; /* Auxiliary object used during configuration */
+ /* ACLs for control interface */
+ pies_acl_t list_acl; /* List access control list */
+ pies_acl_t adm_acl; /* Administrative ACL (stop, start, etc.) */
};
#define is_sysvinit(cp) ((cp)->mode >= pies_mark_sysvinit || (cp)->runlevels)
@@ -562,10 +565,11 @@ void sysvinit_acct (int what, const char *user, const char *id, pid_t pid,
/* ctl.c */
struct control
{
- struct pies_url *url;
- pies_acl_t conn_acl;
- pies_acl_t id_acl;
- unsigned int idle_timeout;
+ struct pies_url *url; /* Control socket URL */
+ pies_acl_t conn_acl; /* Connection ACL */
+ pies_acl_t adm_acl; /* Administrative ACL */
+ pies_acl_t usr_acl; /* User ACL */
+ unsigned int idle_timeout; /* Session idle timeout */
};
extern struct control control;

Return to:

Send suggestions and report system problems to the System administrator.