Move things to the correct location

This commit is contained in:
topjohnwu
2022-05-30 02:09:07 -07:00
parent c29636c452
commit 2e51fe20a1
7 changed files with 16 additions and 20 deletions

View File

@@ -6,16 +6,10 @@
#include <string_view>
#include <bitset>
#define UID_ROOT 0
#define UID_SHELL 2000
#define DISALLOW_COPY_AND_MOVE(clazz) \
clazz(const clazz &) = delete; \
clazz(clazz &&) = delete;
#define to_app_id(uid) (uid % 100000)
#define to_user_id(uid) (uid / 100000)
class mutex_guard {
DISALLOW_COPY_AND_MOVE(mutex_guard)
public: