[CRIU] [PATCH] make: config add test for ptrace_peeksiginfo_args

Andrew Vagin avagin at parallels.com
Wed Feb 5 11:00:39 PST 2014


On Wed, Feb 05, 2014 at 01:11:33PM -0500, Christopher Covington wrote:
> Hi Andrey,
> 
> On 02/03/2014 09:40 AM, Andrey Vagin wrote:
> 
> > diff --git a/include/ptrace.h b/include/ptrace.h
> > index 46b6def..15a56c7 100644
> > --- a/include/ptrace.h
> > +++ b/include/ptrace.h
> > @@ -19,14 +19,17 @@
> >  
> >  #ifndef PTRACE_PEEKSIGINFO
> >  #define PTRACE_PEEKSIGINFO      0x4209
> > +
> > +/* Read signals from a shared (process wide) queue */
> > +#define PTRACE_PEEKSIGINFO_SHARED       (1 << 0)
> > +#endif
> > +
> > +#ifndef CONFIG_HAS_PEEKSIGINFO_ARGS
> 
> I believe config.h has to be included for this macro to be defined.

Yes, you are right. I will fix. Thank you.

> 
> >  struct ptrace_peeksiginfo_args {
> >          __u64 off;	/* from which siginfo to start */
> >          __u32 flags;
> >          __u32 nr;	/* how may siginfos to take */
> >  };
> > -
> > -/* Read signals from a shared (process wide) queue */
> > -#define PTRACE_PEEKSIGINFO_SHARED       (1 << 0)
> >  #endif
> >  
> >  #ifndef PTRACE_GETREGSET
> 
> Thanks,
> Christopher
> 
> -- 
> Employee of Qualcomm Innovation Center, Inc.
> Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
> hosted by the Linux Foundation.


More information about the CRIU mailing list