Searched refs:sehandle (Results 1 – 9 of 9) sorted by relevance
/bootable/recovery/otautil/ |
D | logging.cpp | 61 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/ |
D | updater.cpp | 50 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()
|
D | install.cpp | 319 if (sehandle) { in MountFn() 320 selabel_lookup(sehandle, &secontext, mount_point.c_str(), 0755); in MountFn()
|
/bootable/recovery/updater/include/updater/ |
D | updater.h | 33 extern struct selabel_handle *sehandle;
|
/bootable/recovery/ |
D | common.h | 28 extern struct selabel_handle* sehandle;
|
D | recovery_main.cpp | 71 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()
|
D | recovery.cpp | 147 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/ |
D | logging.h | 56 void copy_logs(bool save_current_log, bool has_cache, const selabel_handle* sehandle);
|
/bootable/recovery/tests/component/ |
D | updater_test.cpp | 60 struct selabel_handle* sehandle = nullptr; variable
|