On Sun, Oct 14, 2012 at 11:15:09PM -0700, John Johansen wrote: > Alright here is a simple alternative I think is more than sufficient
Acked-By: Steve Beattie <[email protected]> > === modified file 'tests/regression/apparmor/clone.c' > --- tests/regression/apparmor/clone.c 2010-12-20 20:29:10 +0000 > +++ tests/regression/apparmor/clone.c 2012-10-15 06:14:01 +0000 > @@ -23,6 +23,8 @@ > #include <sched.h> > #include <linux/unistd.h> > > +#define STACK_SIZE 0x8000 > + > struct option long_options[] = > { > {"newns", 0, 0, 'n'}, /* create a new namespace */ > @@ -59,7 +61,7 @@ > int waitstatus; > int c; > char buf[BUFSIZ]; > - int stack_size = PAGE_SIZE << 4; > + int stack_size = STACK_SIZE; > void *child_stack = malloc(stack_size); > int clone_flags = SIGCHLD; > > > -- Steve Beattie <[email protected]> http://NxNW.org/~steve/
signature.asc
Description: Digital signature
-- AppArmor mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
