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]
Date:	Wed, 21 Mar 2012 00:33:38 -0700
From:	Stephen Boyd <sboyd@...eaurora.org>
To:	H Hartley Sweeten <hartleys@...ionengravers.com>
CC:	Linux Kernel <linux-kernel@...r.kernel.org>,
	hsweeten@...ionengravers.com
Subject: Re: [PATCH RFC] debugfs: rename, export, and use default_open() as
 debugfs_default_open()

On 3/20/2012 3:47 PM, H Hartley Sweeten wrote:
> Rename default_open() in fs/debugfs/file.c to debugfs_default_open()
> and export it for use by the many debugfs open() methods that simply
> do:
>
> static int foo_open(struct inode *inode, struct file *file)
> {
> 	file->private_data = inode->i_private;
> 	return 0;
> }
>
> Signed-off-by: H Hartley Sweeten <hsweeten@...ionengravers.com>
>
> ---
>

I sent a patch to introduce simple_open() which is this function ripped
from debugfs code. I also sent a patch to fixup all the callers
(including the non-debugfs ones). Seems like we arrived at the same
thing. Andrew has picked it up and it is in -mm.

-- 
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ