modify dec file api return error code.

Signed-off-by: ligongshaospace <ligongshao2@huawei.com>
This commit is contained in:
ligongshaospace
2026-02-05 18:25:42 +08:00
parent 566af47cf8
commit 55a746a6a9
+1 -1
View File
@@ -85,7 +85,7 @@ int dec_rule_query(struct path_tree_params *params)
/* Perform actual permission check against path tree */
if (!dec_path_tree_query(tokenid, path, mode, is_persist)) {
ret = -EACCES;
ret = -EPERM;
}
if (ret) {