mirror of https://gitee.com/openkylin/linux.git
SELinux: mls.h whitespace, syntax, and other cleanups
This patch changes mls.h to fix whitespace and syntax issues. Things that are fixed may include (does not not have to include) spaces used instead of tabs Signed-off-by: Eric Paris <eparis@redhat.com> Signed-off-by: James Morris <jmorris@namei.org>
This commit is contained in:
parent
faff786ce2
commit
d497fc87c0
|
@ -13,7 +13,7 @@
|
|||
/*
|
||||
* Updated: Hewlett-Packard <paul.moore@hp.com>
|
||||
*
|
||||
* Added support to import/export the MLS label from NetLabel
|
||||
* Added support to import/export the MLS label from NetLabel
|
||||
*
|
||||
* (c) Copyright Hewlett-Packard Development Company, L.P., 2006
|
||||
*/
|
||||
|
@ -31,7 +31,7 @@ int mls_range_isvalid(struct policydb *p, struct mls_range *r);
|
|||
int mls_level_isvalid(struct policydb *p, struct mls_level *l);
|
||||
|
||||
int mls_context_to_sid(char oldc,
|
||||
char **scontext,
|
||||
char **scontext,
|
||||
struct context *context,
|
||||
struct sidtab *s,
|
||||
u32 def_sid);
|
||||
|
@ -49,7 +49,7 @@ int mls_compute_sid(struct context *scontext,
|
|||
struct context *newcontext);
|
||||
|
||||
int mls_setup_user_range(struct context *fromcon, struct user_datum *user,
|
||||
struct context *usercon);
|
||||
struct context *usercon);
|
||||
|
||||
#ifdef CONFIG_NETLABEL
|
||||
void mls_export_netlbl_lvl(struct context *context,
|
||||
|
|
Loading…
Reference in New Issue