summaryrefslogtreecommitdiffstats
path: root/proxy/src/gp_creds.c
diff options
context:
space:
mode:
Diffstat (limited to 'proxy/src/gp_creds.c')
-rw-r--r--proxy/src/gp_creds.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/proxy/src/gp_creds.c b/proxy/src/gp_creds.c
index cd51308..4d68afb 100644
--- a/proxy/src/gp_creds.c
+++ b/proxy/src/gp_creds.c
@@ -112,6 +112,10 @@ struct gp_service *gp_creds_match_conn(struct gssproxy_ctx *gpctx,
continue;
}
}
+ if (!gp_conn_check_selinux(conn,
+ gpctx->config->svcs[i]->selinux_ctx)) {
+ continue;
+ }
return gpctx->config->svcs[i];
}
}