Lines Matching refs:context
4 * of security context structures indexed by SID value.
19 #include "context.h"
24 struct context context;
94 /* SID -> context string cache */
103 /* Hash table for fast reverse context-to-sid lookups. */
108 int sidtab_set_initial(struct sidtab *s, u32 sid, struct context *context);
112 static inline struct context *sidtab_search(struct sidtab *s, u32 sid)
116 return entry ? &entry->context : NULL;
119 static inline struct context *sidtab_search_force(struct sidtab *s, u32 sid)
123 return entry ? &entry->context : NULL;
135 int sidtab_context_to_sid(struct sidtab *s, struct context *context, u32 *sid);