summaryrefslogtreecommitdiffstats
path: root/fs/ecryptfs/ecryptfs_kernel.h
diff options
context:
space:
mode:
authorTyler Hicks <tyhicks@canonical.com>2013-02-27 20:37:48 +0100
committerTyler Hicks <tyhicks@canonical.com>2013-02-27 20:41:18 +0100
commit1111eae90fb64a9d9ed133e410712f1e34fdce4a (patch)
tree6a98de6920ac6eb7e92d076edb3265bfc931be72 /fs/ecryptfs/ecryptfs_kernel.h
parentecryptfs: ecryptfs_msg_ctx_alloc_to_free(): remove kfree() redundant null check (diff)
downloadlinux-1111eae90fb64a9d9ed133e410712f1e34fdce4a.tar.xz
linux-1111eae90fb64a9d9ed133e410712f1e34fdce4a.zip
eCryptfs: Fix redundant error check on ecryptfs_find_daemon_by_euid()
It is sufficient to check the return code of ecryptfs_find_daemon_by_euid(). If it returns 0, it always sets the daemon pointer to point to a valid ecryptfs_daemon. Signed-off-by: Tyler Hicks <tyhicks@canonical.com> Reported-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'fs/ecryptfs/ecryptfs_kernel.h')
0 files changed, 0 insertions, 0 deletions