Sync usage with man page.
[netbsd-mini2440.git] / sys / arch / xen / include / xen3-public / xsm / flask_op.h
blob7882d73cea9b94499e3d5e127de71e554889533d
1 /*
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.
9 */
11 #ifndef __FLASK_OP_H__
12 #define __FLASK_OP_H__
14 #define FLASK_LOAD 1
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
22 #define FLASK_USER 9
23 #define FLASK_POLICYVERS 10
24 #define FLASK_GETBOOL 11
25 #define FLASK_SETBOOL 12
26 #define FLASK_COMMITBOOLS 13
27 #define FLASK_MLS 14
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 {
38 uint32_t cmd;
39 uint32_t size;
40 char *buf;
41 } flask_op_t;
43 DEFINE_XEN_GUEST_HANDLE(flask_op_t);
45 #endif