From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28993 invoked by alias); 13 Mar 2015 03:59:10 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 19997 Received: (qmail 24483 invoked from network); 13 Mar 2015 03:59:08 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=Lmkq6twZmDsqVFbYSNlN7QRUhZuhyEYWD/XKzG5XXPA=; b=MGzLDm7BnRqje8E+cWuI5PfYjgr7WJ1zGTZeO3jAc7x+eZ9EHH8tHV6xZn5nwtvj05 Vy0w+L8o5Q9UhRcJLHNgGSUkcFJRE6jjA1dFthvHrYO+aIwwymkbasF+63RmlXDoiffZ v7nljwBGNxY7BJvh28dxgI4LIOBe3zpX/c1Ld0ShH6/MbqlwQf65NyTAIkKyLKfq5Wvv oFdH/75OJmvfFRJ7gR2DNbhNsCeJMC8/MbW1/qcXvY1gjqPsj0oJ5nSDnHu+HkNso4MV B0HgqdEovxuk+C85kpgYFAtB+1f/7QSfLSgec6jEw9u9mv4ntGTVJqFvTGQFAkeZUaP/ 8LUQ== X-Gm-Message-State: ALoCoQl4Smbv/3U864KGbBc93zK0bralLwDOoe1CjvlIzO2jdbJO3tQESdxtKYRbrd0DaGisBiK0 X-Received: by 10.60.144.73 with SMTP id sk9mr36841882oeb.71.1426219144185; Thu, 12 Mar 2015 20:59:04 -0700 (PDT) From: Bart Schaefer Message-Id: <150312205900.ZM16348@torch.brasslantern.com> Date: Thu, 12 Mar 2015 20:59:00 -0700 In-Reply-To: <20150312090743.GA23300@lilyforest> Comments: In reply to lilydjwg "Re: DIY ZSH" (Mar 12, 5:07pm) References: <20150312090743.GA23300@lilyforest> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-users@zsh.org Subject: Re: DIY ZSH MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Mar 12, 5:07pm, lilydjwg wrote: } } I've written a simple zsh module to call } } prctl(PR_SET_CHILD_SUBREAPER, reaping); } } so that orphaned subprocesses won't get adopted by farther processes } (e.g. init) when the shell is still there. It requires a recent Linux } kernel. This might be of interest to the people who are using zsh with the Linux PID namespace feature. Would you be interested in sharing?