X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=security%2Fselinux%2Fss%2Fmls.h;fp=security%2Fselinux%2Fss%2Fmls.h;h=fbb42f07dd7c04f390ecb7c07d5872514ed8a4df;hb=43bc926fffd92024b46cafaf7350d669ba9ca884;hp=0d37beaa85e2f555cfd1f372f5baa6afa88ba031;hpb=cee37fe97739d85991964371c1f3a745c00dd236;p=linux-2.6.git diff --git a/security/selinux/ss/mls.h b/security/selinux/ss/mls.h index 0d37beaa8..fbb42f07d 100644 --- a/security/selinux/ss/mls.h +++ b/security/selinux/ss/mls.h @@ -8,7 +8,7 @@ * * Support for enhanced MLS infrastructure. * - * Copyright (C) 2004-2005 Trusted Computer Solutions, Inc. + * Copyright (C) 2004-2006 Trusted Computer Solutions, Inc. */ #ifndef _SS_MLS_H_ @@ -23,7 +23,11 @@ int mls_context_isvalid(struct policydb *p, struct context *c); int mls_context_to_sid(char oldc, char **scontext, - struct context *context); + struct context *context, + struct sidtab *s, + u32 def_sid); + +int mls_from_string(char *str, struct context *context, gfp_t gfp_mask); int mls_convert_context(struct policydb *oldp, struct policydb *newp,