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, struct context *src)
61 static inline int mls_context_cpy_low(struct context *dst, struct context *src)
81 static inline int mls_context_cpy_high(struct context *dst, struct context *src)
99 static inline int mls_context_glblub(struct context *dst,
100 struct context *c1, struct context *c2)
130 static inline int mls_context_cmp(struct context *c1, struct context *c2)
138 static inline void mls_context_destroy(struct context *c)
145 static inline void context_init(struct context *c)
150 static inline int context_cpy(struct context *dst, struct context *src)
174 static inline void context_destroy(struct context *c)
183 static inline int context_cmp(struct context *c1, struct context *c2)
195 u32 context_compute_hash(const struct context *c);