Home
last modified time | relevance | path

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

/bootable/recovery/otautil/
Dlogging.cpp61 static FILE* fopen_path(const std::string& path, const char* mode, const selabel_handle* sehandle) { in fopen_path() argument
70 mkdir_recursively(path, 0777, true, sehandle); in fopen_path()
182 const selabel_handle* sehandle) { in copy_log_file() argument
183 FILE* dest_fp = fopen_path(destination, append ? "ae" : "we", sehandle); in copy_log_file()
206 void copy_logs(bool save_current_log, bool has_cache, const selabel_handle* sehandle) { in copy_logs() argument
228 copy_log_file(Paths::Get().temporary_log_file(), LOG_FILE, true, sehandle); in copy_logs()
229 copy_log_file(Paths::Get().temporary_log_file(), LAST_LOG_FILE, false, sehandle); in copy_logs()
230 copy_log_file(Paths::Get().temporary_install_file(), LAST_INSTALL_FILE, false, sehandle); in copy_logs()
/bootable/recovery/updater/
Dupdater.cpp50 struct selabel_handle *sehandle; variable
143 sehandle = selinux_android_file_context_handle(); in main()
144 selinux_android_set_sehandle(sehandle); in main()
146 if (!sehandle) { in main()
Dinstall.cpp319 if (sehandle) { in MountFn()
320 selabel_lookup(sehandle, &secontext, mount_point.c_str(), 0755); in MountFn()
/bootable/recovery/updater/include/updater/
Dupdater.h33 extern struct selabel_handle *sehandle;
/bootable/recovery/
Dcommon.h28 extern struct selabel_handle* sehandle;
Drecovery_main.cpp71 struct selabel_handle* sehandle; variable
438 sehandle = selinux_android_file_context_handle(); in main()
439 selinux_android_set_sehandle(sehandle); in main()
440 if (!sehandle) { in main()
444 SetLoggingSehandle(sehandle); in main()
Drecovery.cpp147 copy_logs(save_current_log, has_cache, sehandle); in finish_recovery()
570 copy_logs(save_current_log, has_cache, sehandle); in prompt_and_wait()
892 copy_logs(save_current_log, has_cache, sehandle); in start_recovery()
/bootable/recovery/otautil/include/otautil/
Dlogging.h56 void copy_logs(bool save_current_log, bool has_cache, const selabel_handle* sehandle);
/bootable/recovery/tests/component/
Dupdater_test.cpp60 struct selabel_handle* sehandle = nullptr; variable