[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>
This commit is contained in:
committed by
David S. Miller
parent
436058a49e
commit
00d3b7a453
@ -72,7 +72,10 @@ void afs_broken_callback_work(struct work_struct *work)
|
||||
return; /* someone else is dealing with it */
|
||||
|
||||
if (test_bit(AFS_VNODE_CB_BROKEN, &vnode->flags)) {
|
||||
if (afs_vnode_fetch_status(vnode) < 0)
|
||||
if (S_ISDIR(vnode->vfs_inode.i_mode))
|
||||
afs_clear_permits(vnode);
|
||||
|
||||
if (afs_vnode_fetch_status(vnode, NULL, NULL) < 0)
|
||||
goto out;
|
||||
|
||||
if (test_bit(AFS_VNODE_DELETED, &vnode->flags))
|
||||
|
Reference in New Issue
Block a user