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-next>] [day] [month] [year] [list]
Date:   Mon, 14 Sep 2020 01:38:24 +0000
From:   linmiaohe <linmiaohe@...wei.com>
To:     "Eric W. Biederman" <ebiederm@...ssion.com>
CC:     "christian.brauner@...ntu.com" <christian.brauner@...ntu.com>,
        "akpm@...ux-foundation.org" <akpm@...ux-foundation.org>,
        "peterz@...radead.org" <peterz@...radead.org>,
        "mingo@...nel.org" <mingo@...nel.org>,
        "christian@...lner.me" <christian@...lner.me>,
        "surenb@...gle.com" <surenb@...gle.com>,
        "areber@...hat.com" <areber@...hat.com>,
        "shakeelb@...gle.com" <shakeelb@...gle.com>,
        "cyphar@...har.com" <cyphar@...har.com>,
        "tglx@...utronix.de" <tglx@...utronix.de>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] fork: Use helper function mapping_allow_writable() in
 dup_mmap()

Eric W. Biederman <ebiederm@...ssion.com> wrote:
> Miaohe Lin <linmiaohe@...wei.com> writes:
>
>> Use helper function mapping_allow_writable() to atomic_inc 
>> i_mmap_writable.
>
>Why?
>

Because I think it's better to use the wrapper function instead of the open hard code.
Thanks.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ