Hello,
Finally it works
I investigate in legato build first because it was less invasive that rebuilding kernel.
I followed instruction to build legato and update my board: success.
So add admin right to an application, go to
framework/daemons/linux/supervisor/app.c
find
frameworkAppList
and add your app name in this list.
In the if following if condition add the needed smack rule.
else if (0 == strcmp(frameworkAppList[i], "app.myapp"))
{
smack_SetRule(frameworkAppList[i], "w", "admin");
}
By doing that, I had my ssh tunnel.
My next step will be to provide a clean sshTunel.api in my custom framework.
thanks @jyijyi for your time and the help you provided.
It will be a pleasure for me to help anyone who’ll face the same kind of issues.