diff options
author | David Howells <dhowells@redhat.com> | 2007-04-26 18:57:07 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-04-26 18:57:07 -0400 |
commit | 00d3b7a4533e367b0dc2812a706db8f9f071c27f (patch) | |
tree | f0b1ae0266267cb2c54cb11aa61ad0758ce9c0f5 /fs/afs/cmservice.c | |
parent | 436058a49e0fb91c74454dbee9cfee6fb53b4336 (diff) |
[AFS]: Add security support.
Add security support to the AFS filesystem. Kerberos IV tickets are added as
RxRPC keys are added to the session keyring with the klog program. open() and
other VFS operations then find this ticket with request_key() and either use
it immediately (eg: mkdir, unlink) or attach it to a file descriptor (open).
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/afs/cmservice.c')
-rw-r--r-- | fs/afs/cmservice.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/afs/cmservice.c b/fs/afs/cmservice.c index c7141175391b..c3ec57a237bf 100644 --- a/fs/afs/cmservice.c +++ b/fs/afs/cmservice.c | |||
@@ -28,6 +28,7 @@ static void afs_cm_destructor(struct afs_call *); | |||
28 | * CB.CallBack operation type | 28 | * CB.CallBack operation type |
29 | */ | 29 | */ |
30 | static const struct afs_call_type afs_SRXCBCallBack = { | 30 | static const struct afs_call_type afs_SRXCBCallBack = { |
31 | .name = "CB.CallBack", | ||
31 | .deliver = afs_deliver_cb_callback, | 32 | .deliver = afs_deliver_cb_callback, |
32 | .abort_to_error = afs_abort_to_error, | 33 | .abort_to_error = afs_abort_to_error, |
33 | .destructor = afs_cm_destructor, | 34 | .destructor = afs_cm_destructor, |
@@ -37,6 +38,7 @@ static const struct afs_call_type afs_SRXCBCallBack = { | |||
37 | * CB.InitCallBackState operation type | 38 | * CB.InitCallBackState operation type |
38 | */ | 39 | */ |
39 | static const struct afs_call_type afs_SRXCBInitCallBackState = { | 40 | static const struct afs_call_type afs_SRXCBInitCallBackState = { |
41 | .name = "CB.InitCallBackState", | ||
40 | .deliver = afs_deliver_cb_init_call_back_state, | 42 | .deliver = afs_deliver_cb_init_call_back_state, |
41 | .abort_to_error = afs_abort_to_error, | 43 | .abort_to_error = afs_abort_to_error, |
42 | .destructor = afs_cm_destructor, | 44 | .destructor = afs_cm_destructor, |
@@ -46,6 +48,7 @@ static const struct afs_call_type afs_SRXCBInitCallBackState = { | |||
46 | * CB.Probe operation type | 48 | * CB.Probe operation type |
47 | */ | 49 | */ |
48 | static const struct afs_call_type afs_SRXCBProbe = { | 50 | static const struct afs_call_type afs_SRXCBProbe = { |
51 | .name = "CB.Probe", | ||
49 | .deliver = afs_deliver_cb_probe, | 52 | .deliver = afs_deliver_cb_probe, |
50 | .abort_to_error = afs_abort_to_error, | 53 | .abort_to_error = afs_abort_to_error, |
51 | .destructor = afs_cm_destructor, | 54 | .destructor = afs_cm_destructor, |