Received: by 10.223.185.116 with SMTP id b49csp4182433wrg; Tue, 13 Feb 2018 14:19:47 -0800 (PST) X-Google-Smtp-Source: AH8x2262EWOgV83Qp0UiWxw8qrKtyTpbxCZMQcAHz4wvwfmWj+I8y4WvRZ+KLDySGk8Qux1vMzkT X-Received: by 10.99.110.205 with SMTP id j196mr2120929pgc.54.1518560387427; Tue, 13 Feb 2018 14:19:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518560387; cv=none; d=google.com; s=arc-20160816; b=j7ypMWZ7MetG8bIwTUgWpSsY/ynoT9oojni7oSc8hxChY6OYeTOr2RhYfnd36aq71P 2OlWPHFGyRDLz/Yu4S47Ne2k3WHvAPimH/qH/7WJGSoGtHkAd0IKNAM0D9QGtYFEeOXS hOODnRrU64mq5QITFEKdADlFbMSd3EuHmmXeJCFBcU+j6D5RW7nN10ny7Ra5q8gmow00 /HeF7+6Qe1zHUMGO+zV3u57x5KiAC5mclxdawj4vb8L3+6GiG/z8gHKcLn33FHSomYJG Bi4FqZ1Cd8/5r8vFoeVPemudJ9N+q6R8J9POLjG8e/ig9WKamkcKHusijvOKrXPxj0Za xiuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=QtRHx+aacf8BlJp6pBAtx5qwpuBewLFT9m9VnHwViMw=; b=EtvZe1ADmKaE4EmbdLs6/vHjD+NwEy14foiWzdEU/phvctw78V9YaGcbVX5PHypyYL EQa2xljB9wX8keCjxchvmqpYPSqqrpox5Vb0E42FTy4NqwfocIlS+F3MyaJy1JAI49q8 gDyizWql/xYImp+E+5oYWc0Z0H1+pTE6h5lBocB2NkUWXDc5AG1fAfpFCnYre0G0h/Jk UzFo6IPhSxkwh+39l0sfRv1hicV5F+ghZAP9XJS4s9hX9/Kffs+1xS00SXC5eH3JZp/+ 7vAzr4XTaQxBkc0br35fCCHpERvb8aLz98q9/tJ+hQGeHhm8/wGo7zbHVK3krpHMTHbY +qfg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m27si2252948pfg.64.2018.02.13.14.19.32; Tue, 13 Feb 2018 14:19:47 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966012AbeBMWSd (ORCPT + 99 others); Tue, 13 Feb 2018 17:18:33 -0500 Received: from mx2.suse.de ([195.135.220.15]:59358 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965900AbeBMWSc (ORCPT ); Tue, 13 Feb 2018 17:18:32 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id A86DAAEFB; Tue, 13 Feb 2018 22:18:30 +0000 (UTC) Date: Tue, 13 Feb 2018 14:09:11 -0800 From: Davidlohr Bueso To: "Eric W. Biederman" Cc: akpm@linux-foundation.org, mhocko@kernel.org, mtk.manpages@gmail.com, keescook@chromium.org, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH -next 0/3] sysvipc: introduce STAT_ALL commands Message-ID: <20180213220911.e57z65efqx52pz53@linux-n805> References: <20180213174136.6346-1-dave@stgolabs.net> <878tbw3ak4.fsf@xmission.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <878tbw3ak4.fsf@xmission.com> User-Agent: NeoMutt/20170421 (1.8.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 13 Feb 2018, Eric W. Biederman wrote: >Davidlohr Bueso writes: > >> Hi, >> >> The following patches adds the discussed[1] new command for shm >> as well as for sems and msq as they are subject to the same discrepancies >> for ipc object permission checks between the syscall and via procfs. >> These new commands are justified in that (1) we are stuck with this >> semantics as changing syscall and procfs can break userland; and (2) some >> users can benefit from performance (for large amounts of shm segments, >> for example) from not having to parse the procfs interface. >> >> Once (if) merged, I will submit the necesary manpage updates. But I'm >> thinking something like: > >I am just going to kibitz for a moment. Nice word that, kibitz. > >Could we name this _STAT_ANY or _STAT_NOPERM instead of _STAT_ALL. > >I keep thinking a name with _ALL in it should affect all ipc opbjects of >a given type, not simply work any ipc object regardless of permissions. Yeah, and _ALL similarly makes the difference of IPC_STAT and SHM_STAT wrt the passed shmid that more adhoc. I'm going to go with _STAT_ANY. Thanks, Davidlohr