OpenVZ Forum


Home » Mailing lists » Devel » [PATCH] namespaces: uts_ns: make information visible via /proc/PID/uts directory
Re: [PATCH] namespaces: uts_ns: make information visible via /proc/PID/uts directory [message #3310 is a reply to message #3308] Mon, 22 May 2006 08:04 Go to previous messageGo to previous message
Andrew Morton is currently offline  Andrew Morton
Messages: 127
Registered: December 2005
Senior Member
Sam Vilain <sam@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.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [PATCH 0/9] namespaces: Introduction
Next Topic: [PATCH 1/3] proc: sysctl: rename proc_doutsstring to proc_do_uts_string
Goto Forum:
  


Current Time: Thu Aug 15 05:19:52 GMT 2024

Total time taken to generate the page: 0.02760 seconds