]> git.proxmox.com Git - mirror_ubuntu-artful-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)
committerSeth Forshee <seth.forshee@canonical.com>
Tue, 5 Sep 2017 12:33:10 +0000 (07:33 -0500)
commit0a06f6c8768946950474513f8e1dba311b771481
treed861f4c22c1f5c2d467a833697f2d993d22d1333
parent96c793f84031ca6f7ee128b332e06153e1ca448e
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