<html><head></head><body><div class="ydp574fd6d1yahoo-style-wrap" style="font-family: lucida console, sans-serif; font-size: 16px;"><div><div dir="ltr" data-setdir="false">The method HostQuery() tries to establish a connection to the dbus and executes a method of host module on the host. </div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">My system is containerized. Various conatiners use HostQuery() to invoke a method on the host module, which is key_ctl.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">key_ctl expects an array of strings.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">host_client instantiates a proxy object to connect to the dbus interface.<br><br>With host_client.key_ctl(), code tries to execute the host module method. </div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><br></div><div class="ydp574fd6d1signature"><div style="font-family:sans-serif;font-size:16px;"><div style="font-family:sans-serif;font-size:16px;" dir="ltr"><span><span style="color:rgb(0, 0, 0);font-family:sans-serif;font-size:16px;">~~ Thanks, Srinadh</span></span></div><div style="font-family:sans-serif;font-size:16px;"><div><br></div></div></div></div></div>
<div><br></div><div><br></div>
</div><div id="ydp78bfb35yahoo_quoted_3665611237" class="ydp78bfb35yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Tuesday, September 28, 2021, 04:42:55 PM PDT, Lawrence D'Oliveiro <ldo@geek-central.gen.nz> wrote:
</div>
<div><br></div>
<div><br></div>
<div><div dir="ltr">On Tue, 28 Sep 2021 22:50:00 +0000 (UTC), Srinadh Penugonda wrote:<div class="ydp78bfb35yqt7563236069" id="ydp78bfb35yqtfd86734"><br clear="none"><br clear="none">> I see that it is after this line and it happened while executing this<br clear="none">> line:<br clear="none">> ret = host_client.key_ctl(vals);</div><br clear="none"><br clear="none">So what is that code doing, exactly?<br clear="none"><br clear="none">(Sorry, I’m not familiar with C++ or whatever C++ libraries you might<br clear="none">be using.)<div class="ydp78bfb35yqt7563236069" id="ydp78bfb35yqtfd60404"><br clear="none"></div></div></div>
</div>
</div></body></html>