Re: [PATCH] ipc: Save the ipc namespace while reading proc files.

2007-02-10 Thread Eric W. Biederman
"Serge E. Hallyn" <[EMAIL PROTECTED]> writes: > > Looks good, thanks. > > Looks like mounts already does this with the mounts ns, and we don't > need it for uts. Something to watch in any upcoming network patches > though. Which is where I got the idea. :) I did this so many times in my network

Re: [PATCH] ipc: Save the ipc namespace while reading proc files.

2007-02-10 Thread Serge E. Hallyn
Quoting Eric W. Biederman ([EMAIL PROTECTED]): > > The problem we were assuming that current->nsproxy->ipc_ns would never > change while someone has our file in /proc/sysvipc/ file open. Given > that this can change with both unshare and by passing the file > descriptor to another process that as