From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=unavailable autolearn_force=no version=3.4.0 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 7F3BC1F775; Wed, 1 Jun 2016 08:27:55 +0000 (UTC) Date: Wed, 1 Jun 2016 08:27:55 +0000 From: Eric Wong To: cmogstored-public@bogomips.org Subject: [PATCH 0/2] vfork safety fixes Message-ID: <20160601082755.GA23982@dcvr.yhbt.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline List-Id: I doubt these affect any current use cases and I haven't heard any reports, but better safe than sorry. Hopefully this makes things easier for anybody who wants to audit the code (please do so!). Eric Wong (2): stdin is always redirected to /dev/null minor vfork/fork safety fixes cloexec_from.c | 4 +-- cmogstored.c | 23 +++++++------ iostat_process.c | 100 +++++++++++++++++++++++++++++++++---------------------- process.c | 14 ++++++-- svc.c | 6 ++-- util.h | 2 +- 6 files changed, 91 insertions(+), 58 deletions(-)