From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Serge E. Hallyn" Subject: Re: [PATCH 3/3] Stub implementation of IPC namespace c/r (v2) Date: Thu, 2 Apr 2009 13:06:59 -0500 Message-ID: <20090402180659.GD21178@us.ibm.com> References: <1238533107-11796-1-git-send-email-danms@us.ibm.com> <1238533107-11796-4-git-send-email-danms@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1238533107-11796-4-git-send-email-danms-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: Dan Smith Cc: containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org List-Id: containers.vger.kernel.org Quoting Dan Smith (danms-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org): > Changes: > - Update to match UTS changes > > Signed-off-by: Dan Smith Acked-by: Serge Hallyn Oren, I will wait until you rebase your IPC patches on top of these patches before reviewing them more, if that's ok. > +static int cr_write_ipcns(struct cr_ctx *ctx, struct ipc_namespace *ipc) > +{ > + struct cr_hdr h; > + struct cr_hdr_ipcns *hh = cr_hbuf_get(ctx, sizeof(*hh)); > + int ret; Note that Oren has taken to checking the return values of all his cr_hbuf_gets()s... -serge