Re: [LTP] [PATCH] fix sys_prctl() returned uninitialized value

2008-05-22 Thread Andrew G. Morgan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Acked-by: Andrew G. Morgan [EMAIL PROTECTED] Cheers Andrew Andrew Morton wrote: | On Wed, 21 May 2008 22:01:17 -0700 Andrew G. Morgan [EMAIL PROTECTED] wrote: | | this is the default expected by the subsequent switch (). | | Signed-off-by: Andrew

Re: [LTP] [PATCH] fix sys_prctl() returned uninitialized value

2008-05-22 Thread Serge E. Hallyn
Quoting Andrew Morton ([EMAIL PROTECTED]): On Wed, 21 May 2008 22:01:17 -0700 Andrew G. Morgan [EMAIL PROTECTED] wrote: this is the default expected by the subsequent switch (). Signed-off-by: Andrew G. Morgan [EMAIL PROTECTED] --- kernel/sys.c |2 ++ 1 files changed, 2

[LTP] [PATCH] fix sys_prctl() returned uninitialized value

2008-05-21 Thread Shi Weihua
When we test kernel by the latest LTP(20080430) on ia64, the following failure occured: - prctl01 1 PASS : Test Passed prctl01 0 WARN : prctl() returned 2048 errno = 0 : Success prctl01 1 PASS : Test Passed prctl01 2 FAIL : Test

Re: [LTP] [PATCH] fix sys_prctl() returned uninitialized value

2008-05-21 Thread Andrew Morton
On Thu, 22 May 2008 11:19:21 +0800 Shi Weihua [EMAIL PROTECTED] wrote: When we test kernel by the latest LTP(20080430) on ia64, the following failure occured: - prctl01 1 PASS : Test Passed prctl01 0 WARN : prctl() returned 2048 errno = 0 :

Re: [LTP] [PATCH] fix sys_prctl() returned uninitialized value

2008-05-21 Thread Li Zefan
Andrew Morton wrote: On Thu, 22 May 2008 11:19:21 +0800 Shi Weihua [EMAIL PROTECTED] wrote: When we test kernel by the latest LTP(20080430) on ia64, the following failure occured: - prctl01 1 PASS : Test Passed prctl01 0 WARN : prctl()

Re: [LTP] [PATCH] fix sys_prctl() returned uninitialized value

2008-05-21 Thread Andrew Morton
On Thu, 22 May 2008 12:34:59 +0800 Li Zefan [EMAIL PROTECTED] wrote: Andrew Morton wrote: On Thu, 22 May 2008 11:19:21 +0800 Shi Weihua [EMAIL PROTECTED] wrote: When we test kernel by the latest LTP(20080430) on ia64, the following failure occured:

Re: [LTP] [PATCH] fix sys_prctl() returned uninitialized value

2008-05-21 Thread Andrew G. Morgan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Looks like I goofed here. :*( Andrew Morton wrote: | Oh dear, there are so many things wrong with this... | | - if security_task_prctl() is returning fail then why on earth | isn't it setting the error code? Its not failing, as Shi points out in

Re: [LTP] [PATCH] fix sys_prctl() returned uninitialized value

2008-05-21 Thread Andrew Morton
On Wed, 21 May 2008 22:01:17 -0700 Andrew G. Morgan [EMAIL PROTECTED] wrote: this is the default expected by the subsequent switch (). Signed-off-by: Andrew G. Morgan [EMAIL PROTECTED] --- kernel/sys.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git