Change in osmocom-bb[master]: osmocon: Call osmo_init_ignore_signals at startup

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.org
Tue Jun 12 16:16:48 UTC 2018


Pau Espin Pedrol has posted comments on this change. ( https://gerrit.osmocom.org/9562 )

Change subject: osmocon: Call osmo_init_ignore_signals at startup
......................................................................


Patch Set 1:

(1 comment)

https://gerrit.osmocom.org/#/c/9562/1/src/host/osmocon/osmocon.c
File src/host/osmocon/osmocon.c:

https://gerrit.osmocom.org/#/c/9562/1/src/host/osmocon/osmocon.c@1427
PS1, Line 1427: 	osmo_init_ignore_signals();
> Wouldn't this also ignore SIGINT? […]
osmo_init_ignore_signals doesn't ignore SIGINT:

>/*! Ignore \ref SIGPIPE, \ref SIGALRM, \ref SIGHUP and \ref >SIGIO */
>void osmo_init_ignore_signals(void)
>{
>	/* Signals that by default would terminate */
>#ifdef SIGPIPE
>	signal(SIGPIPE, SIG_IGN);
>#endif
>	signal(SIGALRM, SIG_IGN);
>#ifdef SIGHUP
>	signal(SIGHUP, &sighup_hdlr);
>#endif
>#ifdef SIGIO
>	signal(SIGIO, SIG_IGN);
>#endif
>}



-- 
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: comment
Gerrit-Change-Id: Id664ca0fadd3a8b3cf4b78bb868b3d78d2354544
Gerrit-Change-Number: 9562
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-CC: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Comment-Date: Tue, 12 Jun 2018 16:16:48 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180612/2e305963/attachment.htm>


More information about the gerrit-log mailing list