[Devel] Re: [PATCH] namespaces: uts_ns: make information visible via /proc/PID/uts directory

Andrew Morton akpm at osdl.org
Mon May 22 01:04:14 PDT 2006


Sam Vilain <sam at vilain.net> wrote:
>
> Export the UTS information to a per-process directory /proc/PID/uts,
>  that has individual nodes for hostname, ostype, etc - similar to
>  those in /proc/sys/kernel

umm, why?

>  This duplicates the approach used for /proc/PID/attr, which involves a
>  lot of duplication of similar functions.  Much room for maintenance
>  optimisation of both implementations remains.
> 
> ...
>
>   fs/proc/base.c |  236 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++

ouch.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/




More information about the Devel mailing list