debuggers.hg

view xen/xsm/flask/include/objsec.h @ 0:7d21f7218375

Exact replica of unstable on 051908 + README-this
author Mukesh Rathor
date Mon May 19 15:34:57 2008 -0700 (2008-05-19)
parents
children
line source
1 /*
2 * NSA Security-Enhanced Linux (SELinux) security module
3 *
4 * This file contains the Flask security data structures for xen objects.
5 *
6 * Author(s): George Coker, <gscoker@alpha.ncsc.mil>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2,
10 * as published by the Free Software Foundation.
11 */
13 #ifndef _FLASK_OBJSEC_H_
14 #define _FLASK_OBJSEC_H_
16 #include <xen/sched.h>
17 #include "flask.h"
18 #include "avc.h"
20 struct domain_security_struct {
21 struct domain *d; /* back pointer to domain object */
22 u32 sid; /* current SID */
23 u32 create_sid;
24 };
26 struct evtchn_security_struct {
27 struct evtchn *chn; /* back pointer to evtchn object */
28 u32 sid; /* current SID */
29 };
31 extern unsigned int selinux_checkreqprot;
33 #endif /* _FLASK_OBJSEC_H_ */