mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-02 20:51:50 +00:00
Refresh uid_map on package.xml change
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user