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]
Message-ID: <toy5zlfprf4t5mxk7lje6kv4zrlpm6oxzcpepmmubtzvodgnc4@mrqp657zsrgy>
Date:   Wed, 4 Oct 2023 20:40:22 +0200
From:   Michal Koutný <mkoutny@...e.com>
To:     Luiz Capitulino <luizcap@...zon.com>
Cc:     tj@...nel.org, lizefan.x@...edance.com, hannes@...xchg.org,
        cgroups@...r.kernel.org, linux-kernel@...r.kernel.org,
        longman@...hat.com, kamalesh.babulal@...cle.com
Subject: Re: [RESEND v3] cgroup: add cgroup_favordynmods= command-line option

On Wed, Sep 27, 2023 at 02:25:40PM +0000, Luiz Capitulino <luizcap@...zon.com> wrote:
> We have a need of using favordynmods with cgroup v1, which doesn't support
> changing mount flags during remount. Enabling CONFIG_CGROUP_FAVOR_DYNMODS at
> build-time is not an option because we want to be able to selectively
> enable it for certain systems.
> 
> This commit addresses this by introducing the cgroup_favordynmods=
> command-line option. This option works for both cgroup v1 and v2 and also
> allows for disabling favorynmods when the kernel built with
> CONFIG_CGROUP_FAVOR_DYNMODS=y.
> 
> Also, note that when cgroup_favordynmods=true favordynmods is never
> disabled in cgroup_destroy_root().
> 
> Signed-off-by: Luiz Capitulino <luizcap@...zon.com>
> ---
>  .../admin-guide/kernel-parameters.txt          |  4 ++++
>  kernel/cgroup/cgroup.c                         | 18 ++++++++++++++----
>  2 files changed, 18 insertions(+), 4 deletions(-)

(resend too)
Reviewed-by: Michal Koutný <mkoutny@...e.com>


Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ