From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031019Ab2CFUQN (ORCPT ); Tue, 6 Mar 2012 15:16:13 -0500 Received: from mail-bk0-f46.google.com ([209.85.214.46]:48413 "EHLO mail-bk0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030958Ab2CFUQK (ORCPT ); Tue, 6 Mar 2012 15:16:10 -0500 Authentication-Results: mr.google.com; spf=pass (google.com: domain of gorcunov@gmail.com designates 10.204.133.196 as permitted sender) smtp.mail=gorcunov@gmail.com; dkim=pass header.i=gorcunov@gmail.com Date: Wed, 7 Mar 2012 00:16:06 +0400 From: Cyrill Gorcunov To: "Michael Kerrisk (man-pages)" Cc: Andrew Morton , Pavel Emelyanov , linux-man@vger.kernel.org, LKML , Tejun Heo Subject: Re: [PATCH 1/2] prctl: Add PR_SET_MM option description Message-ID: <20120306201606.GA16830@moon> References: <1330518197-12825-1-git-send-email-gorcunov@openvz.org> <1330518197-12825-2-git-send-email-gorcunov@openvz.org> <20120306182210.GJ29367@moon> <20120306200111.GM29367@moon> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 07, 2012 at 09:07:38AM +1300, Michael Kerrisk (man-pages) wrote: > >> > >> It would make sense if the capability requirements were finalized > >> before 3.3 is released. Changing them after 3.3 creates (at least a > >> little) pain for userspace. > >> > > > > OK. I'll update and send a patch out. > > Take a look at http://man7.org/linux/man-pages/man7/capabilities.7.html > > The two most obvious alternatives are CAP_SYS_RESOURCE and > CAP_SYS_NICE. Maybe CAP_SYS_NICE is better? I say this because of the > (slight) similarity to existing operations in the CAP_SYS_NICE list. > Well, dunno Michael, CAP_SYS_RESOURCE looks a bit metter for me since the process is modifying own 'resources' (in term of what it owns). Maybe Andrew or Tejun have something to say? Cyrill