From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 3E2A91F55F for ; Fri, 8 Sep 2023 10:51:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1694170275; bh=oSvWlNy34PIYffOeokmvPIwMyTrL7CGngRNAKs4vIAw=; h=From:To:Subject:Date:From; b=h19GiWgBVxT6U2ginN6q02QT2VN7/RMko+v/xN6zXAch1S6LtJyV4uQWF+t3bfgzU 5z+DhHHKr8POYrsBnmeEUYj4ah/CyVXVV+sUYTY/DllVxMdbDRYEeyyLsOHMIET/eZ MjluCgtRRDsgMfQJf2nII0o8E72TbjsRJ+l59hIA= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/3] sig handling fixes for non-signalfd/kqueue Date: Fri, 8 Sep 2023 10:51:12 +0000 Message-ID: <20230908105115.2261125-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: The first two fix t/imapd.t getting stuck when waiting for -watch to reload after setting imap.pollInterval. This only affects non-Linux users without IO::KQueue installed. 3/3 doesn't fix anything exposed in tests, but is defense against PID typos by someone trying to trigger a reload/rescan on the toplevel -watch process. Eric Wong (3): ds: unblock signals for non-signalfd/kqueue correctly watch: set %SIG for non-signalfd/kqueue watch: reset HUP + USR1 signal handlers in children lib/PublicInbox/DS.pm | 16 ++++++++++------ lib/PublicInbox/Watch.pm | 7 ++++--- script/public-inbox-watch | 3 ++- 3 files changed, 16 insertions(+), 10 deletions(-)