Home
last modified time | relevance | path

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

/system/core/init/
Dselinux.cpp319 char compiled_sepolicy[] = "/dev/sepolicy.XXXXXX"; in LoadSplitPolicy() local
320 unique_fd compiled_sepolicy_fd(mkostemp(compiled_sepolicy, O_CLOEXEC)); in LoadSplitPolicy()
322 PLOG(ERROR) << "Failed to create temporary file " << compiled_sepolicy; in LoadSplitPolicy()
372 "-o", compiled_sepolicy, in LoadSplitPolicy()
396 unlink(compiled_sepolicy); in LoadSplitPolicy()
399 unlink(compiled_sepolicy); in LoadSplitPolicy()
402 if (selinux_android_load_policy_from_fd(compiled_sepolicy_fd, compiled_sepolicy) < 0) { in LoadSplitPolicy()
403 LOG(ERROR) << "Failed to load SELinux policy from " << compiled_sepolicy; in LoadSplitPolicy()