Messages in this thread |  | | | Date | Fri, 5 Mar 2010 23:52:43 +0100 | | From | Oleg Nesterov <> | | Subject | Re: [PATCH v2 -mm 1/2] umh && creds: convert call_usermodehelper_keys() to use subprocess_info->init() |
| |
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.
|  |