blob: 6595dc3470624f88e588070cbd541c54b07fcd49 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
/*
* NSA Security-Enhanced Linux (SELinux) security module
*
* This file contains the Flask security data structures for xen objects.
*
* Author(s): George Coker, <gscoker@alpha.ncsc.mil>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*/
#ifndef _FLASK_OBJSEC_H_
#define _FLASK_OBJSEC_H_
#include <xen/sched.h>
#include "flask.h"
#include "avc.h"
struct domain_security_struct {
u32 sid; /* current SID */
u32 self_sid; /* SID for target when operating on DOMID_SELF */
u32 target_sid; /* SID for device model target domain */
};
struct evtchn_security_struct {
u32 sid; /* current SID */
};
extern unsigned int selinux_checkreqprot;
#endif /* _FLASK_OBJSEC_H_ */
|