lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 3 Nov 2017 10:56:31 -0700
From:   Tejun Heo <tj@...nel.org>
To:     Roman Gushchin <guro@...com>
Cc:     linux-kernel@...r.kernel.org, kernel-team@...com
Subject: Re: [PATCH 1/2] cgroup: export list of delegatable control files
 using sysfs

On Fri, Nov 03, 2017 at 01:46:02PM -0400, Roman Gushchin wrote:
> Delegatable cgroup v2 control files may require special handling
> (e.g. chowning), and the exact list of such files varies between
> kernel versions (and likely to be extended in the future).
> 
> To guarantee correctness of this list and simplify the life
> of userspace (systemd, first of all), let's export the list
> via /sys/kernel/cgroup/delegates pseudo-file.
> 
> Format is siple: each control file name is printed on a new line.
> Example:
>   $ cat /sys/kernel/cgroup/delegates

Generally looks good to me but I'm not sure whether "delegates" is the
right name for the file.  According to dictionary, it doesn't seem to
match too well to what we wanna mean here, which is "these files
belong to the child and should be transferred to the child when
delegating the cgroup".

Thanks.

-- 
tejun

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ