[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090616203845.4526.60013.stgit@warthog.procyon.org.uk>
Date: Tue, 16 Jun 2009 21:38:45 +0100
From: David Howells <dhowells@...hat.com>
To: torvalds@...l.org, akpm@...ux-foundation.org
Cc: linux-kernel@...r.kernel.org, linux-afs@...ts.infradead.org,
linux-fsdevel@...r.kernel.org
Subject: [PATCH 00/17] [RFC] AFS: Implement OpenAFS pioctls(version)s
This series of patches provides a pioctl() system call, and makes kAFS use it
to provide a number of of the OpenAFS pioctl functions sufficient to allow a
number of OpenAFS userspace utilities work with kAFS.
File-requiring pioctls have been tested with:
[root@...romeda ~]# fs getfid /afs
File /afs (1.1.0) contained in volume 1
[root@...romeda ~]# fs whichcell /afs
File /afs lives in cell 'procyon.org.uk'
[root@...romeda ~]# fs examine /afs
fs: You don't have the required access rights on '/afs'
[root@...romeda ~]# fs whereis /afs
File /afs is on host altair.procyon.org.uk
Non-file-requiring pioctls for manipulating authentication tokens have been
tested with:
[root@...romeda ~]# kinit admin/admin
Password for admin/admin@...CYON.ORG.UK:
[root@...romeda ~]# klog admin
Password:
[root@...romeda ~]# keyctl show
Session Keyring
-3 --alswrv 0 0 keyring: _ses
939040040 --als--v 0 0 \_ rxrpc: afs@...CYON.ORG.UK
[root@...romeda ~]# fs examine /afs
File /afs (1.1.32558) contained in volume 1
Volume status for vid = 536870912 named
Current disk quota is 5000
Current blocks used are 2
The partition has 39007484 blocks available out of 39187776
[root@...romeda ~]# aklog
[root@...romeda ~]# keyctl show
Session Keyring
-3 --alswrv 0 0 keyring: _ses
660792724 --als--v 0 0 \_ rxrpc: afs@...CYON.ORG.UK
[root@...romeda ~]# tokens
Tokens held by the Cache Manager:
User's (AFS ID 10143) tokens for afs@...CYON.ORG.UK [Expires Jun 17 00:47]
--End of list--
The AFS keys probably should be in their own keyring which is linked to from
the session keyring.
--
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