1
/* pam_apparmor module */
4
* $Id: pam_apparmor.h 179 2006-10-31 16:33:02Z steve-beattie $
6
* Written by Jesse Michael <jmichael@suse.de> 2006/08/24
7
* and Steve Beattie <sbeattie@suse.de> 2006/10/25
9
* Redistribution and use in source and binary forms, with or without
10
* modification, are permitted provided that the following conditions
12
* 1. Redistributions of source code must retain the above copyright
13
* notice, and the entire permission notice in its entirety,
14
* including the disclaimer of warranties.
15
* 2. Redistributions in binary form must reproduce the above copyright
16
* notice, this list of conditions and the following disclaimer in the
17
* documentation and/or other materials provided with the distribution.
18
* 3. The name of the author may not be used to endorse or promote
19
* products derived from this software without specific prior
22
* ALTERNATIVELY, this product may be distributed under the terms of
23
* the GNU Public License, in which case the provisions of the GPL are
24
* required INSTEAD OF the above restrictions. (This clause is
25
* necessary due to a potential bad interaction between the GPL and
26
* the restrictions contained in a BSD-style copyright.)
28
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
29
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
30
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
31
* DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
32
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
33
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
34
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
35
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
36
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
37
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
38
* OF THE POSSIBILITY OF SUCH DAMAGE.
48
typedef enum hat_t hat_t;
50
#define MAX_HAT_TYPES 3
52
hat_t hat_type[MAX_HAT_TYPES];
55
extern int debug_flag;
57
extern int get_options(pam_handle_t *pamh, struct config **config,
58
int argc, const char **argv);