Searched refs:precompiled_sepolicy_file (Results 1 – 1 of 1) sorted by relevance
300 std::string precompiled_sepolicy_file; in LoadSplitPolicy() local303 if (!use_userdebug_policy && FindPrecompiledSplitPolicy(&precompiled_sepolicy_file)) { in LoadSplitPolicy()304 unique_fd fd(open(precompiled_sepolicy_file.c_str(), O_RDONLY | O_CLOEXEC | O_BINARY)); in LoadSplitPolicy()306 if (selinux_android_load_policy_from_fd(fd, precompiled_sepolicy_file.c_str()) < 0) { in LoadSplitPolicy()307 LOG(ERROR) << "Failed to load SELinux policy from " << precompiled_sepolicy_file; in LoadSplitPolicy()