/third_party/selinux/libselinux/src/ |
D | label_internal.h | 26 int selabel_file_init(struct selabel_handle *rec, 29 int selabel_media_init(struct selabel_handle *rec, 32 int selabel_x_init(struct selabel_handle *rec, 35 int selabel_db_init(struct selabel_handle *rec, 38 int selabel_property_init(struct selabel_handle *rec, 41 int selabel_service_init(struct selabel_handle *rec, 78 struct selabel_handle { struct 84 struct selabel_lookup_rec *(*func_lookup) (struct selabel_handle *h, argument 86 void (*func_close) (struct selabel_handle *h); argument 87 void (*func_stats) (struct selabel_handle *h); argument [all …]
|
D | label.c | 44 typedef int (*selabel_initfunc)(struct selabel_handle *rec, 124 int selabel_validate(struct selabel_handle *rec, in selabel_validate() 142 static int selabel_fini(struct selabel_handle *rec, in selabel_fini() 157 selabel_lookup_common(struct selabel_handle *rec, int translating, in selabel_lookup_common() 178 selabel_lookup_bm_common(struct selabel_handle *rec, int translating, in selabel_lookup_bm_common() 202 struct selabel_handle *selabel_open(unsigned int backend, in selabel_open() 206 struct selabel_handle *rec = NULL; in selabel_open() 218 rec = (struct selabel_handle *)malloc(sizeof(*rec)); in selabel_open() 238 int selabel_lookup(struct selabel_handle *rec, char **con, in selabel_lookup() 251 int selabel_lookup_raw(struct selabel_handle *rec, char **con, in selabel_lookup_raw() [all …]
|
D | label_media.c | 34 unsigned lineno, struct selabel_handle *rec) in process_line() 70 static int init(struct selabel_handle *rec, const struct selinux_opt *opts, in init() 152 static void close(struct selabel_handle *rec) in close() 171 static struct selabel_lookup_rec *lookup(struct selabel_handle *rec, in lookup() 196 static void stats(struct selabel_handle *rec) in stats() 208 int selabel_media_init(struct selabel_handle *rec, in selabel_media_init()
|
D | label_backends_android.c | 83 static int process_line(struct selabel_handle *rec, in process_line() 145 static int init(struct selabel_handle *rec, const struct selinux_opt *opts, in init() 233 static void closef(struct selabel_handle *rec) in closef() 252 static struct selabel_lookup_rec *property_lookup(struct selabel_handle *rec, in property_lookup() 287 static struct selabel_lookup_rec *service_lookup(struct selabel_handle *rec, in service_lookup() 319 static void stats(struct selabel_handle __attribute__((unused)) *rec) in stats() 324 int selabel_property_init(struct selabel_handle *rec, in selabel_property_init() 342 int selabel_service_init(struct selabel_handle *rec, in selabel_service_init()
|
D | label_x.c | 36 unsigned lineno, struct selabel_handle *rec) in process_line() 97 static int init(struct selabel_handle *rec, const struct selinux_opt *opts, in init() 179 static void close(struct selabel_handle *rec) in close() 198 static struct selabel_lookup_rec *lookup(struct selabel_handle *rec, in lookup() 222 static void stats(struct selabel_handle *rec) in stats() 234 int selabel_x_init(struct selabel_handle *rec, const struct selinux_opt *opts, in selabel_x_init()
|
D | label_file.c | 98 struct selabel_handle *rec, const char *path) in process_text_file() 116 static int load_mmap(FILE *fp, size_t len, struct selabel_handle *rec, in load_mmap() 533 struct selabel_handle *rec, in process_file() 710 static void closef(struct selabel_handle *rec); 712 static int init(struct selabel_handle *rec, const struct selinux_opt *opts, in init() 807 static void closef(struct selabel_handle *rec) in closef() 855 static struct spec **lookup_all(struct selabel_handle *rec, in lookup_all() 993 static struct spec *lookup_common(struct selabel_handle *rec, in lookup_common() 1011 static bool get_digests_all_partial_matches(struct selabel_handle *rec, in get_digests_all_partial_matches() 1059 static bool hash_all_partial_matches(struct selabel_handle *rec, const char *key, uint8_t *digest) in hash_all_partial_matches() [all …]
|
D | label_db.c | 175 db_close(struct selabel_handle *rec) in db_close() 194 db_lookup(struct selabel_handle *rec, const char *key, int type) in db_lookup() 221 db_stats(struct selabel_handle *rec) in db_stats() 238 struct selabel_handle *rec) in db_init() 353 int selabel_db_init(struct selabel_handle *rec, in selabel_db_init()
|
D | selinux_restorecon.c | 44 static struct selabel_handle *fc_sehandle = NULL; 89 struct selabel_handle *sehandle = NULL; in restorecon_init() 1167 void selinux_restorecon_set_sehandle(struct selabel_handle *hndl) in selinux_restorecon_set_sehandle() 1190 struct selabel_handle *selinux_restorecon_default_handle(void) in selinux_restorecon_default_handle() 1192 struct selabel_handle *sehandle; in selinux_restorecon_default_handle()
|
D | matchpathcon.c | 38 int compat_validate(struct selabel_handle *rec, in compat_validate() 68 static __thread struct selabel_handle *hnd;
|
D | label_file.h | 434 static inline int process_line(struct selabel_handle *rec, in process_line()
|
/third_party/selinux/libselinux/include/selinux/ |
D | label.h | 22 struct selabel_handle; 76 extern struct selabel_handle *selabel_open(unsigned int backend, 87 extern void selabel_close(struct selabel_handle *handle); 102 extern int selabel_lookup(struct selabel_handle *handle, char **con, 104 extern int selabel_lookup_raw(struct selabel_handle *handle, char **con, 107 extern bool selabel_partial_match(struct selabel_handle *handle, const char *key); 109 extern bool selabel_get_digests_all_partial_matches(struct selabel_handle *rec, 114 extern bool selabel_hash_all_partial_matches(struct selabel_handle *rec, 117 extern int selabel_lookup_best_match(struct selabel_handle *rec, char **con, 119 extern int selabel_lookup_best_match_raw(struct selabel_handle *rec, char **con, [all …]
|
D | restorecon.h | 118 extern void selinux_restorecon_set_sehandle(struct selabel_handle *hndl); 128 extern struct selabel_handle *selinux_restorecon_default_handle(void);
|
/third_party/selinux/libselinux/utils/ |
D | matchpathcon.c | 21 static int printmatchpathcon(struct selabel_handle *hnd, const char *path, int header, int mode, in… in printmatchpathcon() 80 struct selabel_handle *hnd; in main()
|
D | sefcontext_compile.c | 32 static int process_file(struct selabel_handle *rec, const char *filename) in process_file() 305 struct selabel_handle *rec = NULL; in main() 359 rec = (struct selabel_handle *)calloc(1, sizeof(*rec)); in main()
|
D | selabel_partial_match.c | 33 struct selabel_handle *hnd; in main()
|
D | selabel_lookup.c | 38 struct selabel_handle *hnd; in main()
|
D | selabel_lookup_best_match.c | 60 struct selabel_handle *hnd; in main()
|
D | selabel_get_digests_all_partial_matches.c | 42 struct selabel_handle *hnd; in main()
|
D | selabel_digest.c | 72 struct selabel_handle *hnd; in main()
|
/third_party/e2fsprogs/contrib/android/ |
D | perms.h | 32 struct selabel_handle;
|
D | perms.c | 25 struct selabel_handle *sehnd; 291 struct selabel_handle *sehnd, in __android_configure_fs() 337 struct selabel_handle *sehnd = NULL; in android_configure_fs()
|
/third_party/f2fs-tools/fsck/ |
D | fsck.h | 147 struct selabel_handle;
|
D | sload.c | 25 static struct selabel_handle *sehnd = NULL;
|
/third_party/eudev/src/shared/ |
D | selinux-util.c | 44 static struct selabel_handle *label_hnd = NULL;
|