Call administrative privacy manager API from admin-type user.
Change-Id: I560e14639cd36346ed056ef395199a07a13dd570
Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
pipe.claimChildEp();
pipe.wait();
pipe.claimChildEp();
pipe.wait();
- struct passwd *pw = getUserStruct(usernames.at(0));
+ struct passwd *pw = getUserStruct(usernames.at(1));
register_current_process_as_privilege_manager(pw->pw_uid, true);
//change uid to normal user
register_current_process_as_privilege_manager(pw->pw_uid, true);
//change uid to normal user