2 * xdm - display manager daemon
4 * $XConsortium: bls.h /main/4 1996/10/30 11:35:48 drk $
6 * Copyright 1988 Massachusetts Institute of Technology
8 * Permission to use, copy, modify, and distribute this software and its
9 * documentation for any purpose and without fee is hereby granted, provided
10 * that the above copyright notice appear in all copies and that both that
11 * copyright notice and this permission notice appear in supporting
12 * documentation, and that the name of M.I.T. not be used in advertising or
13 * publicity pertaining to distribution of the software without specific,
14 * written prior permission. M.I.T. makes no representations about the
15 * suitability of this software for any purpose. It is provided "as is"
16 * without express or implied warranty.
18 * Author: Keith Packard, MIT X Consortium
24 * public interfaces for B1 greet/verify functionality
31 typedef unsigned char BOOL;
42 #include <sys/security.h>
43 #include <sys/audit.h> /* for passwd and pr_passwd */
47 #undef dirty /* Some bozo put a macro called dirty in sys/param.h */
51 char *name; /* user name */
52 char *password; /* user password */
54 char *b1security; /* user's b1 security */
56 char *string; /* random string */
60 int uid; /* user id */
62 int groups[NGROUPS];/* group list */
63 int ngroups; /* number of elements in groups */
65 int gid; /* group id */
67 char **argv; /* arguments to session */
68 char **userEnviron; /* environment for session */
69 char **systemEnviron;/* environment for startup/reset */
72 struct mand_ir_t *sec_label_ir;
73 struct mand_ir_t *clearance_ir;
74 /* save these for logout time */
75 struct pr_passwd *prpwd;
81 /***************************************************************************
85 ***************************************************************************/
86 extern struct pr_passwd *b1_pwd;
87 extern struct verify_info *verify;
88 extern struct greet_info *greet;