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]
Message-ID: <01000186721d17f8-ab0c64f0-a6ae-4e43-99a3-a44e6dba95b6-000000@email.amazonses.com>
Date:   Tue, 21 Feb 2023 03:55:54 +0000
From:   Hok Chun NG (Ben) <me@...benng.net>
To:     viro@...iv.linux.org.uk 
        <viro@...iv.linux.org.uk>
Cc:     Hok Chun NG (Ben) <me@...benng.net>,
        linux-fsdevel@...r.kernel.org 
        <linux-fsdevel@...r.kernel.org>,
        linux-kernel@...r.kernel.org 
        <linux-kernel@...r.kernel.org>,
        skhan@...uxfoundation.org 
        <skhan@...uxfoundation.org>
Subject: [PATCH] Update documentation of vfs_tmpfile

On function vfs_tmpfile, documentation is updated according to function signature update.

Description for 'dentry' and 'open_flag' removed.
Description for 'parentpath' and 'file' added.

Signed-off-by: Ben Hok-Chun NG <me@...benng.net>
---
 fs/namei.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/namei.c b/fs/namei.c
index 309ae6fc8c99..21261163d6d3 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -3571,9 +3571,9 @@ static int do_open(struct nameidata *nd,
 /**
  * vfs_tmpfile - create tmpfile
  * @mnt_userns:	user namespace of the mount the inode was found from
- * @dentry:	pointer to dentry of the base directory
+ * @parentpath: path to the base directory
+ * @file:  	pointer to the file struct of the new tmpfile
  * @mode:	mode of the new tmpfile
- * @open_flag:	flags
  *
  * Create a temporary file.
  *
-- 
2.34.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ