Refresh uid_map on package.xml change

This commit is contained in:
topjohnwu
2021-09-20 04:42:06 -07:00
parent 0ab31ab0df
commit f1b6c9f4aa
4 changed files with 33 additions and 4 deletions

View File

@@ -5,6 +5,7 @@
#include <string>
#include <limits>
#include <atomic>
#include <functional>
#include <socket.hpp>
@@ -49,6 +50,10 @@ using poll_callback = void(*)(pollfd*);
void register_poll(const pollfd *pfd, poll_callback callback);
void unregister_poll(int fd, bool auto_close);
// Thread pool
void exec_task(std::function<void()> &&task);
// Logging
extern std::atomic<int> logd_fd;
int magisk_log(int prio, const char *fmt, va_list ap);
void android_logging();