Example test usage:
* dlogutil --monitor -v threadtime SESSION*:D
* /usr/bin/sessiond --restore-only
* systemctl restart sessiond
Change-Id: Id97740e161dd13a6a0f190c3890535cb1e626063
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
LOGW("Could not ensure thread-safety of restoration, but continuing anyway because should be mostly safe regardless");
}
+ LOGW("going to sleep, uid %d", uid);
+ sleep(10);
+ LOGW("woke up, uid %d", uid);
+
try {
switch_user_subsession(uid, SUBSESSION_INITIAL_SID, last_subsession);
if (g_sessiond_context)