Re: [LTP] ltp_clone alignment issues.

2010-10-04 Thread Carmelo AMOROSO
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/4/2010 3:28 PM, Garrett Cooper wrote: > On Mon, Oct 4, 2010 at 6:04 AM, Carmelo AMOROSO > wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > On 10/1/2010 6:06 AM, Hannu Heikkinen wrote: > >> On 30/09/10 12:42 +0200, Carme

[LTP] network-stress tests

2010-10-04 Thread ARJIT SHARMA
Hi, I m running LTP on arm armv7 architechture. I have configured my system acoording to the requiremeints of network-stress testcases as mentioned in README and INSTALL(section 6) files. but still the problem in same ie. LHOST_HWADDRS is not set. :( please tell me why this

Re: [LTP] ltp_clone alignment issues.

2010-10-04 Thread Garrett Cooper
On Mon, Oct 4, 2010 at 1:00 PM, Hannu Heikkinen wrote: > On 04/10/10 06:28 -0700, Garrett Cooper wrote: >> >>     I believe this is already handled to some degree with the clone >> testcases. If not that should be added and I'll review patches which >> add this testing to LTP. >>     On a semi-unr

Re: [LTP] ltp_clone alignment issues.

2010-10-04 Thread Hannu Heikkinen
On 04/10/10 06:28 -0700, Garrett Cooper wrote: > > I believe this is already handled to some degree with the clone > testcases. If not that should be added and I'll review patches which > add this testing to LTP. > On a semi-unrelated note could you guys please test out the > attached patc

Re: [LTP] ltp_clone alignment issues.

2010-10-04 Thread Hannu Heikkinen
On 04/10/10 06:28 -0700, Garrett Cooper wrote: > On Mon, Oct 4, 2010 at 6:04 AM, Carmelo AMOROSO > wrote: -clip- > > > > Hannu, > > I don't think that it is a good to force the alignment; we could need to > > write a test case that calls LTP_clone with an unaligned stack just to > > test the beha

Re: [LTP] ltp_clone alignment issues.

2010-10-04 Thread Hannu Heikkinen
On 04/10/10 15:04 +0200, Carmelo AMOROSO wrote: -clip- > > Hannu, > I don't think that it is a good to force the alignment; we could need to > write a test case that calls LTP_clone with an unaligned stack just to > test the behavior of the clone implementation. > > Likely, it should be useful to

Re: [LTP] [PATCH] securebits: add secure_keepcaps testcases

2010-10-04 Thread Serge E. Hallyn
Quoting Garrett Cooper (yaneg...@gmail.com): > On Mon, Oct 4, 2010 at 7:06 AM, Serge E. Hallyn > wrote: > > Quoting Garrett Cooper (yaneg...@gmail.com): > >> Hi Serge, > >>     Some comments about your provided code. > > > > Thanks. > > > >> > +AC_DEFUN([LTP_CHECK_SECUREBITS], > >> > +AC_CHECK_HEA

Re: [LTP] [PATCH] securebits: add secure_keepcaps testcases

2010-10-04 Thread Garrett Cooper
On Mon, Oct 4, 2010 at 7:06 AM, Serge E. Hallyn wrote: > Quoting Garrett Cooper (yaneg...@gmail.com): >> Hi Serge, >>     Some comments about your provided code. > > Thanks. > >> > +AC_DEFUN([LTP_CHECK_SECUREBITS], >> > +AC_CHECK_HEADERS(linux/securebits.h,[ >> > +       LTP_SECUREBITS=yes >> > +]

Re: [LTP] [PATCH] securebits: add secure_keepcaps testcases

2010-10-04 Thread Serge E. Hallyn
Quoting Garrett Cooper (yaneg...@gmail.com): > Hi Serge, > Some comments about your provided code. Thanks. > > +AC_DEFUN([LTP_CHECK_SECUREBITS], > > +AC_CHECK_HEADERS(linux/securebits.h,[ > > +       LTP_SECUREBITS=yes > > +]) > > +) > > Some checks should probably be added for versioning as

[LTP] patch to define PTRACE_KILL and PTRACE_CONT

2010-10-04 Thread Yi Xu
Hi, this patch solves compiling error that appears with certain GCC version. Regards, Yi -- Yi Xu y...@suse.de SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) --- testcases/kernel/syscalls/ptrace/ptrace.h.orig 2010-09-13 15:46:24.145591000 +0200 +++

Re: [LTP] [PATCH] Compilation Error Fixed in filecaps.

2010-10-04 Thread Subrata Modak
Hi Sravan, 1) File c.c is present in both git and the last August LTP release as well 2) File c.c is building well on my Fedora 13 PPC64 Box: # uname -a Linux 2.6.35.4 #2 SMP Tue Sep 28 16:07:27 IST 2010 ppc64 ppc64 ppc64 GNU/Linux # cat /etc/issue Fedora release 13 (Goddard) Kernel \r on an \m (\

Re: [LTP] [PATCH] securebits: add secure_keepcaps testcases

2010-10-04 Thread Serge E. Hallyn
Quoting Subrata Modak (subr...@linux.vnet.ibm.com): > > Looks fine to be,i just need a little documentation file which would > > say: > > What securebits is all about (some pointers/links)? Any specific > > configuration required to run these tests, etc ? > > Serge, > > Can you also provide m

Re: [LTP] [PATCH] securebits: add secure_keepcaps testcases

2010-10-04 Thread Subrata Modak
On Wed, 2010-09-29 at 20:32 +0530, Subrata Modak wrote: > On Wed, 2010-09-29 at 08:56 -0500, Serge E. Hallyn wrote: > > This adds basic tests of the keepcaps securebits settings. > > > > Lots more securebits tests to come (see my email from one > > or 1.5 years ago, and, heck, write them if you h

Re: [LTP] patch to define PTRACE_KILL and PTRACE_CONT

2010-10-04 Thread Garrett Cooper
On Mon, Oct 4, 2010 at 6:08 AM, Yi Xu wrote: > Hi, > > this patch solves compiling error that appears with certain GCC version. Hi Yi, You most likely need to fix your headers or your compiler: [gcoo...@bayonetta /scratch/ltp]$ grep -r __PTRACE_KILL__ . [gcoo...@bayonetta /scratch/ltp]$ grep -r

Re: [LTP] ltp_clone alignment issues.

2010-10-04 Thread Garrett Cooper
On Mon, Oct 4, 2010 at 6:04 AM, Carmelo AMOROSO wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 10/1/2010 6:06 AM, Hannu Heikkinen wrote: >> On 30/09/10 12:42 +0200, Carmelo AMOROSO wrote: >> On 9/30/2010 3:31 PM, Hannu Heikkinen wrote: >>> On 29/09/10 15:34 +0200, ext Carmelo AMOR

Re: [LTP] [PATCH] Compilation Error Fixed in filecaps.

2010-10-04 Thread Serge E. Hallyn
Quoting Garrett Cooper (yaneg...@gmail.com): > So I'm not sure what Serge was looking at... Not me. -serge -- Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applic

Re: [LTP] ltp_clone alignment issues.

2010-10-04 Thread Carmelo AMOROSO
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/1/2010 6:06 AM, Hannu Heikkinen wrote: > On 30/09/10 12:42 +0200, Carmelo AMOROSO wrote: > On 9/30/2010 3:31 PM, Hannu Heikkinen wrote: >> On 29/09/10 15:34 +0200, ext Carmelo AMOROSO wrote: >> > -BEGIN PGP SIGNED MESSAGE- >> > Hash: SHA1

Re: [LTP] [PATCH] securebits: add secure_keepcaps testcases

2010-10-04 Thread Garrett Cooper
Hi Serge, Some comments about your provided code. Thanks! -Garrett On Wed, Sep 29, 2010 at 6:56 AM, Serge E. Hallyn wrote: > This adds basic tests of the keepcaps securebits settings. > > Lots more securebits tests to come (see my email from one > or 1.5 years ago, and, heck, write them if yo