Lines Matching defs:context
3 * A security context is a set of security attributes
24 * A security context consists of an authenticated user
27 struct context {
33 char *str; /* string representation if context cannot be mapped. */
36 static inline void mls_context_init(struct context *c)
41 static inline int mls_context_cpy(struct context *dst, const struct context *src)
61 static inline int mls_context_cpy_low(struct context *dst, const struct context *src)
81 static inline int mls_context_cpy_high(struct context *dst, const struct context *src)
99 static inline int mls_context_glblub(struct context *dst,
100 const struct context *c1, const struct context *c2)
131 static inline int mls_context_cmp(const struct context *c1, const struct context *c2)
139 static inline void mls_context_destroy(struct context *c)
146 static inline void context_init(struct context *c)
151 static inline int context_cpy(struct context *dst, const struct context *src)
177 static inline void context_destroy(struct context *c)
186 static inline int context_cmp(const struct context *c1, const struct context *c2)
198 u32 context_compute_hash(const struct context *c);