Re: [PATCH v1] netfs: use kfree_sensitive() instend of kfree() in fscache_free_cookie()

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

 



Minjie Du <duminjie@xxxxxxxx> wrote:

>  linux-cachefs@xxxxxxxxxx (moderated
>  list:FILESYSTEMS [NETFS LIBRARY]), linux-fsdevel@xxxxxxxxxxxxxxx (open
>  list:FILESYSTEMS [NETFS LIBRARY]), linux-kernel@xxxxxxxxxxxxxxx (open list)

In future, could you edit the comments out of the email addresses, please?

> key might contain private information, so use kfree_sensitive to free it.
> In fscache_free_cookie() use kfree_sensitive().

There's no real point.  These are written as filenames (possibly base64-ish
encoded) on disk by cachefiles and represent the information given to the
server to indicate the file (in afs, for example, that's cell name, volume
name, vnode number).

David





[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux