From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nadia Derbey Subject: Re: [RFC PATCH 6/6] IPC/sem: .write operation for /proc//semundo Date: Mon, 30 Jun 2008 10:37:24 +0200 Message-ID: <48689B44.3060706@bull.net> References: <20080625134910.487216000@bull.net> <20080625135540.271934000@bull.net> <20080627140607.GA20581@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20080627140607.GA20581-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: "Serge E. Hallyn" Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org List-Id: containers.vger.kernel.org Serge E. Hallyn wrote: > Quoting Nadia.Derbey-6ktuUTfB/bM@public.gmane.org (Nadia.Derbey-6ktuUTfB/bM@public.gmane.org): > >>PATCH [06/06] >> >>This patch introduces the .write seq operation for /proc/pid/semundo. >> >>In order to simplify the locking strategy, the write operation is only allowed >>to 'current'. >> >> >>Signed-off-by: Nadia Derbey > > > Acked-by: Serge Hallyn > > Have you written a patch to cryo in light of the new (target==current) > restriction? > Serge, Finally, after having a look at cryo code, it appeared that the semundo proc file was already recreated in "injection mode" for current task. So, nothing to be changed... except that I found a bug at the end of the undo list restoring phase. Sending the patch right now. Regards, Nadia