Home
last modified time | relevance | path

Searched refs:selabel_handle (Results 1 – 7 of 7) sorted by relevance

/external/libselinux/src/
Dlabel_internal.h20 int selabel_file_init(struct selabel_handle *rec, struct selinux_opt *opts,
22 int selabel_media_init(struct selabel_handle *rec, struct selinux_opt *opts,
24 int selabel_x_init(struct selabel_handle *rec, struct selinux_opt *opts,
26 int selabel_db_init(struct selabel_handle *rec,
28 int selabel_property_init(struct selabel_handle *rec,
47 struct selabel_handle { struct
53 struct selabel_lookup_rec *(*func_lookup) (struct selabel_handle *h, argument
55 void (*func_close) (struct selabel_handle *h); argument
56 void (*func_stats) (struct selabel_handle *h); argument
69 selabel_validate(struct selabel_handle *rec, argument
Dlabel.c19 typedef int (*selabel_initfunc)(struct selabel_handle *rec,
43 int selabel_validate(struct selabel_handle *rec, in selabel_validate()
64 struct selabel_handle *selabel_open(unsigned int backend, in selabel_open()
67 struct selabel_handle *rec = NULL; in selabel_open()
77 rec = (struct selabel_handle *)malloc(sizeof(*rec)); in selabel_open()
95 selabel_lookup_common(struct selabel_handle *rec, int translating, in selabel_lookup_common()
106 int selabel_lookup(struct selabel_handle *rec, security_context_t *con, in selabel_lookup()
119 void selabel_close(struct selabel_handle *rec) in selabel_close()
125 void selabel_stats(struct selabel_handle *rec) in selabel_stats()
Dlabel_android_property.c83 static int process_line(struct selabel_handle *rec, in process_line()
135 static int init(struct selabel_handle *rec, struct selinux_opt *opts, in init()
221 static void closef(struct selabel_handle *rec) in closef()
240 static struct selabel_lookup_rec *lookup(struct selabel_handle *rec, in lookup()
275 static void stats(struct selabel_handle __attribute__((unused)) *rec) in stats()
280 int selabel_property_init(struct selabel_handle *rec, struct selinux_opt *opts, in selabel_property_init()
Dlabel_file.c277 static int process_line(struct selabel_handle *rec, in process_line()
387 static int init(struct selabel_handle *rec, struct selinux_opt *opts, in init()
531 static void closef(struct selabel_handle *rec) in closef()
560 static struct selabel_lookup_rec *lookup(struct selabel_handle *rec, in lookup()
642 static void stats(struct selabel_handle *rec) in stats()
666 int selabel_file_init(struct selabel_handle *rec, struct selinux_opt *opts, in selabel_file_init()
Dandroid.c487 static struct selabel_handle *sehandle = NULL;
/external/libselinux/include/selinux/
Dlabel.h20 struct selabel_handle;
70 struct selabel_handle *selabel_open(unsigned int backend,
80 void selabel_close(struct selabel_handle *handle);
95 int selabel_lookup(struct selabel_handle *handle, security_context_t *con,
97 int selabel_lookup_raw(struct selabel_handle *handle, security_context_t *con,
108 void selabel_stats(struct selabel_handle *handle);
/external/yaffs2/yaffs2/utils/
Dmkyaffs2image.c40 static struct selabel_handle *sehnd;