Change in osmo-gsm-tester[master]: ms: Use the new API to pass credentials to the event server

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Holger Freyther gerrit-no-reply at lists.osmocom.org
Mon Jun 18 19:29:58 UTC 2018


Holger Freyther has posted comments on this change. ( https://gerrit.osmocom.org/9663 )

Change subject: ms: Use the new API to pass credentials to the event server
......................................................................


Patch Set 1:

> I don't really understand the purpose of this commit. You seem to
 > be changing code to use recvmsg to get the sender address, but then
 > I only see you are passing the address and doing nothing useful
 > with it.

What this will give us:

 * Bi-directional communication between mobile and the testcase
 * By using autobind not having to pick a unique filename

It's true that the test is not making use of it at all. Bi-directional
communication will be needed to implement your idea of a o-fono
like interface (without having to have 10k connections).

 > Then, you start using this new API unix_passcred, which enables
 > being able to send credentials over the socket (not sending them),
 > but I don't see any new code or changed code actually sending the
 > credentials.

The side-effect of this socket option is the autobinding. If one commentt
it out then the event_server will get 'None' as remote address.


-- 
To view, visit https://gerrit.osmocom.org/9663
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie9b9ac6267f40345baf7dbb3becaecf264a5df5f
Gerrit-Change-Number: 9663
Gerrit-PatchSet: 1
Gerrit-Owner: Holger Freyther <holger at freyther.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Holger Freyther <holger at freyther.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Comment-Date: Mon, 18 Jun 2018 19:29:58 +0000
Gerrit-HasComments: No
Gerrit-HasLabels: No
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180618/f16bc8ac/attachment.htm>


More information about the gerrit-log mailing list