Re: [PATCH v2 -mm 1/2] umh && creds: convertcall_usermodehelper_keys() to use subprocess_info->init()

From: Oleg Nesterov
Date: Fri Mar 05 2010 - 17:54:43 EST


On 02/26, David Howells wrote:
>
> I'm not going to be able to test it before I get back from skiing in a week's
> time, but it looks ackable otherwise.
>
> It can be tested by doing something like this:
>
> [root@andromeda ~]# keyctl request2 user debug:a b @s
> 102880396
> [root@andromeda ~]# keyctl show
> Session Keyring
> -3 --alswrv 0 0 keyring: _ses
> 404996112 --alswrv 0 -1 \_ keyring: _uid.0
> 102880396 --alswrv 0 0 \_ user: debug:a
> [root@andromeda ~]# keyctl print 102880396
> Debug b
>
> On a system with the keyutils package installed.

Thanks David.

Finally I reserved the machine for the testing,

[root@hp-dl360-01 ~]# keyctl request2 user debug:a b @s
623133085
[root@hp-dl360-01 ~]# keyctl show
Session Keyring
-3 --alswrv 0 0 keyring: _ses
845914766 --alswrv 0 -1 \_ keyring: _uid.0
623133085 --alswrv 0 0 \_ user: debug:a
[root@hp-dl360-01 ~]# keyctl print 623133085
Debug b

Hopefully this all is right.

Oleg.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/