1 // Copyright (c) 2013 Intel Corporation. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef XWALK_APPLICATION_TOOLS_LINUX_XWALK_TIZEN_USER_H_
6 #define XWALK_APPLICATION_TOOLS_LINUX_XWALK_TIZEN_USER_H_
8 // When developing on Tizen, we log into the device using 'sdb' as the
9 // 'root' user, when changing to the 'app' user (the user as all Applications
10 // run) using 'su', the HOME environment variable is still set to '/root', which
11 // causes applications connecting to the session D-Bus bus to fail, for example.
12 // This is a Tizen specific workaround.
14 int xwalk_tizen_check_user_app(void);
16 #endif // XWALK_APPLICATION_TOOLS_LINUX_XWALK_TIZEN_USER_H_