> I was thinking we might be able to hide the existence ofI have a patch that overrides the ->readdir method for /proc/.netns, so that you can no longer read the directory contents, but you still can guess one by guessing and opening files in it. Overriding the ->lookup to screw one up looks like "shadowing" technics. OTOH - consider you have the ids of existing net namespaces, but cannot read the contents on any but yours. So what? This information is useless for you. So I dropped this part of a patch. Have you ever bothered about /proc/<pid> change? We have one now. So, how are you going to filter the lookup? The problem I see - you have a process that opened the /proc/.netns/X directory (he onws that namespace) and the other one trying to do the same. The VFS layer finds the hashed dentry corresponding to this /proc/.netns/X. The only way you can prevent VFS from giving one to the second task is to override .d_revalidate method and drop that dentry.... But we've already tried to walk this way with no luck. This is not about pid namespace, this is about net namespace and tuning pids management to facilitate networking needs is not the right thing to do. Proc consists of two parts - the <pid>-s one with generated-on-the-fly entries and the static one that is represented by proc_dir_entry tree. Do you propose to mix those two? Thanks. What namespace do you mean by "non-global"? --
| Jeff Garzik | Re: Wasting our Freedom |
| Chuck Ebbert | Why do so many machines need "noapic"? |
| Mathieu Desnoyers | [RFC patch 08/18] cnt32_to_63 should use smp_rmb() |
| Richard Hughes | Add INPUT support to toshiba_acpi |
git: | |
| Jan | [PATCH/RFC] Allow writing loose objects that are corrupted in a pack file |
| Elijah Newren | Trying to use git-filter-branch to compress history by removing large, obsolete bi... |
| Thomas Koch | is gitosis secure? |
| Matthieu Moy | git push to a non-bare repository |
| frantisek holop | booting openbsd on eee without cd-rom |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Otto Moerbeek | Re: identifying sparse files and get ride of them trick available? |
| Renaud Allard | very weak bridge performance |
| Linux Kernel Mailing List | [ALSA] hda: Added new IDT codec family |
| Linux Kernel Mailing List | usb-storage: clean up unusual_devs.h |
| Linux Kernel Mailing List | USB: Enhance usage of pm_message_t |
| Linux Kernel Mailing List | resource: allow MMIO exclusivity for device drivers |
