ima: Return error code obtained from securityfs functions
authorStefan Berger <stefanb@linux.ibm.com>
Tue, 1 Feb 2022 20:37:11 +0000 (15:37 -0500)
committerMimi Zohar <zohar@linux.ibm.com>
Tue, 15 Feb 2022 16:17:01 +0000 (11:17 -0500)
commite4e071baea41e43aebd7f17ed1ffceeca6aa9868
treeae31f62c28d7ddbbabf8c1bbb309c2682cd6495e
parent18848c7191320ae1e5f0afdda7fb99f25daadc75
ima: Return error code obtained from securityfs functions

If an error occurs when creating a securityfs file, return the exact
error code to the caller.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
security/integrity/ima/ima_fs.c