summaryrefslogtreecommitdiffstats
path: root/security/apparmor/lsm.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-07-13 09:39:20 +0200
committerJohn Johansen <john.johansen@canonical.com>2017-09-22 22:00:57 +0200
commit5d314a81eca29b01939930c1c596dfa44937e970 (patch)
tree82c7bde1491a5cf98155111da826e073ef276c0e /security/apparmor/lsm.c
parentapparmor: Fix logical error in verify_header() (diff)
downloadlinux-5d314a81eca29b01939930c1c596dfa44937e970.tar.xz
linux-5d314a81eca29b01939930c1c596dfa44937e970.zip
apparmor: Fix an error code in aafs_create()
We accidentally forgot to set the error code on this path. It means we return NULL instead of an error pointer. I looked through a bunch of callers and I don't think it really causes a big issue, but the documentation says we're supposed to return error pointers here. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Serge Hallyn <serge@hallyn.com> Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions