[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100305225243.GA21790@redhat.com>
Date: Fri, 5 Mar 2010 23:52:43 +0100
From: Oleg Nesterov <oleg@...hat.com>
To: David Howells <dhowells@...hat.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Andi Kleen <andi@...stfloor.org>,
Neil Horman <nhorman@...driver.com>,
linux-kernel@...r.kernel.org
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@...romeda ~]# keyctl request2 user debug:a b @s
> 102880396
> [root@...romeda ~]# 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@...romeda ~]# keyctl print 102880396
> Debug b
>
> On a system with the keyutils package installed.
Thanks David.
Finally I reserved the machine for the testing,
[root@...dl360-01 ~]# keyctl request2 user debug:a b @s
623133085
[root@...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@...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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists