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>] [day] [month] [year] [list]
Message-ID: <20231114091243.32789-1-bagasdotme@gmail.com>
Date:   Tue, 14 Nov 2023 16:12:43 +0700
From:   Bagas Sanjaya <bagasdotme@...il.com>
To:     Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        Linux Filesystems Development <linux-fsdevel@...r.kernel.org>,
        Linux KVM <kvm@...r.kernel.org>
Cc:     Alexander Viro <viro@...iv.linux.org.uk>,
        Christian Brauner <brauner@...nel.org>,
        Paolo Bonzini <pbonzini@...hat.com>,
        Bagas Sanjaya <bagasdotme@...il.com>,
        Stephen Rothwell <sfr@...b.auug.org.au>
Subject: [PATCH] fs: anon-inode: Prepend blank line separator to anon_inode_create_getfile() reasons list

Stephen Rothwell reported htmldocs warning when merging kvm tree:

Documentation/filesystems/api-summary:74: fs/anon_inodes.c:167: ERROR: Unexpected indentation.
Documentation/filesystems/api-summary:74: fs/anon_inodes.c:168: WARNING: Block quote ends without a blank line; unexpected unindent.

Fix them by prepending blank line separator to reasons list of
anon_inode_create_getfile() to render the list with correct items.

Fixes: e4c866e72563ed ("fs: Rename anon_inode_getfile_secure() and anon_inode_getfd_secure()")
Reported-by: Stephen Rothwell <sfr@...b.auug.org.au>
Closes: https://lore.kernel.org/linux-next/20231114141326.38a3dcd4@canb.auug.org.au/
Signed-off-by: Bagas Sanjaya <bagasdotme@...il.com>
---
 fs/anon_inodes.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/anon_inodes.c b/fs/anon_inodes.c
index e02f4e2e2ecede..c9c02fc3bd0176 100644
--- a/fs/anon_inodes.c
+++ b/fs/anon_inodes.c
@@ -163,6 +163,7 @@ EXPORT_SYMBOL_GPL(anon_inode_getfile);
  *
  * Create a new anonymous inode and file pair.  This can be done for two
  * reasons:
+ *
  * - for the inode to have its own security context, so that LSMs can enforce
  *   policy on the inode's creation;
  * - if the caller needs a unique inode, for example in order to customize

base-commit: de7a3ded67802c419736e63f939d58fe7efcc9bd
-- 
An old man doll... just what I always wanted! - Clara

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ