Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756534AbeAJEX4 (ORCPT + 1 other); Tue, 9 Jan 2018 23:23:56 -0500 Received: from mail-wm0-f54.google.com ([74.125.82.54]:42405 "EHLO mail-wm0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751628AbeAJEXy (ORCPT ); Tue, 9 Jan 2018 23:23:54 -0500 X-Google-Smtp-Source: ACJfBoskBgNS2bQv2ieiqlDDrFq0J1Jp4nebrITKrmwz51g2sBXqWHgGnkugyzEBN0wi7XLhQuwm2ND/wR9bsn8fR1w= MIME-Version: 1.0 Reply-To: mtk.manpages@gmail.com In-Reply-To: References: From: "Michael Kerrisk (man-pages)" Date: Wed, 10 Jan 2018 05:23:32 +0100 Message-ID: Subject: Re: cgroups(7): documenting /sys/kernel/cgroup files To: Roman Gushchin Cc: Michael Kerrisk , "Serge E. Hallyn" , Tejun Heo , linux-man , lkml , "open list:CONTROL GROUP (CGROUP)" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: Hello Roman, On 8 January 2018 at 22:11, Michael Kerrisk (man-pages) wrote: > Hello Roman, > > I wrote cgroups(7) text below to document the files added by you in > Linux 4.15. Could you let me know if the following text is okay please: > > /sys/kernel/cgroup files > /sys/kernel/cgroup/delegate (since Linux 4.15) > This file exports a list of the cgroups v2 files (one per > line) that are delegatable (i.e., whose ownership should be > changed to the user ID of the delegatee). In the future, > the set of delegatable files may change or grow, and this > file provides a way for the kernel to inform user-space > applications of which files must be delegated. As at Linux > 4.15, one sees the following when inspecting this file: > > $ cat /sys/kernel/cgroup/delegate > cgroup.procs > cgroup.subtree_control I have a question about /sys/kernel/cgroup/delegate: why does this file not list cgroup.threads, since that is also a file that (potentially) should be delegated? Cheers, Michael