From: Keir Fraser Subject: Re: [PATCH] tools/ Exposes Flask XSM AVC functions to user-space Date: Fri, 22 Jan 2010 16:50:00 +0000 Message-ID: References: <4B59CCB1.8050504@tycho.ncsc.mil> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4B59CCB1.8050504@tycho.ncsc.mil> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Machon Gregory , "xen-devel@lists.xensource.com" Cc: "tc-team@tarius.tycho.ncsc.mil" List-Id: xen-devel@lists.xenproject.org Is this intended for 4.0.0? -- Keir On 22/01/2010 16:05, "Machon Gregory" wrote: > This patch exposes the flask_access, flask_avc_cachestats, > flask_avc_hashstats, flask_getavc_threshold, flask_setavc_threshold, and > flask_policyvers functions to user-space. A python wrapper was created > for the flask_access function to facilitate policy based user-space > access control decisions. flask.h was renamed to libflask.h to remove a > naming conflict. > > Signed-off-by : Machon Gregory > > --- > > tools/flask/libflask/Makefile | 2 > tools/flask/libflask/flask_op.c | 159 > +++++++++++++++++++++++++++++++- > tools/flask/libflask/include/flask.h | 43 -------- > tools/flask/libflask/include/libflask.h | 53 ++++++++++ > tools/flask/utils/getenforce.c | 2 > tools/flask/utils/loadpolicy.c | 2 > tools/flask/utils/setenforce.c | 2 > tools/python/xen/lowlevel/flask/flask.c | 60 +++++++++++- > 8 files changed, 274 insertions(+), 49 deletions(-) > > >