2 * CDE - Common Desktop Environment
4 * Copyright (c) 1993-2012, The Open Group. All rights reserved.
6 * These libraries and programs are free software; you can
7 * redistribute them and/or modify them under the terms of the GNU
8 * Lesser General Public License as published by the Free Software
9 * Foundation; either version 2 of the License, or (at your option)
12 * These libraries and programs are distributed in the hope that
13 * they will be useful, but WITHOUT ANY WARRANTY; without even the
14 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 * PURPOSE. See the GNU Lesser General Public License for more
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with these librararies and programs; if not, write
20 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21 * Floor, Boston, MA 02110-1301 USA
24 * xdm - display manager daemon
26 * $XConsortium: bls.h /main/4 1996/10/30 11:35:48 drk $
28 * Copyright 1988 Massachusetts Institute of Technology
30 * Permission to use, copy, modify, and distribute this software and its
31 * documentation for any purpose and without fee is hereby granted, provided
32 * that the above copyright notice appear in all copies and that both that
33 * copyright notice and this permission notice appear in supporting
34 * documentation, and that the name of M.I.T. not be used in advertising or
35 * publicity pertaining to distribution of the software without specific,
36 * written prior permission. M.I.T. makes no representations about the
37 * suitability of this software for any purpose. It is provided "as is"
38 * without express or implied warranty.
40 * Author: Keith Packard, MIT X Consortium
46 * public interfaces for B1 greet/verify functionality
53 typedef unsigned char BOOL;
64 #include <sys/security.h>
65 #include <sys/audit.h> /* for passwd and pr_passwd */
69 #undef dirty /* Some bozo put a macro called dirty in sys/param.h */
73 char *name; /* user name */
74 char *password; /* user password */
76 char *b1security; /* user's b1 security */
78 char *string; /* random string */
82 int uid; /* user id */
84 int groups[NGROUPS];/* group list */
85 int ngroups; /* number of elements in groups */
87 int gid; /* group id */
89 char **argv; /* arguments to session */
90 char **userEnviron; /* environment for session */
91 char **systemEnviron;/* environment for startup/reset */
94 struct mand_ir_t *sec_label_ir;
95 struct mand_ir_t *clearance_ir;
96 /* save these for logout time */
97 struct pr_passwd *prpwd;
103 /***************************************************************************
107 ***************************************************************************/
108 extern struct pr_passwd *b1_pwd;
109 extern struct verify_info *verify;
110 extern struct greet_info *greet;