} u;
};
+/* A user pattern matches a user if the uid is within the given bounds. */
+struct userpat {
+ unsigned lo, hi;
+};
+
/* A policy rule: if the query matches the pattern, then perform the
* action.
*/
struct policy {
const struct addrops *ao;
struct sockpat sp[NDIR];
+ struct userpat up;
struct action act;
};
#define POLICY_INIT(a) { .act.act = a }