[PATCH RFC v2 3/3] tests: test cases for seccomp-assisted syscall filtering
Paul Chaignon
paul.chaignon at gmail.com
Wed Jul 31 18:27:31 UTC 2019
On Wed, Jul 31, 2019 at 06:58:12PM +0200, Eugene Syromiatnikov wrote:
> On Wed, Jul 31, 2019 at 05:36:59PM +0200, Paul Chaignon wrote:
> > diff --git a/tests/status-none-f.c b/tests/status-none-f.c
> > new file mode 100644
> > index 00000000..c4305d66
> > --- /dev/null
> > +++ b/tests/status-none-f.c
> > @@ -0,0 +1,20 @@
> > +/*
> > + * Check basic seccomp filtering with large number of traced syscalls.
> > + *
> > + * Copyright (c) 2019 The strace developers.
> > + * All rights reserved.
> > + *
> > + * SPDX-License-Identifier: GPL-2.0-or-later
> > + */
> > +
> > +#include "tests.h"
> > +#include <stdio.h>
> > +#include <unistd.h>
> > +
> > +int
> > +main(void)
> > +{
> > + printf("%-5d +++ exited with 0 +++\n", getpid());
> > + return 0;
> > +}
> > +
>
> git am fails with the following diagnostics:
>
> /home/esyr/dev/strace/.git/rebase-apply/patch:120: new blank line at EOF.
> +
> fatal: 1 line adds whitespace errors.
> Patch failed at 0003 tests: test cases for seccomp-assisted syscall filtering
Thanks, I missed that newline.
I'm guessing you have --whitespace=error or a similar setting (it warns
but applies the patch by default for me). Can you ignore this error for
now or do you want me to resend an RFC v3?
Paul
More information about the Strace-devel
mailing list