<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:tax="http://schemas.microsoft.com/sharepoint/taxonomy/soap/" xmlns:tns="http://schemas.microsoft.com/sharepoint/soap/recordsrepository/" xmlns:spsup="http://microsoft.com/webservices/SharePointPortalServer/UserProfileService" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Malgun Gothic";
        panose-1:2 11 5 3 2 0 0 2 0 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@Malgun Gothic";
        panose-1:2 11 5 3 2 0 0 2 0 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        mso-believe-normal-left:yes;}
h1
        {mso-style-priority:9;
        mso-style-link:"Heading 1 Char";
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:24.0pt;
        font-family:"Times New Roman","serif";
        font-weight:bold;}
h3
        {mso-style-priority:9;
        mso-style-link:"Heading 3 Char";
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:13.5pt;
        font-family:"Times New Roman","serif";
        font-weight:bold;}
h4
        {mso-style-priority:9;
        mso-style-link:"Heading 4 Char";
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        font-weight:bold;}
h5
        {mso-style-priority:9;
        mso-style-link:"Heading 5 Char";
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:10.0pt;
        font-family:"Times New Roman","serif";
        font-weight:bold;}
h6
        {mso-style-priority:9;
        mso-style-link:"Heading 6 Char";
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:7.5pt;
        font-family:"Times New Roman","serif";
        font-weight:bold;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.Heading1Char
        {mso-style-name:"Heading 1 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 1";
        font-family:"Cambria","serif";
        color:#365F91;
        font-weight:bold;}
span.Heading3Char
        {mso-style-name:"Heading 3 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 3";
        font-family:"Cambria","serif";
        color:#4F81BD;
        font-weight:bold;}
span.Heading4Char
        {mso-style-name:"Heading 4 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 4";
        font-family:"Cambria","serif";
        color:#4F81BD;
        font-weight:bold;
        font-style:italic;}
span.Heading5Char
        {mso-style-name:"Heading 5 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 5";
        font-family:"Cambria","serif";
        color:#243F60;}
span.Heading6Char
        {mso-style-name:"Heading 6 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 6";
        font-family:"Cambria","serif";
        color:#243F60;
        font-style:italic;}
span.EmailStyle24
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><![if mso 9]><style>p.MsoNormal
        {margin-left:7.5pt;}
</style><![endif]><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple style='margin-left:7.5pt;margin-top:7.5pt;margin-right:7.5pt;margin-bottom:7.5pt'><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>+1 on that: if we could see your code & some test case for it, it would be way easier.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Parichay, from your description I see that its technically the application process that is performing the dlopen() call, on its own library – that should not fail, especially, since you say you’re passing full absolute path to the call.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>BTW (maybe an obvious thing, but still) did you try to get error via dlerror() function? <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Best Regards,<o:p></o:p></span></p><div><p class=MsoNormal style='mso-margin-top-alt:3.75pt;margin-right:0cm;margin-bottom:3.75pt;margin-left:0cm'><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#1F497D'><img width=188 height=29 id="Picture_x0020_1" src="cid:image004.png@01D50630.A9E79120" alt="Samsung_Logo_for_Mail_Signature"></span><span lang=PL style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:3.75pt;margin-right:0cm;margin-bottom:3.75pt;margin-left:0cm'><span lang=PL style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:3.75pt;margin-right:0cm;margin-bottom:3.75pt;margin-left:0cm'><span lang=PL style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#0689D8'>Tomasz Świerczek</span><span lang=PL style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:3.75pt;margin-right:0cm;margin-bottom:3.75pt;margin-left:0cm'><span lang=PL style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#75787B'>Samsung R&D Institute Poland</span><span lang=PL style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:3.75pt;margin-right:0cm;margin-bottom:3.75pt;margin-left:0cm'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#75787B'>Samsung Electronics<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:3.75pt;margin-right:0cm;margin-bottom:3.75pt;margin-left:0cm'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#75787B'>Office +48 22 377 95 59</span><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:3.75pt;margin-right:0cm;margin-bottom:3.75pt;margin-left:0cm'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#75787B'>Cell +48 503 135 021<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:3.75pt;margin-right:0cm;margin-bottom:3.75pt;margin-left:0cm'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#75787B'><a href="mailto:t.swierczek@samsung.com">t.swierczek@samsung.com</a></span><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#1F497D'><o:p></o:p></span></p></div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Dev [mailto:dev-bounces@lists.tizen.org] <b>On Behalf Of </b>MyungJoo Ham<br><b>Sent:</b> Wednesday, May 08, 2019 3:26 PM<br><b>To:</b> Parichay Kapoor; dev@lists.tizen.org<br><b>Subject:</b> Re: [Dev] Loading shared objects of application from platform libraries<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'>There is a correction: it's Tizen 5.5 (tizen branch), not 5.0, of Tizen:Unified, which is already "released".<o:p></o:p></span></p><p><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'> <o:p></o:p></span></p><p><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'>Parichay, you may share your code, rephrased as a minimal code along with full build script and test environment, via github.com (your personal repo). Your related code is already an open source code. It would be great if you could make a .spec file that tests what you want is accomplished or not (i.e., gbs build fails if the custom filter is not loaded). Based on this, you can easily and automatically get a regression test as well.<o:p></o:p></span></p><p><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'> <o:p></o:p></span></p><p><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'>Cheers,<o:p></o:p></span></p><p><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'>MyungJoo <o:p></o:p></span></p><p><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'>--------- <b>Original Message</b> ---------<o:p></o:p></span></p><p><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'>Hello Tomasz Swierczek<o:p></o:p></span></p><p><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'> <o:p></o:p></span></p><p><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'>Thanks for the response.<o:p></o:p></span></p><p><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'> <o:p></o:p></span></p><p><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'>1) The system component is a multimedia framework (which is the RPM) for running neural network models. This framework will support running various models for inference. So, an application can call the system component to run its own model (this is the SO file) for inference.<o:p></o:p></span></p><p><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'> <o:p></o:p></span></p><p><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'>2) Yes, the system component is an SO file along with a c-api + static library. An application can use the c-api provided to use it. No, its not a system service, just a library.<o:p></o:p></span></p><p><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'> <o:p></o:p></span></p><p><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'>3) The SO file in the application is located in the ./lib/ folder of the application. The full path of the SO in the system is /opt/usr/globalapps/org.example.application/lib/libxyz.so. The output of chsmack <path> - access="User::Pkg::org.example.application::RO"<o:p></o:p></span></p><p><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'>The current owner of the file is tizenglobalapp and the group is root. I have tried with permissions of 644 and 775, but still no success.<o:p></o:p></span></p><p><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'> <o:p></o:p></span></p><p><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'>I am using Tizen version 5.0.  <o:p></o:p></span></p><p><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'>Regarding how the SO file is loaded - currently, the SO file is a custom model file, which is being loaded using dlopen()/dlsys() in the library and loaded functions are correspondingly called.<o:p></o:p></span></p><p><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'>For the purpose of testing, the full path of the SO file is being passed to the system library from the application.<o:p></o:p></span></p><p><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'> <o:p></o:p></span></p><p><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'>Regards<o:p></o:p></span></p><p><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'>Parichay Kapoor<o:p></o:p></span></p><p><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'> <o:p></o:p></span></p><p><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'>--------- <b>Original Message</b> ---------<o:p></o:p></span></p><p><b><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'>Sender</span></b><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'> : Tomasz Swierczek <t.swierczek@samsung.com> Staff Engineer/Head of Part/Security (PLT) /SRPOL/Samsung Electronics<o:p></o:p></span></p><p><b><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'>Date</span></b><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'> : 2019-05-07 14:21 (GMT+9)<o:p></o:p></span></p><p><b><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'>Title</span></b><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'> : RE: [Dev] Loading shared objects of application from platform libraries<o:p></o:p></span></p><p><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'> <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hello Parichay, Kapoor,</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoListParagraph style='text-indent:-18.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>1)</span><span style='font-size:7.0pt;color:#1F497D'>      </span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Can you elaborate more on why a system component – which you RPM will be – should open an SO file provided by application?</span><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoListParagraph style='text-indent:-18.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>2)</span><span style='font-size:7.0pt;color:#1F497D'>      </span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>From your earlier emails from the mailing list I can see that your system component is an SO file (subject “[Dev] Adding new rpm package to tizen emulator+SDK”) – how is it run? Which process uses it? Is it a system service? If yes, which one?</span><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoListParagraph style='text-indent:-18.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>3)</span><span style='font-size:7.0pt;color:#1F497D'>      </span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Can you list up the attributes if SO file *<b>provided by the application</b>* (its location after the application is installed, with full path on the system plus output of chsmack <the path>?)</span><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>In general, depending on which Tizen version your device has (I am assuming Tizen version 3.0 or higher), there should be nothing that prevents system components (run with Smack labels User, System or System::Privileged) to manipulate application binaries (execute/read them) – most importantly, because application launcher (also a system component!) needs to be able to properly execute applications, which can freely contain some SO files of their own (like ie. org.tizen.contacts app has under its ./lib/ subdirectory where it is installed). However, in principle, running application code (considered typically unsafe) in context of a system service (which I’m assuming you’re not doing, however, I’m asking number 2. just to be sure), can possibly be a little bit dangerous.</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Also, if you say that you try to load the SO file of the app somehow and cannot do it – how exactly do you try to do it? Can you list some errors/actions taken to do it so I could help you more? For sure the system loader doesn’t have the apps/<id>/lib path of each application in its searching path – are you sure you’re trying to load the SO file from proper location?</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Best Regards,</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width="100%" style='width:100.0%;border-collapse:collapse;-ms-word-break: break-all'><tr><td style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal style='mso-margin-top-alt:3.75pt;margin-right:0cm;margin-bottom:3.75pt;margin-left:0cm'><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:3.75pt;margin-right:0cm;margin-bottom:3.75pt;margin-left:0cm'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#0689D8'>Tomasz Świerczek</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:3.75pt;margin-right:0cm;margin-bottom:3.75pt;margin-left:0cm'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#75787B'>Samsung R&D Institute Poland</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:3.75pt;margin-right:0cm;margin-bottom:3.75pt;margin-left:0cm'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#75787B'>Samsung Electronics</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:3.75pt;margin-right:0cm;margin-bottom:3.75pt;margin-left:0cm'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#75787B'>Office +48 22 377 95 59</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:3.75pt;margin-right:0cm;margin-bottom:3.75pt;margin-left:0cm'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#75787B'>Cell +48 503 135 021</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:3.75pt;margin-right:0cm;margin-bottom:3.75pt;margin-left:0cm'><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#75787B'><a href="mailto:t.swierczek@samsung.com">t.swierczek@samsung.com</a></span><o:p></o:p></p></td></tr></table><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width="100%" style='width:100.0%;border-collapse:collapse;-ms-word-break: break-all'><tr><td style='padding:.75pt .75pt .75pt .75pt'><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width="100%" style='width:100.0%;border-collapse:collapse;-ms-word-break: break-all'><tr><td style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Dev [mailto:dev-bounces@lists.tizen.org] <b>On Behalf Of </b>Parichay Kapoor <br><b>Sent:</b> Friday, April 19, 2019 12:20 PM <br><b>To:</b> dev@lists.tizen.org <br><b>Subject:</b> [Dev] Loading shared objects of application from platform libraries</span><o:p></o:p></p></td></tr></table></td></tr></table><p class=MsoNormal> <o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'>Hello<o:p></o:p></span></p><p><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'> <o:p></o:p></span></p><p><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'>We are making a new package for tizen along with its c-api for Tizen. One of the features of the package is to run a shared-object .so file provided by the application. (package loads model.so from the application and executes it)<o:p></o:p></span></p><p><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'><br>However, I am not able to load the shared object from the application in the package.<o:p></o:p></span></p><p><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'>This is most likely due tizen security policy, which does not allow loading shared objects of application from platform libraries.<o:p></o:p></span></p><p><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'> <o:p></o:p></span></p><p><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'>Is there any work around for this?<o:p></o:p></span></p><p><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'> <o:p></o:p></span></p><p><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'>Regards<o:p></o:p></span></p><p><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'>Parichay<o:p></o:p></span></p><p><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'>_______________________________________________<o:p></o:p></span></p><p><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'>Dev mailing list<o:p></o:p></span></p><p><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'>Dev@lists.tizen.org<o:p></o:p></span></p><p><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'>https://lists.tizen.org/listinfo/dev<o:p></o:p></span></p><p><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'> <o:p></o:p></span></p><p><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'> <o:p></o:p></span></p><p><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'>--<o:p></o:p></span></p><p><span style='font-size:9.0pt;font-family:"Malgun Gothic","sans-serif"'>MyungJoo Ham (<span lang=KO>함명주</span>), Ph.D.</span><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'><o:p></o:p></span></p><p><span style='font-size:9.0pt;font-family:"Malgun Gothic","sans-serif"'>On-Device Lab, Platform Team, Samsung Research.<br>Cell: +82-10-6714-2858</span><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif"'><o:p></o:p></span></p><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Malgun Gothic","sans-serif";display:none'><o:p> </o:p></span></p><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><img border=0 id="_x0000_i1026" src="http://ext.samsung.net/mail/ext/v1/external/status/update?userid=myungjoo.ham&do=bWFpbElEPTIwMTkwNTA4MTMyNTUwZXBjbXMxcDJmMWQxMjAzZjVlMjYwOGU3Zjc4YzE5OGZjM2RhMzg5YiZyZWNpcGllbnRBZGRyZXNzPWRldkBsaXN0cy50aXplbi5vcmc_"><o:p></o:p></p></div><table id=bannersignimg data-cui-lock="true" namo_lock><tr><td><p> </p>
</td></tr></table><table id=confidentialsignimg data-cui-lock="true" namo_lock><tr><td><p> <img style="border: 0px solid currentColor; border-image: none; width: 520px; height: 144px; display: inline-block;" unselectable="on" data-cui-image="true" src="cid:cafe_image_0@s-core.co.kr"> </p>
</td></tr></table></body></html><img src='http://ext.w1.samsung.net/mail/ext/v1/external/status/update?userid=t.swierczek&do=bWFpbElEPTIwMTkwNTA5MDQzMTQ1ZXVjYXMxcDE2NDgyNzczMWE0MDkyYTY1ZmE0NDJkNjI0YmU3MjFiNCZyZWNpcGllbnRBZGRyZXNzPWRldkBsaXN0cy50aXplbi5vcmc_' border=0 width=0 height=0 style='display:none'>