Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6ba8ed79 authored by Eric W. Biederman's avatar Eric W. Biederman
Browse files

proc: Have net show up under /proc/<tgid>/task/<tid>



Network namespaces are per task so it make sense for them to show up
in the task directory.

Signed-off-by: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
parent 65b38851
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2895,6 +2895,9 @@ static const struct pid_entry tid_base_stuff[] = {
	DIR("fd",        S_IRUSR|S_IXUSR, proc_fd_inode_operations, proc_fd_operations),
	DIR("fdinfo",    S_IRUSR|S_IXUSR, proc_fdinfo_inode_operations, proc_fdinfo_operations),
	DIR("ns",	 S_IRUSR|S_IXUGO, proc_ns_dir_inode_operations, proc_ns_dir_operations),
#ifdef CONFIG_NET
	DIR("net",        S_IRUGO|S_IXUGO, proc_net_inode_operations, proc_net_operations),
#endif
	REG("environ",   S_IRUSR, proc_environ_operations),
	INF("auxv",      S_IRUSR, proc_pid_auxv),
	ONE("status",    S_IRUGO, proc_pid_status),