aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/tcp_ipv6.c
diff options
context:
space:
mode:
authorEric W. Biederman <[email protected]>2012-05-24 00:01:20 +0000
committerEric W. Biederman <[email protected]>2012-08-15 04:47:55 +0000
commitadb37c4c67f807f16beb222028fb3ce9a354dc2b (patch)
tree59f46f84b013f1a6390c72d58fe5b158c6e4b58e /net/ipv6/tcp_ipv6.c
parentuserns: Allow USER_NS and NET simultaneously in Kconfig (diff)
downloadkernel-adb37c4c67f807f16beb222028fb3ce9a354dc2b.tar.gz
kernel-adb37c4c67f807f16beb222028fb3ce9a354dc2b.zip
userns: Make seq_file's user namespace accessible
struct file already has a user namespace associated with it in file->f_cred->user_ns, unfortunately because struct seq_file has no struct file backpointer associated with it, it is difficult to get at the user namespace in seq_file context. Therefore add a helper function seq_user_ns to return the associated user namespace and a user_ns field to struct seq_file to be used in implementing seq_user_ns. Cc: Al Viro <[email protected]> Cc: Eric Dumazet <[email protected]> Cc: KAMEZAWA Hiroyuki <[email protected]> Cc: Alexey Dobriyan <[email protected]> Acked-by: David S. Miller <[email protected]> Acked-by: Serge Hallyn <[email protected]> Signed-off-by: Eric W. Biederman <[email protected]>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions