Hi all,
Regarding the last threads for fixing OSP/WRT/Core hardcoded UID issue,
I was wondering to what extent it could be possible to act as follow:
1. Assuming we already got the uid (from getsockopt with
SO_PEERCRED...), get the 'systemd --user' pid (running with the same uid)
2. We could then retrieve the entire launch environment, in the
associated /proc/<pid>/environ ...
3. Launch whatever app within such an environment (execve...)
Am I mistaken on this point? Does it seem acceptable in your opinion?
Regards,
Xavier
--
Xavier Roche
Intel OpenSource Technology Center
SkypeID : javierdelaroca1
phone : +33(0) 626 690 613
_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev