• topjohnwu's avatar
    Prevent Magisk database race condition · ab5fedda
    topjohnwu authored
    The database should only be accessed by a single process, which is magiskd.
    This means 'magisk --sqlite [SQL]' has to be updated to pass the SQL command to the daemon.
    In addition, open the database connection with SQLITE_OPEN_FULLMUTEX to support multithread in magiskd.
    ab5fedda
Name
Last commit
Last update
..
connect.cpp Loading commit data...
pts.cpp Loading commit data...
pts.h Loading commit data...
su.cpp Loading commit data...
su.h Loading commit data...
su_daemon.cpp Loading commit data...