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]
Message-ID: <20130417010104.GF11541@kroah.com>
Date:	Tue, 16 Apr 2013 18:01:04 -0700
From:	Greg KH <gregkh@...uxfoundation.org>
To:	David Howells <dhowells@...hat.com>
Cc:	linux-kernel@...r.kernel.org, devel@...verdev.osuosl.org,
	Mauro Carvalho Chehab <mchehab@...hat.com>,
	linux-scsi@...r.kernel.org,
	Jerry Chuang <jerry-chuang@...ltek.com>,
	linux-wireless@...r.kernel.org,
	YAMANE Toshiaki <yamanetoshi@...il.com>,
	Maxim Mikityanskiy <maxtram95@...il.com>,
	viro@...iv.linux.org.uk, linux-fsdevel@...r.kernel.org
Subject: Re: [PATCH 14/28] proc: Supply an accessor for getting the data from
 a PDE's parent [RFC]

On Tue, Apr 16, 2013 at 07:26:46PM +0100, David Howells wrote:
> Supply an accessor function for getting the private data from the parent
> proc_dir_entry struct of the proc_dir_entry struct associated with an inode.
> 
> ReiserFS, for instance, stores the super_block pointer in the proc directory
> it makes for that super_block, and a pointer to the respective seq_file show
> function in each of the proc files in that directory.
> 
> This allows a reduction in the number of file_operations structs, open
> functions and seq_operations structs required.  The problem otherwise is that
> each show function requires two pieces of data but only has storage for one
> per PDE (and this has no release function).
> 
> Signed-off-by: David Howells <dhowells@...hat.com>
> cc: Jerry Chuang <jerry-chuang@...ltek.com>
> cc: Mauro Carvalho Chehab <mchehab@...hat.com>
> cc: Maxim Mikityanskiy <maxtram95@...il.com>
> cc: YAMANE Toshiaki <yamanetoshi@...il.com>
> cc: linux-wireless@...r.kernel.org
> cc: linux-scsi@...r.kernel.org
> cc: devel@...verdev.osuosl.org

Acked-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
--
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