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] [day] [month] [year] [list]
Message-ID: <klaavttirlzwac4ztov777srbgmxngi7uc6jngoctvceatmjxh@tt4cgqnwnu5f>
Date:   Tue, 26 Sep 2023 02:20:30 +0200
From:   Alejandro Colomar <alx@...nel.org>
To:     Luis Chamberlain <mcgrof@...nel.org>
Cc:     linux-man@...r.kernel.org, linux-api@...r.kernel.org,
        hughd@...gle.com, p.raghav@...sung.com, da.gomez@...sung.com,
        rohan.puri@...sung.com, rpuri.linux@...il.com,
        a.manzanares@...sung.com, dave@...olabs.net, yosryahmed@...gle.com,
        keescook@...omium.org, patches@...ts.linux.dev,
        linux-fsdevel@...r.kernel.org, linux-mm@...ck.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] tmpfs.5: extend with new noswap documentation

Hi Luis,

On Wed, Sep 20, 2023 at 04:50:22PM -0700, Luis Chamberlain wrote:
> Linux commit 2c6efe9cf2d7 ("shmem: add support to ignore swap")
> merged as of v6.4 added support to disable swap for tmpfs mounts.
> 
> This extends the man page to document that.
> 
> Signed-off-by: Luis Chamberlain <mcgrof@...nel.org>

Patch applied.

Thanks,
Alex

> ---
> 
> changes on v2:
> 
>  - Use semantic newlines
> 
>  man5/tmpfs.5 | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/man5/tmpfs.5 b/man5/tmpfs.5
> index 5274e632d6fd..047a17a78ee0 100644
> --- a/man5/tmpfs.5
> +++ b/man5/tmpfs.5
> @@ -103,6 +103,12 @@ suffixes like
>  .BR size ,
>  but not a % suffix.
>  .TP
> +.BR noswap "(since Linux 6.4)"
> +.\" commit 2c6efe9cf2d7841b75fe38ed1adbd41a90f51ba0
> +Disables swap.
> +Remounts must respect the original settings.
> +By default swap is enabled.
> +.TP
>  .BR mode "=\fImode\fP"
>  Set initial permissions of the root directory.
>  .TP
> -- 
> 2.39.2
> 

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ