Home
last modified time | relevance | path

Searched hist:"5 d314a81" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/security/apparmor/
H A Dapparmorfs.c5d314a81 Thu Jul 13 02:39:20 CDT 2017 Dan Carpenter <dan.carpenter@oracle.com> 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>
5d314a81 Thu Jul 13 02:39:20 CDT 2017 Dan Carpenter <dan.carpenter@oracle.com> 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>