[CRIU] Re: [PATCH] check: Add prctl codes test
Cyrill Gorcunov
gorcunov at openvz.org
Thu Apr 5 07:17:33 EDT 2012
On Thu, Apr 05, 2012 at 03:14:51PM +0400, Cyrill Gorcunov wrote:
> On Thu, Apr 05, 2012 at 03:12:45PM +0400, Cyrill Gorcunov wrote:
> > Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> > ---
> > cr-check.c | 31 +++++++++++++++++++++++++++++++
> > 1 files changed, 31 insertions(+), 0 deletions(-)
> >
> > diff --git a/cr-check.c b/cr-check.c
> > index 91177ec..de9ea5c 100644
> > --- a/cr-check.c
> > +++ b/cr-check.c
> > @@ -1,5 +1,9 @@
> > #include <unistd.h>
> > #include <sys/socket.h>
> > +#include <limits.h>
> > +#include <sys/types.h>
> > +#include <sys/stat.h>
> > +#include <fcntl.h>
>
> Pavel, I've added these includes in case if we decide to make
> more detailed prctl codes testing in future.
In particular setting up auxv vector is implemented in kernel as
a separate patch so I guess it need to be tested as well.
Cyrill
More information about the CRIU
mailing list