2 * This file contains the flask_op hypercall commands and definitions.
4 * Author: George Coker, <gscoker@alpha.ncsc.mil>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2,
8 * as published by the Free Software Foundation.
11 #ifndef __FLASK_OP_H__
12 #define __FLASK_OP_H__
15 #define FLASK_GETENFORCE 2
16 #define FLASK_SETENFORCE 3
17 #define FLASK_CONTEXT_TO_SID 4
18 #define FLASK_SID_TO_CONTEXT 5
19 #define FLASK_ACCESS 6
20 #define FLASK_CREATE 7
21 #define FLASK_RELABEL 8
23 #define FLASK_POLICYVERS 10
24 #define FLASK_GETBOOL 11
25 #define FLASK_SETBOOL 12
26 #define FLASK_COMMITBOOLS 13
28 #define FLASK_DISABLE 15
29 #define FLASK_GETAVC_THRESHOLD 16
30 #define FLASK_SETAVC_THRESHOLD 17
31 #define FLASK_AVC_HASHSTATS 18
32 #define FLASK_AVC_CACHESTATS 19
33 #define FLASK_MEMBER 20
35 #define FLASK_LAST FLASK_MEMBER
37 typedef struct flask_op
{
43 DEFINE_XEN_GUEST_HANDLE(flask_op_t
);