From: Eric W. Biederman Date: Fri, 8 Feb 2008 12:18:30 +0000 (-0800) Subject: proc: implement proc_single_file_operations X-Git-Tag: v2.6.25-rc1~266 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be614086a4aff163d5aa0dc160638d1193b59cde;p=pandora-kernel.git proc: implement proc_single_file_operations Currently many /proc/pid files use a crufty precursor to the current seq_file api, and they don't have direct access to the pid_namespace or the pid of for which they are displaying data. So implement proc_single_file_operations to make the seq_file routines easy to use, and to give access to the full state of the pid of we are displaying data for. Signed-off-by: Eric W. Biederman Cc: Oleg Nesterov Cc: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed