From owner-svn-src-all@FreeBSD.ORG Mon Feb 27 08:50:05 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF6DD1065670; Mon, 27 Feb 2012 08:50:05 +0000 (UTC) (envelope-from to.my.trociny@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id C97EB8FC15; Mon, 27 Feb 2012 08:50:04 +0000 (UTC) Received: by eekd17 with SMTP id d17so1291602eek.13 for ; Mon, 27 Feb 2012 00:50:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:organization:references:sender:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=4Rv6zdW7iQPKmeOxGWIR/K3KpCm/9Hkx4+/eM/QPXpE=; b=w7aH4kzMpApmCcCD7Lo0asOKdyhv2Femc1iPejdsNrc6cqu7MbadCEQlKC8AmcVAwP iyIrkOC0qrw9fTDPFYjScEO2nJfWqwlwxnrvXwAcBsxhsW93Fa+gNYBBVm91PA5x8skJ 3W2rBTo8BIepMFtgiZTIEi9p3gCSrlKVm/1xo= Received: by 10.213.19.207 with SMTP id c15mr1412899ebb.67.1330332603731; Mon, 27 Feb 2012 00:50:03 -0800 (PST) Received: from localhost ([94.27.39.186]) by mx.google.com with ESMTPS id o49sm55647665eeb.7.2012.02.27.00.50.01 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 27 Feb 2012 00:50:02 -0800 (PST) From: Mikolaj Golub To: Pawel Jakub Dawidek Organization: TOA Ukraine References: <201202261425.q1QEPm9g069102@svn.freebsd.org> <20120227082811.GC1363@garage.freebsd.pl> Sender: Mikolaj Golub Date: Mon, 27 Feb 2012 10:49:59 +0200 In-Reply-To: <20120227082811.GC1363@garage.freebsd.pl> (Pawel Jakub Dawidek's message of "Mon, 27 Feb 2012 09:28:11 +0100") Message-ID: <864nucd5jc.fsf@in138.ua3> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Konstantin Belousov Subject: Re: svn commit: r232181 - in head/sys: kern sys X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2012 08:50:06 -0000 On Mon, 27 Feb 2012 09:28:11 +0100 Pawel Jakub Dawidek wrote: PJD> On Sun, Feb 26, 2012 at 02:25:48PM +0000, Mikolaj Golub wrote: >> Author: trociny >> Date: Sun Feb 26 14:25:48 2012 >> New Revision: 232181 >> URL: http://svn.freebsd.org/changeset/base/232181 >> >> Log: >> Add sysctl to retrieve or set umask of another process. PJD> "set umask of another process"? This seems... weird. What's the purpose PJD> of this change? When we were discussing this with Kostik and Robert, and I asked if it could be useful to have the sysctl rw, Kostik described a real situation when he had had to change umask of another process: umask had not been set properly on an aplication start but it could not be restarted until the end of the day. Kostik was able to fix it using gdb but having an easier way looked useful. -- Mikolaj Golub