From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 91643C3A5A2 for ; Sat, 21 Sep 2019 00:22:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6A76B217F9 for ; Sat, 21 Sep 2019 00:22:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405090AbfIUAWF (ORCPT ); Fri, 20 Sep 2019 20:22:05 -0400 Received: from mu.digital-domain.net ([108.61.197.113]:39580 "EHLO mu.digital-domain.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404801AbfIUAWE (ORCPT ); Fri, 20 Sep 2019 20:22:04 -0400 X-Greylist: delayed 2375 seconds by postgrey-1.27 at vger.kernel.org; Fri, 20 Sep 2019 20:22:03 EDT Received: from kappa.digital-domain.net (kappa.digital-domain.net [IPv6:2001:8b0:36c:cc91::ac]) (authenticated bits=0) by mu.digital-domain.net (8.14.7/8.14.7) with ESMTP id x8KNgNgk025042 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 21 Sep 2019 00:42:26 +0100 From: Andrew Clayton To: mtk.manpages@gmail.com Cc: linux-man@vger.kernel.org, Andrew Clayton Subject: [PATCH 0/1] Point out the interactions of signalfd with epoll & fork Date: Sat, 21 Sep 2019 00:42:10 +0100 Message-Id: <20190920234211.57596-1-andrew@digital-domain.net> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-man-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-man@vger.kernel.org Hi Michael, I was just hit by this interaction of signalfd with epoll & fork. Basically if you add a signalfd file descriptor to epoll and then fork, you won't receive notifications for sent signals, Hopefully this addition to the man page will help avoid people head scratching in the future. I've added links and quotes to the sources for this problem in the commit message. Hopefully the text is OK. I don't really understand what is going on underneath. Cheers, Andrew Andrew Clayton (1): signalfd.2: Note about interactions with epoll & fork man2/signalfd.2 | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) -- 2.21.0