]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
UBUNTU: SAUCE: cred: Add clone_cred() interface
authorSeth Forshee <seth.forshee@canonical.com>
Tue, 19 Jan 2016 16:20:43 +0000 (10:20 -0600)
committerTim Gardner <tim.gardner@canonical.com>
Wed, 6 Apr 2016 09:20:59 +0000 (10:20 +0100)
commit30c0ff60defac84439cd4b5e222a247a5d4caf47
treeb749a1e7595cb9db27d8df7801e924c9a2bc43e2
parent2ae96ab1b9807e8d8c85c9180140f19a9611a87d
UBUNTU: SAUCE: cred: Add clone_cred() interface

This interface returns a new set of credentials which is an exact
copy of another set. Also update prepare_kernel_cred() to use
this function instead of duplicating code.

BugLink: http://bugs.launchpad.net/bugs/1531747
BugLink: http://bugs.launchpad.net/bugs/1534961
BugLink: http://bugs.launchpad.net/bugs/1535150
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Andy Whitcroft <apw@canonical.com>
include/linux/cred.h
kernel/cred.c