Re: Question on nfs-utils patch for 'keyctl_invalidate'.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Steve Dickson <SteveD@xxxxxxxxxx> wrote:

> CC-ing the keyutils maintainer... David, when did that kernel 
> change go in that cause keyctl_revoke() to no longer work?

I think this is what you are referring to:

Committer: David Howells <dhowells@xxxxxxxxxx>  2012-10-02 19:24:56
Parent: 3a50597de8635cd05133bd12c95681c82fe7b878 (KEYS: Make the session and process keyrings per-thread)
Child:  f8aa23a55f813c9bddec2a6176e0e67274e6e7c1 (KEYS: Use keyring_alloc() to create special keyrings)
Branches: cred-fixes, master and many more (159)
Follows: v3.6-rc7
Precedes: fscache-fixes-20121220

> It sound like we need to do some type of #ifdef kernel version.... 

You could try keyctl_invalidate(), then if that doesn't work, call
keyctl_revoke().

David
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux