Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
throne_tracker: remove racy workqueue and call do_update_uid() synchr…
…onously If rename system-call is preempted after ksu_update_uid_work is queued, packages.list.tmp may still exist and do_update_uid() may read outdated packages.list. Avoid this and simply call do_update_uid() synchronously. With APK caching, overhead is considerably lower. Plus, performing user I/O from a separate asynchronous workqueue is discouraged. Signed-off-by: Juhyung Park <[email protected]>
- Loading branch information