|
Linux Kernel
3.7.1
|
#include <linux/kernel.h>#include <linux/slab.h>#include <linux/string.h>#include <linux/errno.h>#include <net/netlabel.h>#include "sidtab.h"#include "mls.h"#include "policydb.h"#include "services.h"Go to the source code of this file.
Functions | |
| int | mls_compute_context_len (struct context *context) |
| void | mls_sid_to_context (struct context *context, char **scontext) |
| int | mls_level_isvalid (struct policydb *p, struct mls_level *l) |
| int | mls_range_isvalid (struct policydb *p, struct mls_range *r) |
| int | mls_context_isvalid (struct policydb *p, struct context *c) |
| int | mls_context_to_sid (struct policydb *pol, char oldc, char **scontext, struct context *context, struct sidtab *s, u32 def_sid) |
| int | mls_from_string (char *str, struct context *context, gfp_t gfp_mask) |
| int | mls_range_set (struct context *context, struct mls_range *range) |
| int | mls_setup_user_range (struct context *fromcon, struct user_datum *user, struct context *usercon) |
| int | mls_convert_context (struct policydb *oldp, struct policydb *newp, struct context *c) |
| int | mls_compute_sid (struct context *scontext, struct context *tcontext, u16 tclass, u32 specified, struct context *newcontext, bool sock) |
1.8.2