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/.
Pau Espin Pedrol gerrit-no-reply at lists.osmocom.orgPau Espin Pedrol has uploaded this change for review. ( https://gerrit.osmocom.org/9562 Change subject: osmocon: Call osmo_init_ignore_signals at startup ...................................................................... osmocon: Call osmo_init_ignore_signals at startup It disables undesirable signals such as SIGPIPE, which exits the program if the client connected to osmocon closes the connection and osmocon writes to the connection fd. After SIGPIPE is disabled, write returns -EPIPE. This is required to keep osmocon running for BTS_Tests.ttcn TTCN3 tests. Change-Id: Id664ca0fadd3a8b3cf4b78bb868b3d78d2354544 --- M src/host/osmocon/osmocon.c 1 file changed, 3 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/62/9562/1 diff --git a/src/host/osmocon/osmocon.c b/src/host/osmocon/osmocon.c index 76f6037..be6e244 100644 --- a/src/host/osmocon/osmocon.c +++ b/src/host/osmocon/osmocon.c @@ -44,6 +44,7 @@ #include <osmocom/core/serial.h> #include <osmocom/core/talloc.h> #include <osmocom/core/timer.h> +#include <osmocom/core/application.h> #include <arpa/inet.h> @@ -1423,6 +1424,8 @@ dnload.beacon_interval = DEFAULT_BEACON_INTERVAL; dnload.do_chainload = 0; + osmo_init_ignore_signals(); + while ((opt = getopt(argc, argv, "d:hl:p:m:cs:i:v")) != -1) { switch (opt) { case 'p': -- To view, visit https://gerrit.osmocom.org/9562 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmocom-bb Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Id664ca0fadd3a8b3cf4b78bb868b3d78d2354544 Gerrit-Change-Number: 9562 Gerrit-PatchSet: 1 Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180612/5e252f52/attachment.htm>