[Dev] Tizen 3.0 proposal for fixing OSP/WRT/Core hard-coded UID issue

Jussi Laako jussi.laako at linux.intel.com
Mon Oct 14 13:05:45 GMT 2013


On 14.10.2013 15:34, YOUNG IK CHO wrote:
> I did not consider the environment variable seriously so far. Currently,
> $HOME and $DISPLAY is inherited from launchpad process but it should be
> set properly on the multi-user environment. Launchpad invokes _set_env()

There should be a separate launcher per user as part of the session 
already having correct environment.

> policy should be deternined also: where is $HOME directory for each user?

getpwent() can tell you this.

> This is to keep compatibility with current behavior. However, Either or
> both of  the following should be done to solve this issue:
>
> - Some platform daemon should run in the user-session.

I think this is the correct way... And conforms with overall traditional 
Unix way.



More information about the Dev mailing list