6
#include <sys/resource.h>
13
#ifdef HAVE_CAPABILITIES
14
#include <sys/capability.h>
23
struct stringlist *port;
24
struct stringlist *interface;
36
struct numlist *rpcvers;
37
#ifdef HAVE_CAPABILITIES
41
rl_opcode_t iname; /* stringtab for service name */
42
rl_opcode_t exec; /* stringtab for program to exec */
43
rl_opcode_t parent; /* oplist for parent to exec post-fork */
44
rl_opcode_t iuser; /* stringtab for username */
46
uid_t setuid; /* user id */
47
gid_t supgid; /* supplementary groupid for initgroups */
48
gid_t setgid; /* primary group */
49
int sgid; /* true if an OP_SGID is in the opstream */
51
int disabled; /* if parse error in service declaration */
52
int internal; /* if internal service */
54
rl_opcode_t run; /* opstream to hook onto listening socket */
55
rl_opcode_t onexit; /* opstream to run when child exits */
57
void *filter; /* LSF program to attach to sockets */
58
int filterlen; /* length of above LSF program */
62
void numlist_add(struct numlist **, long);
63
void numlist_copy(struct numlist **, struct numlist *);
64
void numlist_free(struct numlist *);
68
struct stringlist *next;
71
void stringlist_add(struct stringlist **, char *);
72
void stringlist_copy(struct stringlist **, struct stringlist *);
73
void stringlist_free(struct stringlist *);
81
void builduserdata(struct userdata **, char *);
82
void clearuserdata(struct userdata **);
83
void newuserdata(struct userdata **);
84
void userdata_copy(struct userdata **, struct userdata *);