aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorEric W. Biederman <[email protected]>2008-02-08 12:18:30 +0000
committerLinus Torvalds <[email protected]>2008-02-08 17:22:23 +0000
commitbe614086a4aff163d5aa0dc160638d1193b59cde (patch)
treef60781ec8485fa7c1a5324a9767ec762e38b7447 /fs/proc/array.c
parentproc: detect duplicate names on registration (diff)
downloadkernel-be614086a4aff163d5aa0dc160638d1193b59cde.tar.gz
kernel-be614086a4aff163d5aa0dc160638d1193b59cde.zip
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 <[email protected]> Cc: Oleg Nesterov <[email protected]> Cc: Alexey Dobriyan <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions