Re: [LTP] ima

2010-09-14 Thread Serge E. Hallyn
Quoting ARJIT SHARMA (joyar...@gmail.com): hi, in ima testcase all the 4 testcases are failing because of error as cannot mount security fs Why is this error coming..please tell me. Do you have CONFIG_SECURITYFS=y ? -serge

[LTP] ima

2010-09-13 Thread ARJIT SHARMA
hi, in ima testcase all the 4 testcases are failing because of error as cannot mount security fs Why is this error coming..please tell me. -- Regards, Arjit Sharma. -- Start uncovering the many

[LTP] IMA tcb policy

2009-09-29 Thread Mimi Zohar
Dependency section update. Signed-off-by: Mimi Zohar zo...@us.ibm.com Index: ltp-full-20090831/testcases/kernel/security/integrity/ima/README === --- ltp-full-20090831.orig/testcases/kernel/security/integrity/ima/README +++

Re: [LTP] [PATCH] ltp: IMA cross platform fixes

2009-07-30 Thread Subrata Modak
On Fri, 2009-07-24 at 11:51 -0400, Mimi Zohar wrote: - Replace bashisms: source, uid, substr, '' - redirection, '=='. - To create a file using 'sudo -u', some platforms require 'user' to exist. - Document verifying PCR-10 fails on Ubuntu on reboot due to kexec. - Determine if the entire

Re: [LTP] ltp: IMA cross platform fixes

2009-07-30 Thread Subrata Modak
On Thu, 2009-07-23 at 07:07 -0400, Mimi Zohar wrote: On Wed, 2009-07-22 at 20:28 -0400, Mike Frysinger wrote: On Wednesday 22 July 2009 17:20:19 Mimi Zohar wrote: testcases/kernel/security/integrity/ima/tests/ima_policy.sh - if [ ${line:0:1} != # ] ; then +

[LTP] [PATCH] ltp: IMA cross platform fixes

2009-07-24 Thread Mimi Zohar
- Replace bashisms: source, uid, substr, '' - redirection, '=='. - To create a file using 'sudo -u', some platforms require 'user' to exist. - Document verifying PCR-10 fails on Ubuntu on reboot due to kexec. - Determine if the entire boot-aggregate hash value is zero, not just the first couple

Re: [LTP] ltp: IMA cross platform fixes

2009-07-23 Thread Mimi Zohar
On Wed, 2009-07-22 at 20:28 -0400, Mike Frysinger wrote: On Wednesday 22 July 2009 17:20:19 Mimi Zohar wrote: testcases/kernel/security/integrity/ima/tests/ima_policy.sh - if [ ${line:0:1} != # ] ; then + firstch=`expr substr ${line} 1 1` + if [ ${firstch}

Re: [LTP] ltp: IMA cross platform fixes

2009-07-22 Thread Mimi Zohar
. Mimi ltp: IMA cross platform fixes - Replace bashisms: source, uid, substr, '' - redirection - To create a file using 'sudo -u', some platforms require 'user' to exist. - Document verifying PCR-10 fails on Ubuntu on reboot due to kexec. Signed-off-by: Mimi Zohar zo...@us.ibm.com Index: ltp-full

Re: [LTP] ltp: IMA cross platform fixes

2009-07-22 Thread Mike Frysinger
On Wednesday 22 July 2009 17:20:19 Mimi Zohar wrote: testcases/kernel/security/integrity/ima/tests/ima_policy.sh - if [ ${line:0:1} != # ] ; then + firstch=`expr substr ${line} 1 1` + if [ ${firstch} != # ] ; then the `expr` util, while pretty flexible,

Re: [LTP] ltp: IMA cross platform fixes

2009-07-18 Thread Garrett Cooper
On Thu, Jul 16, 2009 at 3:59 AM, Mimi Zoharzo...@linux.vnet.ibm.com wrote: - Instead of using the default platform shell, explicitly use bash. - To create a file using 'sudo -u', some platforms require 'user' to exist. - Document verifying PCR-10 fails on Ubuntu on reboot due to kexec.

Re: [LTP] ltp: IMA cross platform fixes

2009-07-18 Thread Mike Frysinger
On Thursday 16 July 2009 06:59:56 Mimi Zohar wrote: - Instead of using the default platform shell, explicitly use bash. no, please fix the script in question instead -mike signature.asc Description: This is a digitally signed message part.

Re: [LTP] ltp: IMA cross platform fixes

2009-07-18 Thread Garrett Cooper
On Sat, Jul 18, 2009 at 10:26 PM, Mike Frysingervap...@gentoo.org wrote: On Sunday 19 July 2009 01:15:04 Garrett Cooper wrote:     /bin/sh should remain the standard, but a number of changes need to happen to the .sh scripts to make them POSIX compatible, e.g. backticks execution should become

Re: [LTP] ltp: IMA cross platform fixes

2009-07-18 Thread Mike Frysinger
On Sunday 19 July 2009 01:35:22 Garrett Cooper wrote: On Sat, Jul 18, 2009 at 10:26 PM, Mike Frysingervap...@gentoo.org wrote: On Sunday 19 July 2009 01:15:04 Garrett Cooper wrote: /bin/sh should remain the standard, but a number of changes need to happen to the .sh scripts to make them

[LTP] ltp: IMA cross platform fixes

2009-07-16 Thread Mimi Zohar
- Instead of using the default platform shell, explicitly use bash. - To create a file using 'sudo -u', some platforms require 'user' to exist. - Document verifying PCR-10 fails on Ubuntu on reboot due to kexec. Signed-off-by: Mimi Zohar zo...@us.ibm.com Index:

Re: [LTP] [RFC] LTP IMA patch

2008-07-02 Thread Subrata Modak
On Tue, 2008-07-01 at 15:02 -0400, Mimi Zohar wrote: This LTP patch tests the LIM/IMA functionality. Signed-off-by: Mimi Zohar [EMAIL PROTECTED] Thanks Mimi for this wonderful patch that will be a shot-in-the-arm for LTP. The Requirements in your README gives me the impression that i really