summaryrefslogtreecommitdiffstats
path: root/proxy/src/gp_proxy.h
diff options
context:
space:
mode:
authorRobbie Harwood <rharwood@redhat.com>2015-09-02 14:26:01 -0400
committerSimo Sorce <simo@redhat.com>2015-09-04 14:28:19 -0400
commitbf53dbf2201a9e87c185f7948a08a290b176234c (patch)
treea5ea03cea21ce8c0f534e2776065eff6f4391f59 /proxy/src/gp_proxy.h
parent5eb49a01362df71dab345bb276d3d2d0b40aa005 (diff)
downloadgss-proxy-bf53dbf2201a9e87c185f7948a08a290b176234c.tar.gz
gss-proxy-bf53dbf2201a9e87c185f7948a08a290b176234c.tar.xz
gss-proxy-bf53dbf2201a9e87c185f7948a08a290b176234c.zip
Extract generalized selinux context comparison function
Signed-off-by: Robbie Harwood <rharwood@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'proxy/src/gp_proxy.h')
-rw-r--r--proxy/src/gp_proxy.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/proxy/src/gp_proxy.h b/proxy/src/gp_proxy.h
index 72bbc5c..aa54ec5 100644
--- a/proxy/src/gp_proxy.h
+++ b/proxy/src/gp_proxy.h
@@ -126,6 +126,7 @@ void gp_socket_send_data(verto_ctx *vctx, struct gp_conn *conn,
struct gp_creds *gp_conn_get_creds(struct gp_conn *conn);
uid_t gp_conn_get_uid(struct gp_conn *conn);
const char *gp_conn_get_socket(struct gp_conn *conn);
+bool gp_selinux_ctx_equal(SELINUX_CTX ctx1, SELINUX_CTX ctx2);
bool gp_conn_check_selinux(struct gp_conn *conn, SELINUX_CTX ctx);
/* from gp_workers.c */