diff options
Diffstat (limited to 'lib9p/srv.c')
-rw-r--r-- | lib9p/srv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib9p/srv.c b/lib9p/srv.c index bfeb06f..6e6a91b 100644 --- a/lib9p/srv.c +++ b/lib9p/srv.c @@ -903,6 +903,7 @@ static void handle_Topen(struct _lib9p_srv_req *ctx, if (!srv_util_check_perm(ctx, &stat, perm_bits)) { lib9p_error(&ctx->ctx.basectx, LINUX_EACCES, "permission denied"); + return; } /* Actually make the call. */ |