RFC AFS: Implement OpenAFS pioctls(version)s
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest17 patches 27 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/17 | VFS: Implement the pioctl() system callarch/ arch/ arch/ +17 more | +339 | 3 replies | |
| 2/17 | VFS: Implement the AFS system callarch/ arch/ arch/ +7 more | +108 | 0 replies | |
| 3/17 | VFS: Implement handling for pathless pioctlsfs/ fs/ include/ | +130 | 2 replies | |
| 4/17 | AFS: Add key request for pioctlfs/ | +20 | 0 replies | |
| 5/17 | AFS: Handle pathless pioctls aimed at AFSfs/ fs/ fs/ | +46 | 0 replies | |
| 6/17 | VFS: Define pioctl command wrappersfs/ include/ include/ | +60 | 0 replies | |
| 7/17 | AFS: Implement the PGetFid pioctlfs/ include/ include/ | +34 | 0 replies | |
| 8/17 | AFS: Implement the PGetFileCell pioctlfs/ include/ include/ | +33 | 0 replies | |
| 9/17 | AFS: Implement the PGetVolStat pioctlfs/ include/ include/ | +55 | 0 replies | |
| 10/17 | AFS: Implement the PWhereIs pioctlfs/ include/ include/ | +55 | 2 replies | |
| 11/17 | AFS: Implement the PFlushCB pioctlfs/ include/ include/ | +28 | 0 replies | |
| 12/17 | KEYS: Export lookup_user_key() and the key permission request flagsDocumentation/ include/ security/ +6 more | +67 | 0 replies | |
| 13/17 | RxRPC: Record extra data in keyinclude/ net/ net/ +1 more | +129 | 0 replies | |
| 14/17 | RxRPC: Declare the security index constants symbolicallyinclude/ net/ net/ | +12 | 0 replies | |
| 15/17 | AFS: Implement the PSetTokens pioctlfs/ fs/ fs/ +2 more | +208 | 0 replies | |
| 16/17 | KEYS: Add a function by which the contents of a keyring can be enumeratedDocumentation/ include/ security/ | +93 | 0 replies | |
| 17/17 | AFS: Implement the PGetTokens pioctlfs/ include/ include/ | +176 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [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@andromeda ~]# fs getfid /afs
File /afs (1.1.0) contained in volume 1 [root@andromeda ~]# fs whichcell /afs
File /afs lives in cell 'procyon.org.uk' [root@andromeda ~]# fs examine /afs
fs: You don't have the required access rights on '/afs' [root@andromeda ~]# 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@andromeda ~]# kinit admin/admin
Password for admin/[email protected]:
[root@andromeda ~]# klog admin
Password:
[root@andromeda ~]# keyctl show
Session Keyring
-3 --alswrv 0 0 keyring: _ses
939040040 --als--v 0 0 \_ rxrpc: [email protected]
[root@andromeda ~]# 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@andromeda ~]# aklog
[root@andromeda ~]# keyctl show
Session Keyring
-3 --alswrv 0 0 keyring: _ses
660792724 --als--v 0 0 \_ rxrpc: [email protected]
[root@andromeda ~]# tokens
Tokens held by the Cache Manager:
User's (AFS ID 10143) tokens for [email protected] [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.