On Tue, Oct 26, 2010 at 1:04 AM, Caspar Zhang <[email protected]> wrote:
> Hi all,
>
> on s390x systems, a string like "MyKey" is not a valid argument
> for keyctl syscall function, I substitute the string by number
> to make keyctl testcase work on s390x systems.
>
> use "MyKey":
>
> keyctl01    1  TPASS  :  KEYCTL_GET_KEYRING_ID succeeded
> keyctl01    2  TFAIL  :  KEYCTL_REVOKE got unexpected errno: 
> errno=EINVAL(22): Invalid argument
>
> use a number:
>
> keyctl01    1  TPASS  :  KEYCTL_GET_KEYRING_ID succeeded
> keyctl01    2  TPASS  :  KEYCTL_REVOKE got expected errno: errno=???(126): 
> Required key not available
>
> Signed-off-by: Caspar Zhang <[email protected]>

    Looks like a kernel bug to me:
http://manpages.ubuntu.com/manpages/lucid/man3/keyctl_revoke.3.html .
EINVAL isn't listed in the manpage.
Thanks,
-Garrett

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to