[CRIU] [PATCH 2/3] usernsd: move MAX_MSG_SIZE to namespaces.h
Tycho Andersen
tycho.andersen at canonical.com
Tue Aug 18 08:42:26 PDT 2015
On Tue, Aug 18, 2015 at 06:19:00PM +0300, Pavel Emelyanov wrote:
> On 08/14/2015 01:58 AM, Tycho Andersen wrote:
> > We'll use this size in the next patch to avoid having to do some dynamic
> > allocation.
> >
> > Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>
> > ---
> > include/namespaces.h | 2 ++
> > namespaces.c | 2 --
> > 2 files changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/include/namespaces.h b/include/namespaces.h
> > index 52d2f34..bcaeda8 100644
> > --- a/include/namespaces.h
> > +++ b/include/namespaces.h
> > @@ -95,6 +95,8 @@ typedef int (*uns_call_t)(void *arg, int fd);
> > */
> > #define UNS_FDOUT 0x2
> >
> > +#define MAX_MSG_SIZE 256
>
> Can we also have some less generic name in this generic header?
> I don't know, like MAX_UNSFD_MSG_SIZE or somehting...
Sounds good, I'll resend when I resend the other one.
More information about the CRIU
mailing list